feat: Actual machine test triggers #NP

This commit is contained in:
ParrotXray 2025-10-14 16:11:13 +08:00
parent 5313892f80
commit 0d494a1e8d
2 changed files with 3 additions and 4 deletions

View File

@ -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");
}

View File

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