summaryrefslogtreecommitdiffstats
path: root/default-configs
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-02-09 19:51:39 +0100
committerDavid Gibson2018-02-11 00:18:52 +0100
commit51f233ec92cdab7030cb7407dd7f009911c805b0 (patch)
tree269960c72ca88d63bf484bd602d214d4cd172a35 /default-configs
parentcuda: factor out timebase-derived counter value and load time (diff)
downloadqemu-51f233ec92cdab7030cb7407dd7f009911c805b0.tar.gz
qemu-51f233ec92cdab7030cb7407dd7f009911c805b0.tar.xz
qemu-51f233ec92cdab7030cb7407dd7f009911c805b0.zip
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>
Diffstat (limited to 'default-configs')
-rw-r--r--default-configs/ppc-softmmu.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 65680d85bc..76e29cfa14 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -30,6 +30,7 @@ CONFIG_MAC=y
CONFIG_ESCC=y
CONFIG_MACIO=y
CONFIG_SUNGEM=y
+CONFIG_MOS6522=y
CONFIG_CUDA=y
CONFIG_ADB=y
CONFIG_MAC_NVRAM=y