Disable preemption until paging bug is fixed

This commit is contained in:
Jeremy Soller
2017-06-13 19:10:32 -06:00
parent e3020db04f
commit 8b05863ebb

View File

@@ -52,9 +52,11 @@ interrupt!(pit, {
pic::MASTER.ack();
/*
if PIT_TICKS.fetch_add(1, Ordering::SeqCst) >= 10 {
context::switch();
}
*/
// Any better way of doing this?
timeout::trigger();