Mistake on this page?
Report an issue in GitHub or email us
tfm_svc.h
1 /*
2  * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_SVC_H__
9 #define __TFM_SVC_H__
10 
11 #include "cmsis.h"
12 
13 typedef enum {
14  TFM_SVC_SFN_REQUEST = 0,
15  TFM_SVC_SFN_RETURN,
16  TFM_SVC_VALIDATE_SECURE_CALLER,
17  TFM_SVC_GET_CALLER_CLIENT_ID,
18  TFM_SVC_MEMORY_CHECK,
19  TFM_SVC_SET_SHARE_AREA,
20  TFM_SVC_SPM_REQUEST,
21  TFM_SVC_PRINT,
22  TFM_SVC_GET_BOOT_DATA,
23 #ifdef TFM_PSA_API
24  TFM_SVC_IPC_REQUEST,
25  TFM_SVC_SCHEDULE,
26  TFM_SVC_EXIT_THRD,
27  /* PSA Client SVC */
28  TFM_SVC_PSA_FRAMEWORK_VERSION,
29  TFM_SVC_PSA_VERSION,
30  TFM_SVC_PSA_CONNECT,
31  TFM_SVC_PSA_CALL,
32  TFM_SVC_PSA_CLOSE,
33  /* PSA Service SVC */
34  TFM_SVC_PSA_WAIT,
35  TFM_SVC_PSA_GET,
36  TFM_SVC_PSA_SET_RHANDLE,
37  TFM_SVC_PSA_READ,
38  TFM_SVC_PSA_SKIP,
39  TFM_SVC_PSA_WRITE,
40  TFM_SVC_PSA_REPLY,
41  TFM_SVC_PSA_NOTIFY,
42  TFM_SVC_PSA_CLEAR,
43  TFM_SVC_PSA_EOI,
44 #endif
45 } tfm_svc_number_t;
46 
47 #define SVC(code) __ASM volatile("svc %0" : : "I" (code))
48 
49 #endif /* __TFM_SVC_H__ */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.