wut  v1.7.0
Wii U Toolchain
Data Structures | Macros | Typedefs | Enumerations | Functions
context.h File Reference
#include <wut.h>
Include dependency graph for context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 
OSContextOSGetCurrentContext ()
 
void OSSetCurrentContext (OSContext *context)
 
void * OSSwitchStack (void *stack)
 
void __OSSetCurrentUserContext (OSContext *context)
 
void __OSSetAndLoadContext (OSContext *context)