wut  1.0.0-beta8
Wii U Toolchain
Typedefs | Enumerations | Functions
memory.h File Reference
#include <wut.h>

Go to the source code of this file.

Typedefs

typedef enum OSMemoryType OSMemoryType
 

Enumerations

enum  OSMemoryType {
  OS_MEM1 = 1,
  OS_MEM2 = 2
}
 

Functions

void * OSBlockMove (void *dst, const void *src, uint32_t size, BOOL flush)
 Moves chunks of memory around, similarly to memmove. More...
 
void * OSBlockSet (void *dst, uint8_t val, uint32_t size)
 Fills a chunk of memory with the given value, like memset. More...
 
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. More...
 
BOOL OSGetForegroundBucketFreeArea (uint32_t *outAddr, uint32_t *outSize)
 Gets the location and size of the application-usable portion of the foreground bucket area. More...
 
int OSGetMemBound (OSMemoryType type, uint32_t *outAddr, uint32_t *outSize)
 Gets the location and size of available memory areas. More...