Seperate kernel and userspace targets

This commit is contained in:
Jeremy Soller
2016-09-09 19:08:04 -06:00
parent 531497d7af
commit 0d115508be

2
lib.rs
View File

@@ -142,7 +142,7 @@ pub extern fn kmain() {
let stderr = syscall::open("debug:".as_bytes(), 0);
println!("STDERR: {:?}", stderr);
let elf = elf::Elf::from(include_bytes!("../build/init")).expect("could not load elf");
let elf = elf::Elf::from(include_bytes!("../build/userspace/init")).expect("could not load elf");
elf.run();
/*