From e19270f9b3523dfe68b5010e7735fc7896e568d7 Mon Sep 17 00:00:00 2001 From: red031000 Date: Fri, 19 Jun 2020 19:07:34 +0100 Subject: arm7 OS_thread --- arm7/lib/include/OS_context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arm7/lib/include/OS_context.h') diff --git a/arm7/lib/include/OS_context.h b/arm7/lib/include/OS_context.h index 7819e29c..b01ccb8b 100644 --- a/arm7/lib/include/OS_context.h +++ b/arm7/lib/include/OS_context.h @@ -13,4 +13,8 @@ typedef struct OSContext u32 sp_svc; } 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_ARM7_OS_CONTEXT_H -- cgit v1.2.3