mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Implemented a basic syscall handler
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ void pit_phase(uint8_t ch, uint8_t mode, uint32_t hz) {
|
||||
uint32_t div = PIT_DIV / hz;
|
||||
outb(PIT_CH0 + ch, div & 0xFF);
|
||||
outb(PIT_CH0 + ch, div >> 8);
|
||||
debugf("[PIT] Set PIT divisor to %d (%d Hz).\n", div, hz);
|
||||
debugf("[pit] Set PIT divisor to %d (%d Hz).\n", div, hz);
|
||||
|
||||
sti();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user