summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/lib/include/OS_context.h')
-rw-r--r--arm9/lib/include/OS_context.h22
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