Skip to content

Commit

Permalink
#12: Document implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kennystrawnmusic committed Sep 26, 2023
1 parent 93827ba commit 0a952f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/arch/x86_64/interrupts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ lazy_static! {
idt[INTB_IRQ.load(Ordering::SeqCst) as usize].set_handler_fn(pin_intb);
idt[INTC_IRQ.load(Ordering::SeqCst) as usize].set_handler_fn(pin_intc);
idt[INTD_IRQ.load(Ordering::SeqCst) as usize].set_handler_fn(pin_intd);

// Vector 100 = IPI_WAKE handler as task scheduler
// performance is the obvious reason why I'm doing this
idt[132].set_handler_fn(task_sched);
idt[139].set_handler_fn(pci);
idt[0x82].set_handler_fn(spurious);
Expand Down

0 comments on commit 0a952f5

Please sign in to comment.