This series improves the sm501 display controller emulation fixing endianness problems that caused mixed up colors in LE hosts, fix hardware cursor and adding panel layer support and some missing registers. The first few patches update the code style and QOMify the device before changes are made to it in subsequent patches.
Including qemu-trivial list as well, both because some of the patches are trivial and also I'm not sure how actively maintained this part is so that also may need attention from the trivial list to get this merged. The changes were tested with sh4 image at https://people.debian.org/~aurel32/qemu/sh4/ which accepts video= kernel parameter to excercise different screen modes. BALATON Zoltan (10): sm501: Fixed code style and a few typos in comments sm501: Use defines instead of constants where available sm501: QOMify sm501: Add emulation of chip connected via PCI sm501: Add missing arbitration control register sm501: Fix device endianness sm501: Fix hardware cursor sm501: Add support for panel layer sm501: Add some more missing registers ppc: Add SM501 device in config for ppc and ppcemb targets default-configs/ppc-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + hw/display/sm501.c | 1546 ++++++++++++++++++++---------------- hw/display/sm501_template.h | 92 +-- hw/sh4/r2d.c | 11 +- include/hw/devices.h | 5 - 6 files changed, 920 insertions(+), 736 deletions(-) -- 2.7.4