-
Andrew Plaza authored
PIT interrupt should context switch or else all of redox crashes. This will fix programs like the Snake game crashing all of Redox. A global AtomicUSize counter was added, and a line to switch contexts on every 10 PIT interrupts in irq.rs.
Andrew Plaza authoredPIT interrupt should context switch or else all of redox crashes. This will fix programs like the Snake game crashing all of Redox. A global AtomicUSize counter was added, and a line to switch contexts on every 10 PIT interrupts in irq.rs.