Skip to content
Snippets Groups Projects

Fix PIT Interrupt Not Context Switching [irq]

Merged Jeremy Soller requested to merge InsidiousMind:fix-pit-not-context-switching into master

Created by: InsidiousMind

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.

This fixes https://github.com/redox-os/redox/issues/781 (Snake Game crashes Redox #781) (Tested)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading