Skip to content

Commit

Permalink
clarify pending x86 impl of SystemWideInterruptController (ioapic)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos authored Sep 24, 2023
1 parent 8128191 commit 46d51e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/interrupt_controller/src/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ impl SystemInterruptControllerApi for SystemInterruptController {
let _ = priority;

if let Some(destination) = destination {
int_ctlr.set_irq(sys_int_num, destination.into(), sys_int_num /* <- is this correct? */)
int_ctlr.set_irq(sys_int_num, destination.into(), sys_int_num)
} else {
Err("SystemInterruptController::set_destination: todo on x86")
Err("SystemInterruptController::set_destination: todo on x86: set the IOREDTBL MASK bit")
}
}
}
Expand Down

0 comments on commit 46d51e8

Please sign in to comment.