* Re: [Qemu-devel] [Qemu-ppc] [PATCH 7/7] mac_newworld: add PMU device
@ 2018-06-13 16:22 Programmingkid
0 siblings, 0 replies; only message in thread
From: Programmingkid @ 2018-06-13 16:22 UTC (permalink / raw)
To: Mark Cave-Ayland
Cc: QEMU Developers, list@suse.de:PowerPC list:PowerPC, David Gibson
+static uint64_t mos6522_pmu_read(void *opaque, hwaddr addr, unsigned size)
+{
+ PMUState *s = opaque;
+ MOS6522PMUState *mps = &s->mos6522_pmu;
+ MOS6522State *ms = MOS6522(mps);
+
+ addr = (addr >> 9) & 0xf;
This 9 should be replaced with a macro that communicates what this value means.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-13 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 16:22 [Qemu-devel] [Qemu-ppc] [PATCH 7/7] mac_newworld: add PMU device Programmingkid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).