Searched hist:"20 fae0a7ce7fd407cd3efb7745017ee6ab605159" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/services/std_svc/spm/el3_spmc/ |
| H A D | spmc_main.c | 20fae0a7ce7fd407cd3efb7745017ee6ab605159 Mon Nov 29 17:17:29 UTC 2021 Marc Bonnici <marc.bonnici@arm.com> 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
|