1 /* Misc. operating system stubs. */
7 /* _raise(), getpid(), and kill() are required by abort().
8 getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES. */
10 int _DEFUN(_raise,(sig),
16 int _DEFUN(_getpid,(),)
21 int _DEFUN(_kill,(pid, sig),
27 /* Narrow SIG down to a short, in case we're compiled with -mint32. */
29 /* This causes the simulator to indicate abort() was called.
30 The format of r0 is defined by devo/include/wait.h. */
31 asm ("mov.w %0,r0\n\tsleep" : : "r" (sig2) : "r0");