wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
codegen.h File Reference
#include <wut.h>
Include dependency graph for codegen.h:

Go to the source code of this file.

Typedefs

typedef enum OSCodegenSecMode OSCodegenSecMode
 The memory permissions for the codegen area. More...
 

Enumerations

enum  OSCodegenSecMode {
  CODEGEN_RW_ = 0 ,
  CODEGEN_R_X = 1
}
 The memory permissions for the codegen area. More...
 

Functions

void OSGetCodegenVirtAddrRange (void **outVirtualAddress, uint32_t *outSize)
 Gets the location and size of codegen memory, if available. More...
 
uint32_t OSGetCodegenCore ()
 Gets the CPU core that's allowed to use codegen. More...
 
uint32_t OSGetCodegenMode ()
 
BOOL OSSwitchSecCodeGenMode (OSCodegenSecMode mode)
 Switches the permissions on the codegen memory area. More...
 
uint32_t OSGetSecCodeGenMode ()
 
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. More...