When possible, set up memory aliases for the vga banks
commit671defc07b1f4b33b748e03298a1c6e5afec93f5
authorAvi Kivity <avi@qumranet.com>
Fri, 30 Mar 2007 14:49:56 +0000 (30 14:49 +0000)
committerAvi Kivity <avi@qumranet.com>
Fri, 30 Mar 2007 14:49:56 +0000 (30 14:49 +0000)
treea74d4d3cc407252acdbc77a59873bbb99b57889e
parent0aa93180fb236b3d66c318196e0966720517c744
When possible, set up memory aliases for the vga banks

when the Windows display driver clears the screen, it does so by mmio
operations to the vga framebuffer at 0xa0000, which are slow.  use
the new memory aliasing functionality to allow the guest direct access
to the memory.
hw/cirrus_vga.c