aboutsummaryrefslogtreecommitdiff
path: root/src/system.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-10-24 11:06:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-10-24 11:06:08 -0400
commit10ad799ff49508127e75f57c3927603441232ae3 (patch)
treea581669e7c2210c247f253c849e9a530fc38f719 /src/system.c
parent89eb6241e51bc825cfbc1292802a960dcb48d778 (diff)
downloadseabios-hppa-10ad799ff49508127e75f57c3927603441232ae3.zip
seabios-hppa-10ad799ff49508127e75f57c3927603441232ae3.tar.gz
seabios-hppa-10ad799ff49508127e75f57c3927603441232ae3.tar.bz2
Replace irq_enable() regions with explicit calls to check for irqs.
Add new function yield() which will permit irqs to trigger. The yield() call enables irqs to occur in 32bit mode. Add [num]sleep calls that yield instead of just spinning. Rename existing int 1586 usleep call to biosusleep. Convert many calls to mdelay to msleep.
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index a9f271e..e8ed5a7 100644
--- a/src/system.c
+++ b/src/system.c
@@ -5,7 +5,7 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
-#include "util.h" // irq_restore
+#include "util.h" // memcpy_far
#include "biosvar.h" // BIOS_CONFIG_TABLE
#include "ioport.h" // inb
#include "memmap.h" // E820_RAM