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>
This commit is contained in:
Gerd Hoffmann 2009-10-26 12:18:26 +01:00 committed by Anthony Liguori
parent de2aff17a3
commit 5245d57a7a
5 changed files with 14 additions and 13 deletions

View file

@ -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;
}