aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-05-18 17:12:06 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-05-18 17:12:06 -0400
commit5be049093df6206cd8fd3017731abcfd40084da5 (patch)
treea3c4f18b5c82e6971e7f61275dfc229b3008de58 /src/util.h
parentc25886949524d1e1a9809cf1a9908b070b731c03 (diff)
downloadseabios-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index acd981ae..058f3415 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);