]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(spmc): add FF-A secure partition manager core
authorMarc Bonnici <marc.bonnici@arm.com>
Wed, 1 Dec 2021 17:57:04 +0000 (17:57 +0000)
committerMarc Bonnici <marc.bonnici@arm.com>
Wed, 20 Apr 2022 17:29:30 +0000 (18:29 +0100)
commit5096aeb2ba646548a7a6ab59e975b996e6c9026a
treecedada552e2701527c2948fffb35e27a8c70d38a
parent70d986ddbbf56a20c7550c079dd4dc9462332594
feat(spmc): add FF-A secure partition manager core

This patch introduces the core support for enabling an SPMC in EL3
as per the FF-A spec.

The current implemented functionality is targeted to enable
initialization of the SPMC itself and initial support for
bringing up a single S-EL1 SP.

This includes initialization of the SPMC's internal state,
parsing of an SP's manifest, preparing the cpu contexts and
appropriate system registers for the Secure Partition.

The spmc_smc_handler is the main handler for all incoming SMCs
to the SPMC, FF-A ABI handlers and functionality will
be implemented in subsequent patches.

Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: Ib33c240b91e54cbd018a69fec880d02adfbe12b9
include/services/ffa_svc.h
include/services/spmc_svc.h [new file with mode: 0644]
services/std_svc/spm/el3_spmc/spmc.h [new file with mode: 0644]
services/std_svc/spm/el3_spmc/spmc.mk [new file with mode: 0644]
services/std_svc/spm/el3_spmc/spmc_main.c [new file with mode: 0644]
services/std_svc/spm/el3_spmc/spmc_setup.c [new file with mode: 0644]
services/std_svc/spmd/spmd_private.h