cirrus: simplify vga window mmio access functions
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 13:09:00 +0000 (16:09 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Aug 2011 15:15:53 +0000 (10:15 -0500)
commit0040f897e4c53e2c5c24f17a31982b5a7578e01c
tree9137c3c3c67024b575a78e4f743b5625a236812b
parent96d8633a7d0960b55890a9f57fbe104dfb99ffce
cirrus: simplify vga window mmio access functions

Make use of the memory API's ability to satisfy multi-byte accesses via
multiple single-byte accesses.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/cirrus_vga.c