More path cleanup
This commit is contained in:
parent
9d879f95ed
commit
08555f3a07
|
@ -97,9 +97,9 @@ pub extern fn userspace_init() {
|
||||||
assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(1));
|
assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(1));
|
||||||
assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(2));
|
assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(2));
|
||||||
|
|
||||||
syscall::exec(b"initfs:/bin/init", &[]).expect("failed to execute initfs:init");
|
syscall::exec(b"/bin/init", &[]).expect("failed to execute init");
|
||||||
|
|
||||||
panic!("initfs:init returned")
|
panic!("init returned")
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Allow exception handlers to send signal to arch-independant kernel
|
/// Allow exception handlers to send signal to arch-independant kernel
|
||||||
|
|
Loading…
Reference in a new issue