fixed interrupts (temporary, we need to do a real fix for this)

This commit is contained in:
2025-03-10 15:40:38 +00:00
parent 31f14e8aec
commit b80b400c19
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ extern "x86-interrupt" fn keyboard_interrupt_handler(
extern "x86-interrupt" fn timer_interrupt_handler(
_stack_frame: InterruptStackFrame,
) {
debug!("Timer Interrupt");
// debug!("Timer Interrupt");
unsafe {
PICS.lock()
.notify_end_of_interrupt(InterruptIndex::Timer.as_u8());
+8
View File
@@ -17,6 +17,14 @@ extern "C" fn kmain() -> ! {
}
println_log!(" [ Kernel Initialised Successfully ] ");
// println!("TESTING :: Allocation");
// let somevec = vec![0; 1_000_000];
// println!("{:?}", somevec);
// println!("{}", somevec.len());
// println!("PASSED!");
// test1();
let mut executor = Executor::new();
executor.spawn(Task::new(shell()));
executor.run()