aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/psci
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-06-13 12:26:37 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-06-13 12:26:37 +0000
commit811880f2a46be5039faa048ee7822c4e118ac741 (patch)
tree06996d381f624f65ca875181b82b900b33ce0d87 /sys/dev/psci
parentab35e1c71baa2084c05ec0caeb4fa66e2553040c (diff)
downloadsrc-811880f2a46be5039faa048ee7822c4e118ac741.tar.gz
src-811880f2a46be5039faa048ee7822c4e118ac741.zip
Add the PSCI_FEATURES function ID. This is found in PSCI 1.0 and is used
to query if a given function is implemented and its features. Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=335054
Diffstat (limited to 'sys/dev/psci')
-rw-r--r--sys/dev/psci/psci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/psci/psci.h b/sys/dev/psci/psci.h
index 8f6759137c5d..b24154ba4a97 100644
--- a/sys/dev/psci/psci.h
+++ b/sys/dev/psci/psci.h
@@ -74,6 +74,7 @@ int psci_get_version(void);
#define PSCI_FNID_MIGRATE_INFO_UP_CPU 0xc4000007
#define PSCI_FNID_SYSTEM_OFF 0x84000008
#define PSCI_FNID_SYSTEM_RESET 0x84000009
+#define PSCI_FNID_FEATURES 0x8400000a
#else
#define PSCI_FNID_VERSION 0x84000000
#define PSCI_FNID_CPU_SUSPEND 0x84000001
@@ -85,6 +86,7 @@ int psci_get_version(void);
#define PSCI_FNID_MIGRATE_INFO_UP_CPU 0x84000007
#define PSCI_FNID_SYSTEM_OFF 0x84000008
#define PSCI_FNID_SYSTEM_RESET 0x84000009
+#define PSCI_FNID_FEATURES 0x8400000a
#endif
#define PSCI_VER_MAJOR(v) (((v) >> 16) & 0xFF)