diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-07-20 12:08:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-07-20 19:29:54 -0400 |
commit | 69013378972c07c9a1e46fa6ec274070cad1a532 (patch) | |
tree | 4e9c270ca2aa83fa098ecd54b49528d4a102c9fa /src/util.h | |
parent | 118605f1dd2a30813c89b35420edb472875d4bd2 (diff) | |
download | seabios-hppa-69013378972c07c9a1e46fa6ec274070cad1a532.zip seabios-hppa-69013378972c07c9a1e46fa6ec274070cad1a532.tar.gz seabios-hppa-69013378972c07c9a1e46fa6ec274070cad1a532.tar.bz2 |
Add helper functions to convert timer irqs to milliseconds.
Add ticks_to_ms() and ticks_from_ms() helpers.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -282,6 +282,8 @@ void useRTC(void); void releaseRTC(void); // timer.c +u32 ticks_to_ms(u32 ticks); +u32 ticks_from_ms(u32 ms); void pmtimer_setup(u16 ioport); int check_tsc(u64 end); void timer_setup(void); |