commit | 31f5b71a385e272b6fb5ef0c93e42ed6faec41c7 | [log] [tgz] |
---|---|---|
author | Jianliang Shen <jianliang.shen@arm.com> | Wed Sep 06 15:12:59 2023 +0800 |
committer | Ken Liu <ken.liu@arm.com> | Thu Sep 21 11:30:01 2023 +0200 |
tree | b3e755e1f0114c495b8180bc3efd6515e78015a7 | |
parent | 6867b4d384f6422a353348cc5bd5fc4599c72122 [diff] |
SPM: Combine the same routines in cross call and SVCall Both Cross and SVC calls require these steps: - Enter the call - Check stack pointer, switch to SPM stack if caller is not NS agent. - Lock scheduler - Verify the return value - Exit the call - Unlock scheduler - Trigger PendSV if necessary This patch renames and reuses the two cross call functions for SVCall usage. Signed-off-by: Jianliang Shen <jianliang.shen@arm.com> Change-Id: I7bb924f55fdcbb8c27fa775920a0a69c932df56b