cirrus: simplify linear framebuffer access functions
commit899adf8149c675c2ca0db870da6f00748ee53d59
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 13:09:02 +0000 (8 16:09 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Aug 2011 15:15:53 +0000 (8 10:15 -0500)
tree2c24961c32052df81fc69b239be519141d3b630b
parentb2a5e761c6fcf0b03734f4d911c02272edbe6ad1
cirrus: simplify linear framebuffer 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