Make Bochs VBE work with VMWare SVGA (malc).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4873 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-07-16 04:38:32 +00:00
parent 4fb3fbc245
commit 931ea43530

View File

@ -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)