From 70d1600ef2607ecb112ca270f5982b4829e44c19 Mon Sep 17 00:00:00 2001 From: red031000 Date: Wed, 10 Jun 2020 02:25:43 +0100 Subject: arm9 OS_thread --- arm9/lib/include/OS_context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arm9/lib/include/OS_context.h') diff --git a/arm9/lib/include/OS_context.h b/arm9/lib/include/OS_context.h index cded1acb..7a58a2b1 100644 --- a/arm9/lib/include/OS_context.h +++ b/arm9/lib/include/OS_context.h @@ -15,4 +15,8 @@ typedef struct OSContext CPContext cp_context; } OSContext; +extern u32 OS_SaveContext(OSContext *context); +extern void OS_LoadContext(OSContext *context); +extern void OS_InitContext(OSContext *context, u32 func, u32 stack); + #endif //POKEDIAMOND_OS_CONTEXT_H -- cgit v1.2.3