summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 2b1df77..9a901f5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -9,6 +9,7 @@ extern crate alloc;
9 9
10mod font; 10mod font;
11mod gop; 11mod gop;
12mod interrupts;
12mod memory; 13mod memory;
13mod ps2; 14mod ps2;
14mod serial; 15mod serial;
@@ -127,6 +128,10 @@ pub extern "efiapi" fn efi_main(image_handle: Handle, system_table: *mut SystemT
127 ps2::init(); 128 ps2::init();
128 serial_println!("ps2: keyboard initialized"); 129 serial_println!("ps2: keyboard initialized");
129 130
131 // Interrupts — IDT, PIC, PIT timer, keyboard IRQ handler
132 interrupts::init();
133 serial_println!("intr: IDT loaded, PIC remapped, timer ~100 Hz");
134
130 // Memory: the bump allocator was set up during capture_memory_map. 135 // Memory: the bump allocator was set up during capture_memory_map.
131 // `alloc::Vec`, `alloc::String`, `format!` etc. are now usable. 136 // `alloc::Vec`, `alloc::String`, `format!` etc. are now usable.
132 137