diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-23 15:53:38 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-23 15:53:38 +0000 |
commit | 86051f919fc34d731619fc3a1266c5a2c4855b01 (patch) | |
tree | ef1cc51fa135493eefd0987350ff6f2aebbde01b /util/vgabios/testbios.c | |
parent | b7f53b2329d468a6efa50c7c1163079d296fbdc3 (diff) | |
download | coreboot-86051f919fc34d731619fc3a1266c5a2c4855b01.tar.xz |
Use coreboot-internal version of x86emu for the vgabios utility.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5276 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/testbios.c')
-rw-r--r-- | util/vgabios/testbios.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/vgabios/testbios.c b/util/vgabios/testbios.c index e38315afd2..2646a29ffd 100644 --- a/util/vgabios/testbios.c +++ b/util/vgabios/testbios.c @@ -10,7 +10,7 @@ #define die(x) { perror(x); exit(1); } #define warn(x) { perror(x); } -#include <x86emu.h> +#include <x86emu/x86emu.h> #include "helper_exec.h" #include "test.h" #include "pci-userspace.h" @@ -139,7 +139,6 @@ int main(int argc, char **argv) unsigned short initialip = 0, initialcs = 0, devfn = 0; X86EMU_intrFuncs intFuncs[256]; void X86EMU_setMemBase(void *base, size_t size); - void X86EMU_setabseg(void *abseg); void x86emu_dump_xregs(void); int X86EMU_set_debug(int debug); int debugflag = 0; @@ -277,7 +276,7 @@ int main(int argc, char **argv) current = &p; X86EMU_setMemBase(biosmem, sizeof(biosmem)); - X86EMU_setabseg(abseg); + M.abseg = (unsigned long)abseg; X86EMU_setupPioFuncs(&myfuncs); ioperm(0, 0x400, 1); |