summaryrefslogtreecommitdiff
path: root/hw/vga-isa.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-26 12:18:26 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:29 -0500
commit5245d57a7ac830fc015465981db729646a768993 (patch)
tree653b3ea6f40b313fffc4cb977d3fd2edc582e8ed /hw/vga-isa.c
parentde2aff17a31c47e28757d426fb3384eed20eb2e5 (diff)
downloadqemu-5245d57a7ac830fc015465981db729646a768993.tar.gz
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-isa.c')
-rw-r--r--hw/vga-isa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 801121ae55..5f29904133 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -27,6 +27,7 @@
#include "vga_int.h"
#include "pixel_ops.h"
#include "qemu-timer.h"
+#include "loader.h"
int isa_vga_init(void)
{
@@ -46,5 +47,7 @@ int isa_vga_init(void)
cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
VGA_RAM_SIZE, s->vram_offset);
#endif
+ /* ROM BIOS */
+ rom_add_vga(VGABIOS_FILENAME);
return 0;
}