uint64_t tag
Should always be set to the value OS_CONTEXT_TAG.
void OSSetCurrentContext(OSContext *context)
OSContext * OSGetCurrentContext()
uint16_t OSContextState
A bitfield of enum OS_CONTEXT_STATE.
void __OSSetCurrentUserContext(OSContext *context)
void * OSSwitchStack(void *stack)
void OSLoadContext(OSContext *context)
void OSSaveFPUContext(OSContext *context)
void __OSSetAndLoadContext(OSContext *context)
uint32_t OSSaveContext(OSContext *context)
void OSDumpContext(OSContext *context)
void OSInitContext(OSContext *context, void *entry, void *stack)
void OSLoadFPUContext(OSContext *context)
@ OS_CONTEXT_STATE_OSCALLBACK
@ OS_CONTEXT_STATE_USERMODE_SAVED