target-arm: Rename QEMU PSCI v0.1 definitions
commita65c9c17cef16bcb98ec6cf4feb8676c1a2d1168
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 19 Aug 2014 17:56:27 +0000 (19 18:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Aug 2014 18:02:03 +0000 (19 19:02 +0100)
treef75261e540bf59066b281e622d79aaa2d5610254
parent0e5e8935bb93e80bb95dc79f51f5bf874ba2ab99
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>
hw/arm/virt.c
target-arm/kvm-consts.h