diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-06-19 22:25:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 22:25:19 +0300 |
commit | 12c17948602bf14535c91c530f214b99863e038e (patch) | |
tree | 64528f5801581517bf305d423192e8bfd525af32 /arm7/lib/include/OS_context.h | |
parent | 1c13e2f57b53b3e4e5f9daac42ec4baadbb4c60b (diff) | |
parent | e19270f9b3523dfe68b5010e7735fc7896e568d7 (diff) |
Merge pull request #178 from red031000/master
arm7 OS_thread
Diffstat (limited to 'arm7/lib/include/OS_context.h')
-rw-r--r-- | arm7/lib/include/OS_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |