diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-04-30 19:55:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 19:55:00 -0400 |
commit | 081bd6efce613ed078407ab8fd24765275385f9f (patch) | |
tree | ea91f20d1cd1ab5ae06880d1dd2e5a2c61f4db59 /include/nitro/os.c | |
parent | c7dd102f628b7a64a34223278c2de09718da19f4 (diff) | |
parent | 2ac877a24f241d3bc9d875a1338c40d7325929c6 (diff) |
Merge pull request #7 from martmists/os_lib
Add OS* functions
Diffstat (limited to 'include/nitro/os.c')
-rw-r--r-- | include/nitro/os.c | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/include/nitro/os.c b/include/nitro/os.c index a531740d..2531a636 100644 --- a/include/nitro/os.c +++ b/include/nitro/os.c @@ -4,6 +4,35 @@ #include "os.h" -asm void OS_GetProcMode() { +extern void PXI_Init(); +extern void OS_InitLock(); +extern void OS_InitIrqTable(); +extern void OS_SetIrqStackChecker(); +extern void OS_InitException(); +extern void MI_Init(); +extern void OS_InitVAlarm(); +extern void OSi_InitVramExclusive(); +extern void OS_InitThread(); +extern void OS_InitReset(); +extern void CTRDG_Init(); +extern void CARD_Init(); +extern void PM_Init(); + +void OS_Init(void) { + OS_InitArena(); + PXI_Init(); + OS_InitLock(); + OS_InitArenaEx(); + OS_InitIrqTable(); + OS_SetIrqStackChecker(); + OS_InitException(); + MI_Init(); + OS_InitVAlarm(); + OSi_InitVramExclusive(); + OS_InitThread(); + OS_InitReset(); + CTRDG_Init(); + CARD_Init(); + PM_Init(); +} -}
\ No newline at end of file |