diff options
author | Alan DeMars <ademars@ti.com> | 2019-10-22 08:23:29 -0700 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2019-11-18 05:46:45 +0000 |
commit | 6184469e36f99ef23d3c7bae2e74c12fc720f96a (patch) | |
tree | 34e4bb64cdbc18f8a15574f17254e084a5e1126d /CommonConfig.cmake | |
parent | f050170fd4950c6a6336d244e2745d2a2bb081ca (diff) | |
download | trusted-firmware-m-6184469e36f99ef23d3c7bae2e74c12fc720f96a.tar.gz |
Core: Enable platform specific extensions to the core set of SVC handlers
Support is provided for both the PSA IPC and Library models.
To enable platform specific SVC handlers, add
-DPLATFORM_SVC_HANDLERS=True to the CMAKE command line.
When PLATFORM_SVC_HANDLERS is defined, user must provide an
implementation of:
int32_t platform_svc_handlers(tfm_svc_number_t svc_num,
uint32_t *ctx, uint32_t lr);
Change-Id: I5fc641038732d2630e954f6c9b12df929b65c24a
Signed-off-by: Alan DeMars <ademars@ti.com>
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r-- | CommonConfig.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake index 0c9c76460c..0e83118ae2 100644 --- a/CommonConfig.cmake +++ b/CommonConfig.cmake @@ -155,6 +155,10 @@ endif() # Option to demonstrate usage of secure-only peripheral set (SECURE_UART1 OFF) +if (PLATFORM_SVC_HANDLERS) + add_definitions(-DPLATFORM_SVC_HANDLERS) +endif() + if (REGRESSION) set(SERVICES_TEST_ENABLED ON) endif() |