OSUnmapMemory

Syntax

#include <cafe/os.h>

BOOL OSUnmapMemory(va_t va, size_t size);

Parameters

va The starting address of the range.
size The size of the range.

Return Values

Returns TRUE on success, or FALSE otherwise.

Description

Unmaps a memory-mapping previously mapped through OSMapMemory. The range does not have to correspond to a range previously allocated through a single invocation of OSMapMemory; it might be a range that covers all or part of one or more such memory-mappings.

Do Not Call From

None.

See Also

OSGetMemBound
OSGetPageSize
OSGetMapVirtAddrRange
OSGetDataPhysAddrRange
OSGetAvailPhysAddrRange
OSAllocVirtAddr
OSFreeVirtAddr
OSMapMemory

Revision History

2013/05/08 Automated cleanup pass.
2012/05/25 Match actual header.
2011/12/01 Initial version.


CONFIDENTIAL