diff options
author | red031000 <rubenru09@aol.com> | 2020-05-01 20:38:36 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-01 20:41:06 +0100 |
commit | 527b257015fa32ac4007b1d7e9198ac37d8e1542 (patch) | |
tree | a002ab92671fdf9736179b9b1d818b6da9c398d2 /arm9/lib/include/OS_system.h | |
parent | 7b3404b932a8fadddb44774407b22127b0f02115 (diff) |
macro and register
Diffstat (limited to 'arm9/lib/include/OS_system.h')
-rw-r--r-- | arm9/lib/include/OS_system.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arm9/lib/include/OS_system.h b/arm9/lib/include/OS_system.h index 20228cbf..93903315 100644 --- a/arm9/lib/include/OS_system.h +++ b/arm9/lib/include/OS_system.h @@ -17,19 +17,19 @@ typedef enum { OS_PROCMODE_SYS=31 } OSProcMode; -#pragma enumsalwaysint on +ENUMS_ALWAYS_INT_ON typedef enum { OS_INTRMODE_DISABLE_IRQ = HW_PSR_DISABLE_IRQ, OS_INTRMODE_DISABLE_FIQ = HW_PSR_DISABLE_FIQ, OS_INTRMODE_ENABLE = 0 } OSIntrMode; -#pragma enumsalwaysint reset +ENUMS_ALWAYS_INT_RESET OSIntrMode OS_EnableInterrupts(); OSIntrMode OS_DisableInterrupts(); -OSIntrMode OS_RestoreInterrupts(register OSIntrMode state); +OSIntrMode OS_RestoreInterrupts(OSIntrMode state); OSIntrMode OS_DisableInterrupts_IrqAndFiq(); -OSIntrMode OS_RestoreInterrupts_IrqAndFiq(register OSIntrMode state); +OSIntrMode OS_RestoreInterrupts_IrqAndFiq(OSIntrMode state); OSIntrMode OS_GetCpsrIrq(); OSProcMode OS_GetProcMode(); void OS_SpinWait(); |