diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-03-13 13:16:12 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2018-03-19 11:54:40 +0000 |
commit | 90d54fce5f4c2ed0ab4de290e2c47f9093d998b2 (patch) | |
tree | 67090a9fa733bf5465ad520d966e6f1ff64559f8 /include/lib/aarch64/arch.h | |
parent | 2c95f88f8fff99f8ab41bd1a7fd6b9100b18e445 (diff) |
Cactus: Move legacy MM_COMMUNICATE code in a sub-directory
The goal is to easily build a version of Cactus that speaks the
MM_COMMUNICATE legacy language, without interfering with the new
SPCI/SPRT interfaces.
This patch introduces the notion of "profile" for Cactus. For now, the
only profile is "legacy". In a subsequent patch we will introduce a
profile for SPCI/SPRT. Profiles are specified on the command line when
building Cactus, e.g.:
> make CACTUS_PROFILE=legacy cactus
The initialisation code is shared amongst all profiles but then each
profile is supposed to provide its own version of the
secure_services_loop() function, which is called from cactus_main().
The profile name is printed in the version string at boot time.
The cactus_sleep() function has been moved to the cactus_helpers.c
file because it will be shared amongst the legacy and SPCI/SPRT
profiles.
Change-Id: Iab1d0ec972f9bd5b818eec6eed131fd0ea328c51
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'include/lib/aarch64/arch.h')
0 files changed, 0 insertions, 0 deletions