mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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:
parent
de2aff17a3
commit
5245d57a7a
5 changed files with 14 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue