Improve init process, debug missing syscalls, fix error codes in syscall return
This commit is contained in:
parent
adec5d6df6
commit
951831c4bb
5 changed files with 70 additions and 17 deletions
|
@ -121,7 +121,7 @@ pub extern fn userspace_init() {
|
|||
assert_eq!(syscall::open(b"debug:", 0), Ok(1));
|
||||
assert_eq!(syscall::open(b"debug:", 0), Ok(2));
|
||||
|
||||
syscall::exec(b"initfs:bin/pcid", &[]).expect("failed to execute initfs:init");
|
||||
syscall::exec(b"initfs:bin/init", &[]).expect("failed to execute initfs:init");
|
||||
|
||||
panic!("initfs:init returned")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue