Andrew Plaza
2fc4454f5e
set PIT_TICKS to 0 in context::switch()
2017-04-25 16:59:14 -04:00
Andrew Plaza
5ba02ca940
Reset PIT_TICKS to 0 on context::switch, change condition for context::switch [irq]
...
Set the counter to 0 when context is to be switched in the PIT interrupt,
and change the condition for context switching from % 10 to >= 10.
2017-04-25 14:40:23 -04:00
Andrew Plaza
7127e14b5d
Fix PIT Interrupt Not Context Switching [irq]
...
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.
2017-04-24 22:07:32 -04:00
Jeremy Soller
e43f5dda81
Implement timeouts
...
Cleanup utf8 path error handling
2017-04-08 21:59:30 -06:00
Jeremy Soller
a7f35e14cc
Cleanup debug scheme
2017-04-05 20:11:51 -06:00
Jeremy Soller
2087544ea7
Move all files to src
2017-04-03 21:47:01 -06:00