]> git.baikalelectronics.ru Git - arm-tf.git/commit
PSCI: Switch to the new PSCI frameworks
authorSoby Mathew <soby.mathew@arm.com>
Mon, 13 Jul 2015 13:10:57 +0000 (14:10 +0100)
committerAchin Gupta <achin.gupta@arm.com>
Thu, 13 Aug 2015 22:47:57 +0000 (23:47 +0100)
commit674878464a93bb6d6bf6cb746fc4b9dba6e101ac
tree1fffba7dce2aaa5a83d74696d5d720afb43c5922
parent32bc85f2d5234fbc4d1f724db3d033b8e1be5dd3
PSCI: Switch to the new PSCI frameworks

This commit does the switch to the new PSCI framework implementation replacing
the existing files in PSCI folder with the ones in PSCI1.0 folder. The
corresponding makefiles are modified as required for the new implementation.
The platform.h header file is also is switched to the new one
as required by the new frameworks. The build flag ENABLE_PLAT_COMPAT defaults
to 1 to enable compatibility layer which let the existing platform ports to
continue to build and run with minimal changes.

The default weak implementation of platform_get_core_pos() is now removed from
platform_helpers.S and is provided by the compatibility layer.

Note: The Secure Payloads and their dispatchers still use the old platform
and framework APIs and hence it is expected that the ENABLE_PLAT_COMPAT build
flag will remain enabled in subsequent patch. The compatibility for SPDs using
the older APIs on platforms migrated to the new APIs will be added in the
following patch.

Change-Id: I18c51b3a085b564aa05fdd98d11c9f3335712719
34 files changed:
Makefile
bl31/bl31.mk
include/bl31/services/psci.h
include/bl31/services/psci1.0/psci.h [deleted file]
include/bl31/services/psci1.0/psci_compat.h [deleted file]
include/bl31/services/psci_compat.h [new file with mode: 0644]
include/common/asm_macros.S
include/plat/common/platform.h
include/plat/common/psci1.0/platform.h [deleted file]
plat/common/aarch64/platform_helpers.S
plat/common/aarch64/platform_mp_stack.S
services/std_svc/psci/psci_afflvl_off.c [deleted file]
services/std_svc/psci/psci_afflvl_on.c [deleted file]
services/std_svc/psci/psci_afflvl_suspend.c [deleted file]
services/std_svc/psci/psci_common.c
services/std_svc/psci/psci_entry.S
services/std_svc/psci/psci_helpers.S
services/std_svc/psci/psci_main.c
services/std_svc/psci/psci_off.c [new file with mode: 0644]
services/std_svc/psci/psci_on.c [new file with mode: 0644]
services/std_svc/psci/psci_private.h
services/std_svc/psci/psci_setup.c
services/std_svc/psci/psci_suspend.c [new file with mode: 0644]
services/std_svc/psci/psci_system_off.c
services/std_svc/psci1.0/psci_common.c [deleted file]
services/std_svc/psci1.0/psci_entry.S [deleted file]
services/std_svc/psci1.0/psci_helpers.S [deleted file]
services/std_svc/psci1.0/psci_main.c [deleted file]
services/std_svc/psci1.0/psci_off.c [deleted file]
services/std_svc/psci1.0/psci_on.c [deleted file]
services/std_svc/psci1.0/psci_private.h [deleted file]
services/std_svc/psci1.0/psci_setup.c [deleted file]
services/std_svc/psci1.0/psci_suspend.c [deleted file]
services/std_svc/psci1.0/psci_system_off.c [deleted file]