dev #4

Merged
zxq5 merged 45 commits from dev into main 2025-02-22 21:32:28 +00:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 5c9717d384 - Show all commits
-3
View File
@@ -18,7 +18,6 @@ static IDT: Lazy<InterruptDescriptorTable> = Lazy::new(|| {
idt idt
}); });
pub const PIC_1_OFFSET: u8 = 32; pub const PIC_1_OFFSET: u8 = 32;
pub const PIC_2_OFFSET: u8 = PIC_1_OFFSET + 8; pub const PIC_2_OFFSET: u8 = PIC_1_OFFSET + 8;
@@ -42,7 +41,6 @@ impl InterruptIndex {
} }
} }
pub fn init_idt() { pub fn init_idt() {
IDT.load(); IDT.load();
unsafe { unsafe {
@@ -87,4 +85,3 @@ extern "x86-interrupt" fn timer_interrupt_handler(_stack_frame: InterruptStackFr
.notify_end_of_interrupt(InterruptIndex::Timer.as_u8()); .notify_end_of_interrupt(InterruptIndex::Timer.as_u8());
} }
} }
-1
View File
@@ -1,4 +1,3 @@
pub mod gdt; pub mod gdt;
pub mod interrupts; pub mod interrupts;