|
wut v1.9.1
Wii U Toolchain
|

Typedefs | |
| typedef enum OSMemoryType | OSMemoryType |
| typedef enum OSSharedDataType | OSSharedDataType |
Enumerations | |
| enum | OSMemoryType { OS_MEM1 = 1 , OS_MEM2 = 2 } |
| enum | OSSharedDataType { OS_SHAREDDATATYPE_FONT_CHINESE = 0 , OS_SHAREDDATATYPE_FONT_KOREAN = 1 , OS_SHAREDDATATYPE_FONT_STANDARD = 2 , OS_SHAREDDATATYPE_FONT_TAIWANESE = 3 , OS_SHAREDDATATYPE_FONT_MAX = 4 } |
Functions | |
| BOOL | OSGetSharedData (OSSharedDataType type, uint32_t unk_r4, void **outPtr, uint32_t *outSize) |
| void | __OSRootLoadShared () |
| void * | OSBlockMove (void *dst, const void *src, uint32_t size, BOOL flush) |
| Moves chunks of memory around, similarly to memmove. | |
| void * | OSBlockSet (void *dst, uint8_t val, uint32_t size) |
| Fills a chunk of memory with the given value, like memset. | |
| void * | OSAllocFromSystem (uint32_t size, int align) |
| void | OSFreeToSystem (void *ptr) |
| BOOL | OSGetForegroundBucket (uint32_t *outAddr, uint32_t *outSize) |
| Gets the location and size of the foreground bucket memory area. | |
| BOOL | OSGetForegroundBucketFreeArea (uint32_t *outAddr, uint32_t *outSize) |
| Gets the location and size of the application-usable portion of the foreground bucket area. | |
| int | OSGetMemBound (OSMemoryType type, uint32_t *outAddr, uint32_t *outSize) |
| Gets the location and size of available memory areas. | |
| void | __OSZeroProcessMemory (uint32_t proccesID) |
| Zeros the memory for a given proccessID. | |
| typedef enum OSMemoryType OSMemoryType |
| typedef enum OSSharedDataType OSSharedDataType |
| enum OSMemoryType |
| enum OSSharedDataType |
| BOOL OSGetSharedData | ( | OSSharedDataType | type, |
| uint32_t | unk_r4, | ||
| void ** | outPtr, | ||
| uint32_t * | outSize | ||
| ) |
| void __OSRootLoadShared | ( | ) |
| void * OSBlockMove | ( | void * | dst, |
| const void * | src, | ||
| uint32_t | size, | ||
| BOOL | flush | ||
| ) |
Moves chunks of memory around, similarly to memmove.
Overlapping source and destination regions are supported.
| dst | The destination address for the move. |
| src | The source address for the move. |
| size | The size of the data to be moved, in bytes. |
| flush | Whether to flush the data caches for the source and destination. |
| void * OSBlockSet | ( | void * | dst, |
| uint8_t | val, | ||
| uint32_t | size | ||
| ) |
Fills a chunk of memory with the given value, like memset.
| dst | Pointer to the memory to fill. |
| val | Byte value to be set. |
| size | Number of bytes to be set to val. |
| void * OSAllocFromSystem | ( | uint32_t | size, |
| int | align | ||
| ) |
| void OSFreeToSystem | ( | void * | ptr | ) |
| BOOL OSGetForegroundBucket | ( | uint32_t * | outAddr, |
| uint32_t * | outSize | ||
| ) |
Gets the location and size of the foreground bucket memory area.
| outAddr | Pointer to write the foreground bucket's address to. |
| outSize | Pointer to write the foreground bucket's size to. |
true on success. | BOOL OSGetForegroundBucketFreeArea | ( | uint32_t * | outAddr, |
| uint32_t * | outSize | ||
| ) |
Gets the location and size of the application-usable portion of the foreground bucket area.
| outAddr | Pointer to write the bucket area's address to. |
| outSize | Pointer to write the bucket area's size to. |
true on success. | int OSGetMemBound | ( | OSMemoryType | type, |
| uint32_t * | outAddr, | ||
| uint32_t * | outSize | ||
| ) |
Gets the location and size of available memory areas.
| type | Type of memory to get information about. See OSMemoryType. |
| outAddr | Pointer to write the area's address to. |
| outSize | Pointer to write the area's size to. |
| void __OSZeroProcessMemory | ( | uint32_t | proccesID | ) |
Zeros the memory for a given proccessID.
Works only inside the ROOT process.