diff options
author | Martmists <martmists@gmail.com> | 2020-04-23 14:33:04 +0200 |
---|---|---|
committer | Martmists <martmists@gmail.com> | 2020-04-23 14:33:04 +0200 |
commit | 0612b1de9f20f80ca082971d433942944350a9fe (patch) | |
tree | 5baeb9f0399617073ac85f35454cabcb97f2b289 /include/nitro/os_system.h | |
parent | 4e2316c01dea50716173a97f36228d2b9607964f (diff) |
Estimate function order for os_system
Diffstat (limited to 'include/nitro/os_system.h')
-rw-r--r-- | include/nitro/os_system.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/nitro/os_system.h b/include/nitro/os_system.h index 0c4e37d8..fc6a2f81 100644 --- a/include/nitro/os_system.h +++ b/include/nitro/os_system.h @@ -32,8 +32,13 @@ typedef union { OSIntrMode_Irq mode_irq; } OSIntrMode; -OSProcMode OS_GetProcMode(); +OSIntrMode OS_EnableInterrupts(); 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(); + #endif //POKEDIAMOND_OS_SYSTEM_H |