On 11/24/2011 03:27 PM, Peter Maydell wrote:
If it doesn't make sense to hand off cp15 accesses that's fine, though -- I want to do this refactoring for the A15 system mode implementation in qemu anyway, because I really don't think we should try to shoehorn in yet another cpu implementation into the current set of switch statements...
It looks (from a brief glance at the code) like ppc kvm does handoff-to-qemu with the DCRs, incidentally.
Not for SPRs, though, which may be more analogous to ARM's cp15 (and are where timers are implemented).
DCRs are more like the the PPC 4xx family's version of x86 I/O ports.
-Scott