diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-06-15 10:24:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-15 10:24:39 -0400 |
commit | 639448d1ee1f5a2ca9ad73fafc10502dce2d3f7c (patch) | |
tree | bf1df18b2414e6c94b5d1f46f2b5765923e94897 /arm7/lib/include/OS_context.h | |
parent | 30c442497e7e2d8eb5cb6b318b0888dcb64f5977 (diff) | |
parent | c734347a8fed09aff1aacaad89eb7db831a00a3c (diff) |
Merge pull request #166 from red031000/master
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 |