]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-arm: Rename QEMU PSCI v0.1 definitions
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 19 Aug 2014 17:56:27 +0000 (18:56 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 8 Sep 2014 16:23:05 +0000 (11:23 -0500)
commit2f6d5e1c9c42b6fd7ef6045d9101c0af131f444a
tree04930fc51d8b57c9b3cdb0d91604cdf932197a4e
parent20463dc874bb24a847e6003678d740270bf479d1
target-arm: Rename QEMU PSCI v0.1 definitions

The function IDs for PSCI v0.1 are exported by KVM and defined as
KVM_PSCI_FN_<something>.  To build using these defines in non-KVM code,
QEMU defines these IDs locally and check their correctness against the
KVM headers when those are available.

However, the naming scheme used for QEMU (almost) clashes with the PSCI
v0.2 definitions from Linux so to avoid unfortunate naming when we
introduce local PSCI v0.2 defines, rename the current local defines with
QEMU_ prependend and clearly identify the PSCI version as v0.1 in the
defines.

Cc: qemu-stable@nongnu.org
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit a65c9c17cef16bcb98ec6cf4feb8676c1a2d1168)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/arm/virt.c
target-arm/kvm-consts.h