SPM: Redirect PSA API runtimely instead of statically
The previous PSA API redirecting is statically performed in header files, based on C preprocessors exported by the configuration system. The C preprocessors make the configuration maintenance harder, and users could not find the exact PSA API name in debug symbols, which is confusing. Now the redirecting turns into a runtime behavior. SPRTL calls corresponded ABI for PSA API. The ABI is set in the Secure Partition local storage by SPM when booting, based on Secure Partition types. Check 'prv_process_metadata' and 'psa_api_ipc.c' for details. Co-authored-by:Ken Liu <ken.liu@arm.com> Signed-off-by:
Sherry Zhang <sherry.zhang2@arm.com> Change-Id: Ifc974941ddb6653389d9deca9f18f754b8f25b27
Loading
Please register or sign in to comment