Interrupts are working again, new fontplate
This commit is contained in:
12
src/main.rs
12
src/main.rs
@@ -115,7 +115,7 @@ pub static mut KBD_DRIVER: VirtioPciDriver = unsafe {
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
// println!("event: {:#?}", event);
|
||||
println!("event: {:#?}", event);
|
||||
}
|
||||
} else {
|
||||
// println!("key pressed, {:#?}", event);
|
||||
@@ -171,12 +171,12 @@ pub extern "C" fn supervisor_mode_entry() {
|
||||
info!("Hello World !");
|
||||
// unsafe { Vga.draw_string(10, 10, "Hello World !", Color::WHITE, Color::BLACK) };
|
||||
|
||||
// SCHEDULER.lock().create_process(Box::new(test), "proc1");
|
||||
// SCHEDULER.lock().create_process(Box::new(proc2), "proc2");
|
||||
SCHEDULER.lock().create_process(Box::new(test), "proc1");
|
||||
SCHEDULER.lock().create_process(Box::new(proc2), "proc2");
|
||||
|
||||
// SCHEDULER
|
||||
// .lock()
|
||||
// .create_process_from_file("/usr/bin/test_pic");
|
||||
SCHEDULER
|
||||
.lock()
|
||||
.create_process_from_file("/usr/bin/test_pic");
|
||||
|
||||
enable_supervisor_interrupt();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user