wut  1.0.0-beta9
Wii U Toolchain
Macros | Typedefs | Functions
Context

Macros

#define OS_CONTEXT_TAG   0x4F53436F6E747874ull
 

Typedefs

typedef struct OSContext OSContext
 

Functions

struct WUT_ALIGNAS (8) OSContext
 
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)
 
OSContextOSGetCurrentContext ()
 
void OSSetCurrentContext (OSContext *context)
 
void * OSSwitchStack (void *stack)
 

Detailed Description

Macro Definition Documentation

◆ OS_CONTEXT_TAG

#define OS_CONTEXT_TAG   0x4F53436F6E747874ull

Definition at line 17 of file context.h.

Typedef Documentation

◆ OSContext

typedef struct OSContext OSContext

Definition at line 15 of file context.h.

Function Documentation

◆ WUT_ALIGNAS()

struct WUT_ALIGNAS ( )

Should always be set to the value OS_CONTEXT_TAG.

Definition at line 19 of file context.h.

◆ OSInitContext()

void OSInitContext ( OSContext context,
void *  entry,
void *  stack 
)

◆ OSDumpContext()

void OSDumpContext ( OSContext context)

◆ OSLoadContext()

void OSLoadContext ( OSContext context)

◆ OSSaveContext()

uint32_t OSSaveContext ( OSContext context)

◆ OSLoadFPUContext()

void OSLoadFPUContext ( OSContext context)

◆ OSSaveFPUContext()

void OSSaveFPUContext ( OSContext context)

◆ OSGetCurrentContext()

OSContext* OSGetCurrentContext ( )

◆ OSSetCurrentContext()

void OSSetCurrentContext ( OSContext context)

◆ OSSwitchStack()

void* OSSwitchStack ( void *  stack)