From 5245d57a7ac830fc015465981db729646a768993 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 26 Oct 2009 12:18:26 +0100 Subject: vga roms: move loading from pc.c to vga drivers. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- hw/vga-pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/vga-pci.c') diff --git a/hw/vga-pci.c b/hw/vga-pci.c index 1edfdeefed..a8ec729e71 100644 --- a/hw/vga-pci.c +++ b/hw/vga-pci.c @@ -28,6 +28,7 @@ #include "vga_int.h" #include "pixel_ops.h" #include "qemu-timer.h" +#include "loader.h" typedef struct PCIVGAState { PCIDevice dev; @@ -105,6 +106,9 @@ static int pci_vga_initfn(PCIDevice *dev) pci_register_bar(&d->dev, PCI_ROM_SLOT, bios_total_size, PCI_ADDRESS_SPACE_MEM_PREFETCH, vga_map); } + + /* ROM BIOS */ + rom_add_vga(VGABIOS_FILENAME); return 0; } -- cgit v1.2.3-55-g7522