aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-02-15 13:45:48 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-02-15 13:45:48 -0500
commit5ca4b952419afc4101cce60a2b0d1ce5f76d778a (patch)
tree6074e07874eeb8f483b8e2714e429d9d90857d77 /src/util.c
parentf358759fb65939bb79a379b8e9d1e7c379f90d89 (diff)
downloadseabios-5ca4b952419afc4101cce60a2b0d1ce5f76d778a.tar.gz
Allow ctrl+alt+delete to work when no boot device found.
Don't panic (that turns off irqs), instead spin with irqs enabled.
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 7eec39d8..2c543a42 100644
--- a/src/util.c
+++ b/src/util.c
@@ -178,7 +178,7 @@ strtcpy(char *dest, const char *src, size_t len)
}
// Wait for 'usec' microseconds with irqs enabled.
-static void
+void
usleep(u32 usec)
{
struct bregs br;