diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-07-25 13:23:02 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-07-25 13:23:02 -0400 |
commit | 5e0e326b75402a36c4d31502b8b5a05b862ac23c (patch) | |
tree | 1b5807c1efb72dbdd9d01f329cefb41171913a64 /arm9/lib/src/OS_terminate_proc.c | |
parent | 1f9d4503c898f9138422215132b53224571a281a (diff) | |
parent | 68d7aa47cc52ef822220e0e35890863d7cad479f (diff) |
Merge remote-tracking branch 'origin/master' into pikalax_work
Diffstat (limited to 'arm9/lib/src/OS_terminate_proc.c')
-rw-r--r-- | arm9/lib/src/OS_terminate_proc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arm9/lib/src/OS_terminate_proc.c b/arm9/lib/src/OS_terminate_proc.c deleted file mode 100644 index fdc4dbff..00000000 --- a/arm9/lib/src/OS_terminate_proc.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "OS_terminate_proc.h" -#include "function_target.h" -#include "OS_system.h" - -ARM_FUNC void OS_Terminate(void) -{ - while (TRUE) - { - (void)OS_DisableInterrupts(); - OS_Halt(); - } -} - -ARM_FUNC asm void OS_Halt(void) -{ - mov r0, #0x0 - mcr p15, 0x0, r0, c7, c0, 0x4 //Wait For Interrupt (Halt) - bx lr -} |