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
tz_context.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-2016 ARM Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*
6
* Licensed under the Apache License, Version 2.0 (the License); you may
7
* not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
14
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*
18
* ----------------------------------------------------------------------------
19
*
20
* $Date: 21. September 2016
21
* $Revision: V1.0
22
*
23
* Project: TrustZone for ARMv8-M
24
* Title: Context Management for ARMv8-M TrustZone
25
*
26
* Version 1.0
27
* Initial Release
28
*---------------------------------------------------------------------------*/
29
30
#ifndef TZ_CONTEXT_H
31
#define TZ_CONTEXT_H
32
33
#include <stdint.h>
34
35
#ifndef TZ_MODULEID_T
36
#define TZ_MODULEID_T
37
typedef
uint32_t
TZ_ModuleId_t
;
39
#endif
40
42
typedef
uint32_t
TZ_MemoryId_t
;
43
46
uint32_t
TZ_InitContextSystem_S
(
void
);
47
52
TZ_MemoryId_t
TZ_AllocModuleContext_S
(
TZ_ModuleId_t
module);
53
57
uint32_t
TZ_FreeModuleContext_S
(
TZ_MemoryId_t
id
);
58
62
uint32_t
TZ_LoadContext_S
(
TZ_MemoryId_t
id
);
63
67
uint32_t
TZ_StoreContext_S
(
TZ_MemoryId_t
id
);
68
69
#endif // TZ_CONTEXT_H
TZ_LoadContext_S
uint32_t TZ_LoadContext_S(TZ_MemoryId_t id)
Definition:
tfm_nspm_func.c:194
TZ_MemoryId_t
uint32_t TZ_MemoryId_t
Definition:
tz_context.h:42
TZ_InitContextSystem_S
uint32_t TZ_InitContextSystem_S(void)
Definition:
tfm_nspm_func.c:85
TZ_FreeModuleContext_S
uint32_t TZ_FreeModuleContext_S(TZ_MemoryId_t id)
Definition:
tfm_nspm_func.c:149
TZ_AllocModuleContext_S
TZ_MemoryId_t TZ_AllocModuleContext_S(TZ_ModuleId_t module)
Definition:
tfm_nspm_func.c:117
TZ_StoreContext_S
uint32_t TZ_StoreContext_S(TZ_MemoryId_t id)
Definition:
tfm_nspm_func.c:233
TZ_ModuleId_t
uint32_t TZ_ModuleId_t
Definition:
tz_context.h:38
interface
include
ext
tz_context.h
Generated on Thu Feb 18 2021 13:29:09 for TF-M Reference Manual by
1.8.6