summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorAaron Lindsay2019-01-21 11:23:14 +0100
committerPeter Maydell2019-01-21 11:38:56 +0100
commit57a4a11b2b281bb548b419ca81bfafb214e4c77a (patch)
treeb5e07b8cc53a4b987034c9b646225b58f00b6904 /scripts/modules
parenttarget/arm: Make PMCEID[01]_EL0 64 bit registers, add PMCEID[23] (diff)
downloadqemu-57a4a11b2b281bb548b419ca81bfafb214e4c77a.tar.gz
qemu-57a4a11b2b281bb548b419ca81bfafb214e4c77a.tar.xz
qemu-57a4a11b2b281bb548b419ca81bfafb214e4c77a.zip
target/arm: Add array for supported PMU events, generate PMCEID[01]_EL0
This commit doesn't add any supported events, but provides the framework for adding them. We store the pm_event structs in a simple array, and provide the mapping from the event numbers to array indexes in the supported_event_map array. Because the value of PMCEID[01] depends upon which events are supported at runtime, generate it dynamically. Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20181211151945.29137-10-aaron@os.amperecomputing.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions