]> git.proxmox.com Git - qemu.git/commit
vga: simplify vga window mmio access functions
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 13:09:01 +0000 (16:09 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Aug 2011 15:15:53 +0000 (10:15 -0500)
commitb2a5e761c6fcf0b03734f4d911c02272edbe6ad1
tree78ae650a20e62ce90195ff49bdebe8ff6a7b89bd
parenta815b16649eb12f3d834464043dc5ad48eafe594
vga: simplify vga window mmio access functions

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

We have to keep vga_mem_{read,write}b() since they're used by cirrus.

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
hw/vga.c
hw/vga_int.h