Commit f5fcbc12 authored by Jeremy Soller's avatar Jeremy Soller

Move ipi for pit to after EOI

parent e867326d
......@@ -40,9 +40,6 @@ pub unsafe fn acknowledge(irq: usize) {
}
interrupt!(pit, {
// Wake up other CPUs
ipi(IpiKind::Pit, IpiTarget::Other);
// Saves CPU time by not sending IRQ event irq_trigger(0);
const PIT_RATE: u64 = 2_250_286;
......@@ -56,6 +53,9 @@ interrupt!(pit, {
pic::MASTER.ack();
// Wake up other CPUs
ipi(IpiKind::Pit, IpiTarget::Other);
// Any better way of doing this?
timeout::trigger();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment