diff options
author | Gerd Hoffmann | 2009-10-26 12:18:26 +0100 |
---|---|---|
committer | Anthony Liguori | 2009-10-30 14:39:29 +0100 |
commit | 5245d57a7ac830fc015465981db729646a768993 (patch) | |
tree | 653b3ea6f40b313fffc4cb977d3fd2edc582e8ed /hw/vga-pci.c | |
parent | rom loader: make vga+rom loading configurable. (diff) | |
download | qemu-5245d57a7ac830fc015465981db729646a768993.tar.gz qemu-5245d57a7ac830fc015465981db729646a768993.tar.xz qemu-5245d57a7ac830fc015465981db729646a768993.zip |
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; } |