TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_core_svc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_CORE_SVC_H__
9 #define __TFM_CORE_SVC_H__
10 
11 #include "tfm_hal_device_header.h"
12 
13 typedef enum {
26 #ifdef TFM_PSA_API
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_GET,
35  TFM_SVC_PSA_SET_RHANDLE,
36  TFM_SVC_PSA_READ,
37  TFM_SVC_PSA_SKIP,
38  TFM_SVC_PSA_WRITE,
39  TFM_SVC_PSA_REPLY,
40  TFM_SVC_PSA_NOTIFY,
41  TFM_SVC_PSA_CLEAR,
42  TFM_SVC_PSA_PANIC,
43  TFM_SVC_PSA_LIFECYCLE,
44 #endif
45  TFM_SVC_PLATFORM_BASE = 50 /* leave room for additional Core handlers */
47 
48 #define SVC(code) __ASM volatile("svc %0" : : "I" (code))
49 
50 #endif /* __TFM_CORE_SVC_H__ */
tfm_svc_number_t
Definition: tfm_core_svc.h:13