Remove debugging times, set PIT to slower frequency

This commit is contained in:
Jeremy Soller 2016-09-01 16:46:34 -06:00
parent 817638b7aa
commit 7ae58a11d7
3 changed files with 2 additions and 7 deletions

View file

@ -15,11 +15,6 @@ unsafe fn slave_ack() {
}
interrupt!(pit, {
io::outb(0x43, 0);
let low = io::inb(0x40);
let high = io::inb(0x40);
let count = (high as u16) << 8 | (low as u16);
let _missed = 5370 - count;
master_ack();
});