summaryrefslogtreecommitdiff
path: root/src/cpu/emulation/qemu-x86
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-13 12:16:15 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-13 12:16:15 +0000
commit8e65adb67d9d85e920554af7b083b3d76b885688 (patch)
tree880cfa04343cee2fcf3f73bd204e137efefbe1fd /src/cpu/emulation/qemu-x86
parentbc5379aefd56b270ffde15572ba0b30c16c24b38 (diff)
Fix outb to 0x80 delay functions to use inb instead (fixes excessive post codes
in a couple of occurences) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3509 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/emulation/qemu-x86')
-rw-r--r--src/cpu/emulation/qemu-x86/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/emulation/qemu-x86/northbridge.c b/src/cpu/emulation/qemu-x86/northbridge.c
index 694df64ec6..ada22fe982 100644
--- a/src/cpu/emulation/qemu-x86/northbridge.c
+++ b/src/cpu/emulation/qemu-x86/northbridge.c
@@ -147,7 +147,7 @@ void udelay(int usecs)
{
int i;
for(i = 0; i < usecs; i++)
- outb(i&0xff, 0x80);
+ inb(0x80);
}