mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
coreinit: Add more OSContext related functions.
This commit is contained in:
parent
d01de98da2
commit
11ff692fbf
@ -1,6 +1,13 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup coreinit_context Context
|
||||
* \ingroup coreinit
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -66,7 +73,33 @@ WUT_CHECK_OFFSET(OSContext, 0x31c, mmcr1);
|
||||
WUT_CHECK_SIZE(OSContext, 0x320);
|
||||
|
||||
void
|
||||
OSLoadContext(OSContext * context);
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user