coreboot-kgpe-d16/util/x86emu
Mark Marshall d08e69dd5e Use more care when implementing the PCI BIOS functions.
The READ_CONF and WRITE_CONF functions would both do the wrong thing
if the passed in BDF was not found.  We should return and error to the
caller, but not stop running the option ROM.

Signed-off-by: Mark Marshall <mark.marshall@csr.com>

I slightly reworked the patch:

The 'CHECK' function seemed to be both wrong code and the wrong
number. 

In fact the CHECK function was given the function number of
the "Microsoft Real-Time Compression Interface". Since this is definitely wrong 
I removed the code.

Dropped some unneeded scopes, too, to make the code easier to read.

Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-11-05 09:03:04 +00:00
..
include/x86emu x86emu: Add support for the following opcodes: 2009-11-03 14:59:43 +00:00
pcbios Kconfig! 2009-08-12 15:00:51 +00:00
x86emu x86emu: Add support for the following opcodes: 2009-11-03 14:59:43 +00:00
yabel Option ROM init x86/x86emu update 2009-10-25 19:50:47 +00:00
Config.lb Don't pull in x86emu from a foreign directory anymore. This 2009-08-11 21:28:25 +00:00
Makefile Improve build output. 2009-08-25 15:03:20 +00:00
Makefile.inc Add Kconfig support for PCI option ROMS. 2009-08-28 14:36:12 +00:00
biosemu.c Don't pull in x86emu from a foreign directory anymore. This 2009-08-11 21:28:25 +00:00
x86.c Improve coreboot build output and eliminate some warnings: 2009-10-27 21:49:33 +00:00
x86_asm.S Option ROM init x86/x86emu update 2009-10-25 19:50:47 +00:00
x86_interrupts.c Use more care when implementing the PCI BIOS functions. 2009-11-05 09:03:04 +00:00