cargo fmt
Continuous integration / build (push) Has been cancelled

This commit is contained in:
2025-02-22 03:33:19 +00:00
parent bb5bf9115b
commit 5c9717d384
2 changed files with 0 additions and 4 deletions
-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;