mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 22:31:15 +00:00
vmware_vga: add rom file so that it boots.
This just adds the rom file to the vmware SVGA chipset so it boots.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit b3c3f123f7
)
This commit is contained in:
parent
d7b8193716
commit
4d687b13cf
@ -22,6 +22,7 @@
|
|||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
#include "hw.h"
|
#include "hw.h"
|
||||||
|
#include "loader.h"
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
#include "vmware_vga.h"
|
#include "vmware_vga.h"
|
||||||
@ -1124,6 +1125,7 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
|
|||||||
cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
|
cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
|
||||||
vga_ram_size, s->vga.vram_offset);
|
vga_ram_size, s->vga.vram_offset);
|
||||||
#endif
|
#endif
|
||||||
|
rom_add_vga(VGABIOS_FILENAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num,
|
static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num,
|
||||||
|
Loading…
Reference in New Issue
Block a user