arm-trusted-firmware/services/std_svc/spm/el3_spmc
Marc Bonnici 20fae0a7ce feat(spmc): add function to determine the return path from the SPMC
Use knowledge of the target partition ID and source security state
to determine which route should be used to exit the SPMC.

There are 3 exit paths:
1) Return to the normal world via the SPMD, this will take care of
   switching contexts if required.
2) Return to the secure world when the call originated in the normal
   world and therefore switch contexts.
3) Return to the secure world when the call originated in the secure
   world, therefore we can return directly.

Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: I4037f3a8a8519e2c9f1876be92806d2c41d0d154
2022-04-20 19:40:31 +01:00
..
spmc.h feat(spmc): add FF-A secure partition manager core 2022-04-20 18:29:30 +01:00
spmc.mk feat(spmc): add FF-A secure partition manager core 2022-04-20 18:29:30 +01:00
spmc_main.c feat(spmc): add function to determine the return path from the SPMC 2022-04-20 19:40:31 +01:00
spmc_setup.c feat(spmc): add FF-A secure partition manager core 2022-04-20 18:29:30 +01:00