fixed interrupts (temporary, we need to do a real fix for this)
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user