diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-05-18 22:26:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 22:26:48 +0300 |
commit | 00b5f23f454d1cc64d6ca04224925797ebc7d1e7 (patch) | |
tree | b2a3cf8c66fc00bc77a34755e25ac54d44097455 /arm9/lib/include/OS_context.h | |
parent | 4c3e5d526588c546d20cd82613ea57396bebb64b (diff) | |
parent | d8dcd1fef93929fc8905ee62c2bf627cb8e8db25 (diff) |
Merge pull request #95 from red031000/master
fill out _OSThread
Diffstat (limited to 'arm9/lib/include/OS_context.h')
-rw-r--r-- | arm9/lib/include/OS_context.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_context.h b/arm9/lib/include/OS_context.h new file mode 100644 index 00000000..c0ab62f1 --- /dev/null +++ b/arm9/lib/include/OS_context.h @@ -0,0 +1,22 @@ +// +// Created by red031000 on 2020-05-17. +// + +#ifndef POKEDIAMOND_OS_CONTEXT_H +#define POKEDIAMOND_OS_CONTEXT_H + +#include "types.h" +#include "CP_context.h" + +typedef struct OSContext +{ + u32 cpsr; + u32 r[13]; + u32 sp; + u32 lr; + u32 pc_plus4; + u32 sp_svc; + CPContext cp_context; +} OSContext; + +#endif //POKEDIAMOND_OS_CONTEXT_H |