Implement PSCI_FEATURES API
authorSoby Mathew <soby.mathew@arm.com>
Wed, 7 Jan 2015 11:10:22 +0000 (11:10 +0000)
committerDan Handley <dan.handley@arm.com>
Mon, 26 Jan 2015 12:42:45 +0000 (12:42 +0000)
commit90e8258eec95bcad556426597489a34208232e39
tree6dbd2e17c713c92cee5596be16d659cfd249c355
parent8991eed7439cb565da505a2bf88e9ac87ad79c1c
Implement PSCI_FEATURES API

This patch implements the PSCI_FEATURES function which is a mandatory
API in the PSCI 1.0 specification. A capability variable is
constructed during initialization by examining the plat_pm_ops and
spd_pm_ops exported by the platform and the Secure Payload Dispatcher.
This is used by the PSCI FEATURES function to determine which
PSCI APIs are supported by the platform.

Change-Id: I147ffc1bd5d90b469bd3cc4bbe0a20e95c247df7
include/bl31/runtime_svc.h
include/bl31/services/psci.h
services/std_svc/psci/psci_common.c
services/std_svc/psci/psci_main.c
services/std_svc/psci/psci_private.h
services/std_svc/psci/psci_setup.c