bochs: add support for native graphics

Hardware / Coreboot - Ronald G. Minnich [google.com] - 25 November 2013 11:31 EST

Per our discussions with Gerd, qemu will now always do native graphics on coreboot. The VGA BIOS capability is not needed and will no longer be supported. Attempts to build without native graphics will result in an error.

This code builds for both x86 emulation targets. I'm hitting an issue testing that is unrelated to coreboot; if someone can test, that would be helpful. Be sure to start qemu with -vga std.

We also add a test for the PCI BAR being zero and return silently if it is.

Change-Id: I66188f61e1bac7ad93c989cc10f3e0b55140e148

cae09e0 bochs: add support for native graphics
src/drivers/emulation/qemu/bochs.c | 42 +++++++++------------------
src/mainboard/emulation/qemu-i440fx/Kconfig | 1 +
src/mainboard/emulation/qemu-q35/Kconfig | 1 +
3 files changed, 15 insertions(+), 29 deletions(-)

Upstream: review.coreboot.org


  • Share