4e259f7b1e
The LAPIC timer is programmed in one-shot mode with vector 32 (Board::TIMER_VECTOR_KERNEL). The timer frequency is measured using PIT channel 2 as reference (50ms delay). Disable PIT timer channel 0 since BIOS programs it to fire periodically. This avoids potential spurious timer interrupts. |
||
---|---|---|
.. | ||
kernel | ||
board.h | ||
cpu.h | ||
macros_support.s | ||
macros.s | ||
pic.h | ||
port_io.h | ||
serial.h | ||
timer.h |