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
This commit is contained in:
Andrew Turner 2018-06-13 12:26:37 +00:00
parent ab35e1c71b
commit 811880f2a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335054

View File

@ -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)