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
This commit is contained in:
parent
67fed69653
commit
46634e7100
|
@ -73,6 +73,9 @@ int int1a_handler(struct eregs *regs)
|
||||||
short devindex;
|
short devindex;
|
||||||
unsigned char bus;
|
unsigned char bus;
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
u32 dword;
|
||||||
|
u16 word;
|
||||||
|
u8 byte, reg;
|
||||||
|
|
||||||
switch (func) {
|
switch (func) {
|
||||||
case PCIBIOS_CHECK:
|
case PCIBIOS_CHECK:
|
||||||
|
@ -115,11 +118,6 @@ int int1a_handler(struct eregs *regs)
|
||||||
case PCIBIOS_WRITECONFDWORD:
|
case PCIBIOS_WRITECONFDWORD:
|
||||||
case PCIBIOS_WRITECONFWORD:
|
case PCIBIOS_WRITECONFWORD:
|
||||||
case PCIBIOS_WRITECONFBYTE:
|
case PCIBIOS_WRITECONFBYTE:
|
||||||
unsigned long dword;
|
|
||||||
unsigned short word;
|
|
||||||
unsigned char byte;
|
|
||||||
unsigned char reg;
|
|
||||||
|
|
||||||
devfn = regs->ebx & 0xff;
|
devfn = regs->ebx & 0xff;
|
||||||
bus = regs->ebx >> 8;
|
bus = regs->ebx >> 8;
|
||||||
reg = regs->edi;
|
reg = regs->edi;
|
||||||
|
|
Loading…
Reference in New Issue