Skip to contentSkip to conversation

vmware_vga: add rom file so that it boots.

PATCH New Dave Airlie 1 participant 1 message Dec 11, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmware_vga: add rom file so that it boots.

From: Dave Airlie <[email protected]>

This just adds the rom file to the vmware SVGA chipset so it boots.

---
 hw/vmware_vga.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
hw/vmware_vga.c +2 -0
index 240731a..a7e42c6 100644
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 #include "hw.h"
+#include "loader.h"
 #include "console.h"
 #include "pci.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,
                                  vga_ram_size, s->vga.vram_offset);
 #endif
+     rom_add_vga(VGABIOS_FILENAME);
 }
 
 static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num,
Signature · 1 line
1.6.5.2