diff options
Diffstat (limited to 'libgloss/mt/exit-ms2.c')
-rw-r--r-- | libgloss/mt/exit-ms2.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libgloss/mt/exit-ms2.c b/libgloss/mt/exit-ms2.c deleted file mode 100644 index 93a3f852b..000000000 --- a/libgloss/mt/exit-ms2.c +++ /dev/null @@ -1,12 +0,0 @@ -#include <_ansi.h> -#include <sys/types.h> -#include <sys/stat.h> - - -void _exit (n) -{ - // Set bit #0 in the _DEBUG_HALT_REG to trigger program exit to - // the simulator. (The simulator will return a SIGQUIT signal.) - asm("ori r1, r0, #$1\n"); - asm("stw r1, r0, #$fffff300\n"); -} // exit |