bios_emulator: Add vesa support and allow ROMs to be passed in as data
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 03:56:40 +0000 (20:56 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 14:11:17 +0000 (07:11 -0700)
commit4c59f95327966b83981cb53371a854570a01e8d9
tree9abbcb2d8b8f336ea0cae2e492a3b7c84cf40f85
parentad6edca379117d52da373818a5db3027da2ad14b
bios_emulator: Add vesa support and allow ROMs to be passed in as data

As well as locating the ROM on the PCI bus, allow the ROM to be supplied to
the emulator. Split the init up a little so that callers can supply their
own interrupt routines. Also allow a vesa mode to be provided, to be
selected once the BIOS run is complete.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/bios_emulator/atibios.c
drivers/bios_emulator/besys.c
include/bios_emul.h