cirrus_vga: rename cirrus_hook_read_cr() cirrus_vga_read_cr()
authorJuan Quintela <quintela@redhat.com>
Mon, 31 Aug 2009 14:07:31 +0000 (16:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 9 Sep 2009 19:55:16 +0000 (14:55 -0500)
commitb863d51490b7c6e339c9565eda786cadc1218d48
treee3c0eb8b3f77c22f2dae9ecfb05c237097c3ebc5
parent22286bc6468adac10b2eb7e603f1a8ba524bfb03
cirrus_vga: rename cirrus_hook_read_cr() cirrus_vga_read_cr()

Simplify the logic to do everything inside the function.  Return 0xff if index is out of range independetly of DEBUG_CIRRUS

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/cirrus_vga.c