summaryrefslogtreecommitdiff
path: root/arm9/lib/include/os_system.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-05-01 10:38:55 +0300
committerGitHub <noreply@github.com>2020-05-01 10:38:55 +0300
commit90d38f053ff21a5d6cd967de29dc440cbba9aa29 (patch)
tree05fa57262f1f8d90fcb443becd59d553b66d6f52 /arm9/lib/include/os_system.h
parentc8a06f894bf98b9fa12759043cbd6316e30c59dc (diff)
parentb950f6a92302af19769a76006a9a83c68b1a47c6 (diff)
Merge pull request #49 from ProjectRevoTPP/master
migrate and match OS_alloc.c
Diffstat (limited to 'arm9/lib/include/os_system.h')
-rw-r--r--arm9/lib/include/os_system.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/arm9/lib/include/os_system.h b/arm9/lib/include/os_system.h
index fc6a2f81..c7f121bd 100644
--- a/arm9/lib/include/os_system.h
+++ b/arm9/lib/include/os_system.h
@@ -18,18 +18,8 @@ typedef enum {
} OSProcMode;
typedef enum {
- OS_INTRMODE_IRQ_DISABLE = HW_PSR_IRQ_DISABLE,
- OS_INTRMODE_IRQ_ENABLE = 0
-} OSIntrMode_Irq;
-
-typedef enum {
- OS_INTRMODE_FIQ_DISABLE = HW_PSR_FIQ_DISABLE,
- OS_INTRMODE_FIQ_ENABLE = 0
-} OSIntrMode_Fiq;
-
-typedef union {
- OSIntrMode_Fiq mode_fiq;
- OSIntrMode_Irq mode_irq;
+ OS_INTRMODE_DISABLE = HW_PSR_IRQ_DISABLE,
+ OS_INTRMODE_ENABLE = 0
} OSIntrMode;
OSIntrMode OS_EnableInterrupts();
@@ -37,7 +27,6 @@ OSIntrMode OS_DisableInterrupts();
OSIntrMode OS_RestoreInterrupts(OSIntrMode state);
OSIntrMode OS_DisableInterrupts_IrqAndFiq();
OSIntrMode OS_RestoreInterrupts_IrqAndFiq(OSIntrMode state);
-OSIntrMode_Irq OS_GetCpsrIrq();
OSProcMode OS_GetProcMode();