Skip to content
Snippets Groups Projects
  • Andrew Plaza's avatar
    7127e14b
    Fix PIT Interrupt Not Context Switching [irq] · 7127e14b
    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.
    7127e14b
    History
    Fix PIT Interrupt Not Context Switching [irq]
    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.