TF-M Reference Manual
1.2.0
TrustedFirmware-M
Main Page
Modules
Data Structures
Files
File List
Globals
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
{
14
TFM_SVC_SFN_REQUEST
= 0,
15
TFM_SVC_SFN_RETURN
,
16
TFM_SVC_GET_CALLER_CLIENT_ID
,
17
TFM_SVC_SPM_REQUEST
,
18
TFM_SVC_GET_BOOT_DATA
,
19
TFM_SVC_DEPRIV_REQ
,
20
TFM_SVC_DEPRIV_RET
,
21
TFM_SVC_ENABLE_IRQ
,
22
TFM_SVC_DISABLE_IRQ
,
23
TFM_SVC_PSA_WAIT
,
24
TFM_SVC_PSA_EOI
,
25
TFM_SVC_HANDLER_MODE
,
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 */
46
}
tfm_svc_number_t
;
47
48
#define SVC(code) __ASM volatile("svc %0" : : "I" (code))
49
50
#endif
/* __TFM_CORE_SVC_H__ */
TFM_SVC_PSA_WAIT
Definition:
tfm_core_svc.h:23
TFM_SVC_PLATFORM_BASE
Definition:
tfm_core_svc.h:45
TFM_SVC_SFN_RETURN
Definition:
tfm_core_svc.h:15
TFM_SVC_DEPRIV_RET
Definition:
tfm_core_svc.h:20
TFM_SVC_DISABLE_IRQ
Definition:
tfm_core_svc.h:22
TFM_SVC_DEPRIV_REQ
Definition:
tfm_core_svc.h:19
TFM_SVC_SPM_REQUEST
Definition:
tfm_core_svc.h:17
TFM_SVC_SFN_REQUEST
Definition:
tfm_core_svc.h:14
TFM_SVC_PSA_EOI
Definition:
tfm_core_svc.h:24
TFM_SVC_GET_BOOT_DATA
Definition:
tfm_core_svc.h:18
tfm_svc_number_t
tfm_svc_number_t
Definition:
tfm_core_svc.h:13
TFM_SVC_GET_CALLER_CLIENT_ID
Definition:
tfm_core_svc.h:16
TFM_SVC_ENABLE_IRQ
Definition:
tfm_core_svc.h:21
TFM_SVC_HANDLER_MODE
Definition:
tfm_core_svc.h:25
secure_fw
include
tfm
tfm_core_svc.h
Generated on Thu Feb 18 2021 13:29:09 for TF-M Reference Manual by
1.8.6