Date: Wed, 13 Jun 2018 12:26:38 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335054 - head/sys/dev/psci Message-ID: <201806131226.w5DCQcw0003198@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Wed Jun 13 12:26:37 2018 New Revision: 335054 URL: https://svnweb.freebsd.org/changeset/base/335054 Log: 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 Modified: head/sys/dev/psci/psci.h Modified: head/sys/dev/psci/psci.h ============================================================================== --- head/sys/dev/psci/psci.h Wed Jun 13 12:22:00 2018 (r335053) +++ head/sys/dev/psci/psci.h Wed Jun 13 12:26:37 2018 (r335054) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806131226.w5DCQcw0003198>