Interrupts are working again, new fontplate

This commit is contained in:
2026-03-15 17:26:11 +01:00
parent b1aac20b57
commit baeea20aa7
10 changed files with 62 additions and 62 deletions

View File

@@ -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();