Author: stepan Date: 2009-11-05 12:44:50 +0000 (Thu, 05 Nov 2009) New Revision: 4914
Modified: trunk/util/x86emu/x86_interrupts.c Log: fix Qemu
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/util/x86emu/x86_interrupts.c =================================================================== --- trunk/util/x86emu/x86_interrupts.c 2009-11-05 12:38:34 UTC (rev 4913) +++ trunk/util/x86emu/x86_interrupts.c 2009-11-05 12:44:50 UTC (rev 4914) @@ -73,6 +73,9 @@ short devindex; unsigned char bus; struct device *dev; + u32 dword; + u16 word; + u8 byte, reg;
switch (func) { case PCIBIOS_CHECK: @@ -115,11 +118,6 @@ 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;