WIP: Schemes

This commit is contained in:
Jeremy Soller 2016-08-14 21:38:32 -06:00
parent 8a6d9b8c9d
commit 19077d69db
5 changed files with 77 additions and 12 deletions

View file

@ -90,6 +90,9 @@ pub mod context;
/// Intrinsics for panic handling
pub mod panic;
/// Schemes, filesystem handlers
pub mod scheme;
/// Syscall handlers
pub mod syscall;
@ -101,9 +104,9 @@ pub mod tests;
pub extern fn kmain() {
println!("TEST");
println!("{:?}", syscall::open(b"stdin", 0));
println!("{:?}", syscall::open(b"stdout", 0));
println!("{:?}", syscall::open(b"stderr", 0));
println!("{:?}", syscall::open(b"debug:", 0));
println!("{:?}", syscall::open(b"debug:", 0));
println!("{:?}", syscall::open(b"debug:", 0));
loop {
unsafe {