diff options
author | red031000 <rubenru09@aol.com> | 2020-06-14 21:47:39 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-06-14 21:48:42 +0100 |
commit | c734347a8fed09aff1aacaad89eb7db831a00a3c (patch) | |
tree | bf1df18b2414e6c94b5d1f46f2b5765923e94897 /arm7/lib/include/OS_context.h | |
parent | 30c442497e7e2d8eb5cb6b318b0888dcb64f5977 (diff) |
arm7 OS_interrupt
Diffstat (limited to 'arm7/lib/include/OS_context.h')
-rw-r--r-- | arm7/lib/include/OS_context.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arm7/lib/include/OS_context.h b/arm7/lib/include/OS_context.h new file mode 100644 index 00000000..7819e29c --- /dev/null +++ b/arm7/lib/include/OS_context.h @@ -0,0 +1,16 @@ +#ifndef POKEDIAMOND_ARM7_OS_CONTEXT_H +#define POKEDIAMOND_ARM7_OS_CONTEXT_H + +#include "nitro/types.h" + +typedef struct OSContext +{ + u32 cpsr; + u32 r[13]; + u32 sp; + u32 lr; + u32 pc_plus4; + u32 sp_svc; +} OSContext; + +#endif //POKEDIAMOND_ARM7_OS_CONTEXT_H |