Fix the frequecy bug caused by IOAPIC
This commit is contained in:
parent
65ef055f4e
commit
ba08895fc3
|
|
@ -8,7 +8,7 @@ const TIMER_RATE: u32 = 1193182;
|
|||
|
||||
static TIMER_PERIOD: IoPort<u8, WriteOnlyAccess> = unsafe { IoPort::new(0x40) };
|
||||
static TIMER_MOD: IoPort<u8, WriteOnlyAccess> = unsafe { IoPort::new(0x43) };
|
||||
static TIMER_SQUARE_WAVE: u8 = 0x36;
|
||||
static TIMER_SQUARE_WAVE: u8 = 0x34;
|
||||
|
||||
pub(crate) fn init() {
|
||||
// Initialize timer.
|
||||
|
|
|
|||
Loading…
Reference in New Issue