Fixes _exit and abort() to use exit codes (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 11 Mar 2011 01:24:43 +0000 (17:24 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:00 +0000 (17:36 -0700)
commitaf2e6dec82949d9f8ed0be5ec6af3ca0d2011960
tree5cbacd43a5bcfdab2337c52ccc322df3d8876803
parent41335e9eea9f834856493f828d60c3155447c592
Fixes _exit and abort() to use exit codes (XCC)

abort() is a bit ugly, but it works for now.  If you ever see an exit
value of 1337, it is because the kernel directly called proc_destroy().

Rebuild your cross compiler if you want this stuff to work.
kern/src/process.c
kern/src/syscall.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/_exit.c
tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/abort.c [new file with mode: 0644]