Seperate kernel and userspace targets

This commit is contained in:
Jeremy Soller 2016-09-09 19:08:04 -06:00
parent 729c7fd004
commit 0b1265d87e
5 changed files with 97 additions and 66 deletions

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();
/*