diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-07-20 11:06:51 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-07-20 19:29:52 -0400 |
commit | 118605f1dd2a30813c89b35420edb472875d4bd2 (patch) | |
tree | 7881eb98b9a099c8e84d714b9f07e5563d8651d6 /src/pit.h | |
parent | c6e8c0763dee3f7c28d6ab3f2fb5c36986c288cb (diff) | |
download | seabios-hppa-118605f1dd2a30813c89b35420edb472875d4bd2.zip seabios-hppa-118605f1dd2a30813c89b35420edb472875d4bd2.tar.gz seabios-hppa-118605f1dd2a30813c89b35420edb472875d4bd2.tar.bz2 |
Don't pass khz to pmtimer_setup - it's always PM_TIMER_FREQUENCY.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/pit.h')
-rw-r--r-- | src/pit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ #ifndef __PIT_H #define __PIT_H +/* PM Timer ticks per second (HZ) */ +#define PM_TIMER_FREQUENCY 3579545 + #define PIT_TICK_RATE 1193180 // Underlying HZ of PIT #define PIT_TICK_INTERVAL 65536 // Default interval for 18.2Hz timer #define TICKS_PER_DAY (u32)((u64)60*60*24*PIT_TICK_RATE / PIT_TICK_INTERVAL) |