diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-05-18 17:12:06 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-05-18 17:12:06 -0400 |
commit | 5be049093df6206cd8fd3017731abcfd40084da5 (patch) | |
tree | a3c4f18b5c82e6971e7f61275dfc229b3008de58 /src/util.h | |
parent | c25886949524d1e1a9809cf1a9908b070b731c03 (diff) | |
download | seabios-5be049093df6206cd8fd3017731abcfd40084da5.tar.gz |
Implement usleep using real time clock.
The old usleep implementation relied on ps2 port refresh bit which is
not very portable.
This patch also refactors some of the code in clock.c.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -151,7 +151,9 @@ void lpt_setup(); // clock.c void timer_setup(); +int usleep(u32 count); void handle_1583(struct bregs *regs); +void handle_1586(struct bregs *regs); // apm.c void VISIBLE16 handle_1553(struct bregs *regs); @@ -161,7 +163,6 @@ void handle_1ab1(struct bregs *regs); // util.c u8 checksum(u8 *far_data, u32 len); -void usleep(u32 count); // rombios32.c void rombios32_init(void); |