diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-11-05 12:44:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-11-05 12:44:50 +0000 |
commit | 46634e7100f7ab8b2d1a38e671d00fc26b4f3d78 (patch) | |
tree | 5e2aea3d481ddf812609038d41dbfac8b9a93182 | |
parent | 67fed69653a684355edd9c7a13fba24e4f0fdd1a (diff) | |
download | coreboot-46634e7100f7ab8b2d1a38e671d00fc26b4f3d78.tar.xz |
fix Qemu
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4914 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/x86emu/x86_interrupts.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/util/x86emu/x86_interrupts.c b/util/x86emu/x86_interrupts.c index 2c63f438e3..a792fdff1b 100644 --- a/util/x86emu/x86_interrupts.c +++ b/util/x86emu/x86_interrupts.c @@ -73,6 +73,9 @@ int int1a_handler(struct eregs *regs) short devindex; unsigned char bus; struct device *dev; + u32 dword; + u16 word; + u8 byte, reg; switch (func) { case PCIBIOS_CHECK: @@ -115,11 +118,6 @@ int int1a_handler(struct eregs *regs) case PCIBIOS_WRITECONFDWORD: case PCIBIOS_WRITECONFWORD: case PCIBIOS_WRITECONFBYTE: - unsigned long dword; - unsigned short word; - unsigned char byte; - unsigned char reg; - devfn = regs->ebx & 0xff; bus = regs->ebx >> 8; reg = regs->edi; |