Add syscall module

This commit is contained in:
Jeremy Soller 2016-08-14 15:58:35 -06:00
commit a490ff13ae

10
kernel/syscall/process.rs Normal file
View file

@ -0,0 +1,10 @@
///! Process syscalls
use arch::interrupt::halt;
pub fn exit(status: usize) -> ! {
println!("Exit {}", status);
loop {
unsafe { halt() };
}
}