misc: introduce new mos6522 VIA device and enable it for ppc builds
commit51f233ec92cdab7030cb7407dd7f009911c805b0
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 9 Feb 2018 18:51:39 +0000 (9 18:51 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 10 Feb 2018 23:18:52 +0000 (11 10:18 +1100)
tree269960c72ca88d63bf484bd602d214d4cd172a35
parentce19480e916fe2f854a98b99149a18d0d78e71e5
misc: introduce new mos6522 VIA device and enable it for ppc builds

The MOS6522 VIA forms the bridge part of several Mac devices, including the
Mac via-cuda and via-pmu devices. Introduce a standard mos6522 device that
can be shared amongst multiple implementations.

This is effectively taking the 6522 parts out of cuda.c and turning them
into a separate device whilst also applying some style tidy-ups and including
a conversion to trace-events.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
default-configs/ppc-softmmu.mak
hw/misc/Makefile.objs
hw/misc/mos6522.c [new file with mode: 0644]
hw/misc/trace-events
include/hw/misc/mos6522.h [new file with mode: 0644]