]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.c
target/arm: Add pre-EL change hooks
authorAaron Lindsay <alindsay@codeaurora.org>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Apr 2018 10:04:39 +0000 (11:04 +0100)
commitb5c53d1b3886387874f8c8582b205aeb3e4c3df6
treeb8251ec8be6ee34441c47bd9b274abcdac4fcbf6
parent08267487c99e8150382420936ab72c1e0ad74ce3
target/arm: Add pre-EL change hooks

Because the design of the PMU requires that the counter values be
converted between their delta and guest-visible forms for mode
filtering, an additional hook which occurs before the EL is changed is
necessary.

Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
Message-id: 1523997485-1905-8-git-send-email-alindsay@codeaurora.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h
target/arm/op_helper.c