diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-10-26 12:18:26 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-30 08:39:29 -0500 |
commit | 5245d57a7ac830fc015465981db729646a768993 (patch) | |
tree | 653b3ea6f40b313fffc4cb977d3fd2edc582e8ed /hw/vga-pci.c | |
parent | de2aff17a31c47e28757d426fb3384eed20eb2e5 (diff) |
vga roms: move loading from pc.c to vga drivers.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga-pci.c')
-rw-r--r-- | hw/vga-pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |