diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-16 04:38:32 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-16 04:38:32 +0000 |
commit | 931ea4353032643a0324fd6e080f38c464db1ec0 (patch) | |
tree | 36d22a03a23c37d539480b122d8b8b162a013505 /hw/vmware_vga.c | |
parent | 4fb3fbc2454273041eef067c8dffeb3cae6ac378 (diff) |
Make Bochs VBE work with VMWare SVGA (malc).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4873 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 38bac13b5..a43510499 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) |