]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm: Finish implementation of PM[X]EVCNTR and PM[X]EVTYPER
authorAaron Lindsay <aaron@os.amperecomputing.com>
Mon, 21 Jan 2019 10:23:14 +0000 (10:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jan 2019 10:38:56 +0000 (10:38 +0000)
commit5ecdd3e47cadae83a62dc92b472f1fe163b56f59
tree854928a018942fe872484847b8878ff22d861869
parent57a4a11b2b281bb548b419ca81bfafb214e4c77a
target/arm: Finish implementation of PM[X]EVCNTR and PM[X]EVTYPER

Add arrays to hold the registers, the definitions themselves, access
functions, and logic to reset counters when PMCR.P is set. Update
filtering code to support counters other than PMCCNTR. Support migration
with raw read/write functions.

Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181211151945.29137-11-aaron@os.amperecomputing.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c