wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | OSContext |
Macros | |
#define | OS_CONTEXT_TAG 0x4F53436F6E747874ull |
Typedefs | |
typedef uint16_t | OSContextState |
A bitfield of enum OS_CONTEXT_STATE. More... | |
typedef struct OSContext | OSContext |
Enumerations | |
enum | OS_CONTEXT_STATE { OS_CONTEXT_STATE_OSCALLBACK = 1 << 3 , OS_CONTEXT_STATE_USERMODE_SAVED = 1 << 4 } |
Functions | |
void | OSInitContext (OSContext *context, void *entry, void *stack) |
void | OSDumpContext (OSContext *context) |
void | OSLoadContext (OSContext *context) |
uint32_t | OSSaveContext (OSContext *context) |
void | OSLoadFPUContext (OSContext *context) |
void | OSSaveFPUContext (OSContext *context) |
OSContext * | OSGetCurrentContext () |
void | OSSetCurrentContext (OSContext *context) |
void * | OSSwitchStack (void *stack) |
void | __OSSetCurrentUserContext (OSContext *context) |
void | __OSSetAndLoadContext (OSContext *context) |
struct OSContext |
Data Fields | ||
---|---|---|
uint64_t | tag | Should always be set to the value OS_CONTEXT_TAG. |
uint32_t | gpr[32] | |
uint32_t | cr | |
uint32_t | lr | |
uint32_t | ctr | |
uint32_t | xer | |
uint32_t | srr0 | |
uint32_t | srr1 | |
uint32_t | dsisr | |
uint32_t | dar | |
uint32_t | fpscr | |
double | fpr[32] | |
uint16_t | spinLockCount | |
OSContextState | state | |
uint32_t | gqr[8] | |
uint32_t | upir | Current core index. |
double | psf[32] | |
uint64_t | coretime[3] | |
uint64_t | starttime | |
uint32_t | error | |
uint32_t | pmc1 | |
uint32_t | pmc2 | |
uint32_t | pmc3 | |
uint32_t | pmc4 | |
uint32_t | mmcr0 | |
uint32_t | mmcr1 |
typedef uint16_t OSContextState |
enum OS_CONTEXT_STATE |
void OSInitContext | ( | OSContext * | context, |
void * | entry, | ||
void * | stack | ||
) |
void OSDumpContext | ( | OSContext * | context | ) |
void OSLoadContext | ( | OSContext * | context | ) |
uint32_t OSSaveContext | ( | OSContext * | context | ) |
void OSLoadFPUContext | ( | OSContext * | context | ) |
void OSSaveFPUContext | ( | OSContext * | context | ) |
OSContext* OSGetCurrentContext | ( | ) |
void OSSetCurrentContext | ( | OSContext * | context | ) |
void* OSSwitchStack | ( | void * | stack | ) |
void __OSSetCurrentUserContext | ( | OSContext * | context | ) |
void __OSSetAndLoadContext | ( | OSContext * | context | ) |