diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-08-28 15:47:19 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-10 11:44:01 +0100 |
commit | e6fb0c4b80b129ba2bf946de2db170ec99c7b114 (patch) | |
tree | 7f0f4fbd65205ba0148c090a9da18ff0f26f392c /xen/include/asm-arm | |
parent | 50718fc3c5981df5c393a97b7b5a0dcc9ba78004 (diff) | |
download | xen-e6fb0c4b80b129ba2bf946de2db170ec99c7b114.tar.gz xen-e6fb0c4b80b129ba2bf946de2db170ec99c7b114.tar.bz2 xen-e6fb0c4b80b129ba2bf946de2db170ec99c7b114.zip |
xen/arm: Move __PSCI* from traps.c to the header
These defines will be used to create the fake PSCI node in dom0 device tree.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm')
-rw-r--r-- | xen/include/asm-arm/psci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/asm-arm/psci.h b/xen/include/asm-arm/psci.h index 67d4c35f71..fdba636752 100644 --- a/xen/include/asm-arm/psci.h +++ b/xen/include/asm-arm/psci.h @@ -6,6 +6,11 @@ #define PSCI_EINVAL -2 #define PSCI_DENIED -3 +#define __PSCI_cpu_suspend 0 +#define __PSCI_cpu_off 1 +#define __PSCI_cpu_on 2 +#define __PSCI_migrate 3 + int do_psci_cpu_on(uint32_t vcpuid, register_t entry_point); int do_psci_cpu_off(uint32_t power_state); int do_psci_cpu_suspend(uint32_t power_state, register_t entry_point); |