feat: Actual machine test triggers #NP
This commit is contained in:
parent
5313892f80
commit
0d494a1e8d
@ -47,6 +47,6 @@ pub fn init() {
|
||||
}
|
||||
|
||||
pub fn print_info() {
|
||||
log_info!(" IDT loaded and active");
|
||||
log_info!(" Exception handlers registered");
|
||||
log_info!("IDT loaded and active");
|
||||
log_info!("Exception handlers registered");
|
||||
}
|
||||
@ -55,7 +55,7 @@ pub fn _kernel_main() -> ! {
|
||||
crate::hal::ioapic::unmask_irq(1);
|
||||
log_info!("Keyboard interrupt unmasked");
|
||||
|
||||
// Enable CPU interrupts
|
||||
|
||||
cpu::cpu_enable_interrupts();
|
||||
|
||||
log_info!("CPU interrupts enabled");
|
||||
@ -73,7 +73,6 @@ pub fn _kernel_main() -> ! {
|
||||
kprintln!();
|
||||
|
||||
loop {
|
||||
// Until the next interrupt occurs
|
||||
cpu::cpu_halt();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user