From 284c27f29971326bd786e89c1ceb3f51a53203db Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sun, 28 Nov 2004 04:39:45 +0000 Subject: fixes to make adl855pc compile. fixes to emulator. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1806 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/vgabios/testbios.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'util/vgabios/testbios.c') diff --git a/util/vgabios/testbios.c b/util/vgabios/testbios.c index 891e5d2ad7..541f460588 100644 --- a/util/vgabios/testbios.c +++ b/util/vgabios/testbios.c @@ -7,6 +7,7 @@ #include #define die(x) { perror(x); exit(1); } +#define warn(x) { perror(x); } #include #include "test.h" @@ -258,8 +259,9 @@ int main(int argc, char **argv) X86EMU_setupPioFuncs(&myfuncs); ioperm(0, 0x400, 1); - if (iopl(3) < 0) - die("iopl"); + if (iopl(3) < 0) { + warn("iopl failed, continuing anyway"); + } /* Emergency sync ;-) */ sync(); -- cgit v1.2.3