mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Add PSCI affinity info return values
These can be returned from the PSCI AFFINITY_INFO call. This is not marked as optional so bhyve will need to implement it & can use these macros. Sponsored by: Arm Ltd
This commit is contained in:
parent
e89be21854
commit
7d0b915919
|
@ -105,6 +105,10 @@ psci_call(register_t a, register_t b, register_t c, register_t d)
|
|||
#define PSCI_VER_MINOR(v) ((v) & 0xFF)
|
||||
#define PSCI_VER(maj, min) (((maj) << 16) | (min))
|
||||
|
||||
#define PSCI_AFFINITY_INFO_ON 0
|
||||
#define PSCI_AFFINITY_INFO_OFF 1
|
||||
#define PSCI_AFFINITY_INFO_ON_PENDING 2
|
||||
|
||||
#ifdef _KERNEL
|
||||
enum psci_fn {
|
||||
PSCI_FN_VERSION,
|
||||
|
|
Loading…
Reference in a new issue