summaryrefslogtreecommitdiffstats
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r--hw/vmware_vga.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 38bac13b50..a43510499e 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1133,6 +1133,12 @@ static void vmsvga_init(struct vmsvga_state_s *s, DisplayState *ds,
vmsvga_invalidate_display,
vmsvga_screen_dump,
vmsvga_text_update, s);
+
+#ifdef CONFIG_BOCHS_VBE
+ /* XXX: use optimized standard vga accesses */
+ cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
+ vga_ram_size, vga_ram_offset);
+#endif
}
static void pci_vmsvga_save(QEMUFile *f, void *opaque)