wut
1.0.0-beta9
Wii U Toolchain
|
BOOL OSCodegenCopy(void *dst, void *src, size_t size)
Copies data from normal memory into the codegen area, leaving the area in CODEGEN_R_X mode.
void OSCodegenGetVirtAddrRange(uint32_t *outVirtualAddress, uint32_t *outSize)
Gets the location and size of codegen memory, if available.
uint32_t OSGetCodegenMode()
uint32_t OSGetSecCodeGenMode()
OSCodegenSecMode
The memory permissions for the codegen area.
BOOL OSSwitchSecCodeGenMode(OSCodegenSecMode mode)
Switches the permissions on the codegen memory area.
uint32_t OSGetCodegenCore()
Gets the CPU core that's allowed to use codegen.
@ CODEGEN_R_X
The area can be read or executed, but not written to.
@ CODEGEN_RW_
The area can be read or written to, but not executed.