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_secure_irq_handlers_ipc.inc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*
6
*/
7
8
/*********** WARNING: This is an auto-generated file. Do not edit! ***********/
9
10
#ifdef TFM_PARTITION_PROTECTED_STORAGE
11
#include "
secure_fw/partitions/protected_storage/psa_manifest/tfm_protected_storage.h
"
12
#endif
13
#ifdef TFM_PARTITION_INTERNAL_TRUSTED_STORAGE
14
#include "
secure_fw/partitions/internal_trusted_storage/psa_manifest/tfm_internal_trusted_storage.h
"
15
#endif
16
#ifdef TFM_PARTITION_AUDIT_LOG
17
#include "
secure_fw/partitions/audit_logging/psa_manifest/tfm_audit_logging.h
"
18
#endif
19
#ifdef TFM_PARTITION_CRYPTO
20
#include "
secure_fw/partitions/crypto/psa_manifest/tfm_crypto.h
"
21
#endif
22
#ifdef TFM_PARTITION_PLATFORM
23
#include "
secure_fw/partitions/platform/psa_manifest/tfm_platform.h
"
24
#endif
25
#ifdef TFM_PARTITION_INITIAL_ATTESTATION
26
#include "
secure_fw/partitions/initial_attestation/psa_manifest/tfm_initial_attestation.h
"
27
#endif
28
#ifdef TFM_PARTITION_TEST_CORE
29
#include "
test\test_services\tfm_core_test\psa_manifest\tfm_ss_core_test.h
"
30
#endif
31
#ifdef TFM_PARTITION_TEST_CORE
32
#include "
test\test_services\tfm_core_test_2\psa_manifest\tfm_ss_core_test_2.h
"
33
#endif
34
#ifdef TFM_PARTITION_TEST_SECURE_SERVICES
35
#include "
test\test_services\tfm_secure_client_service\psa_manifest\tfm_secure_client_service.h
"
36
#endif
37
#ifdef TFM_PARTITION_TEST_CORE_IPC
38
#include "
test\test_services\tfm_ipc_service\psa_manifest\tfm_ipc_service_test.h
"
39
#endif
40
#ifdef TFM_PARTITION_TEST_CORE_IPC
41
#include "
test\test_services\tfm_ipc_client\psa_manifest\tfm_ipc_client_test.h
"
42
#endif
43
#ifdef TFM_ENABLE_IRQ_TEST
44
#include "
test\test_services\tfm_irq_test_service_1\psa_manifest\tfm_irq_test_service_1.h
"
45
#endif
46
#ifdef TFM_PARTITION_TEST_PS
47
#include "
test\test_services\tfm_ps_test_service\psa_manifest\tfm_ps_test_service.h
"
48
#endif
49
#ifdef TFM_PARTITION_TEST_SECURE_SERVICES
50
#include "
test\test_services\tfm_secure_client_2\psa_manifest\tfm_secure_client_2.h
"
51
#endif
52
#include "cmsis_compiler.h"
53
54
/* Definitions of the signals of the IRQs (if any) */
55
const
struct
tfm_core_irq_signal_data_t
tfm_core_irq_signals
[] = {
56
#ifdef TFM_ENABLE_IRQ_TEST
57
{
TFM_IRQ_TEST_1
,
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ
, TFM_TIMER0_IRQ, 64 },
58
#endif
/* TFM_ENABLE_IRQ_TEST */
59
{0, 0, (IRQn_Type) 0, 0}
/* add dummy element to avoid non-standard empty array */
60
};
61
62
const
size_t
tfm_core_irq_signals_count
= (
sizeof
(
tfm_core_irq_signals
) /
63
sizeof
(*tfm_core_irq_signals)) - 1;
/* adjust for the dummy element */
64
65
/* Definitions of privileged IRQ handlers (if any) */
66
#ifdef TFM_ENABLE_IRQ_TEST
67
void
TFM_TIMER0_IRQ_Handler(
void
)
68
{
69
__disable_irq();
70
/* It is OK to call tfm_irq_handler directly from here, as we are already
71
* in handler mode, and we will not be pre-empted as we disabled interrupts
72
*/
73
tfm_irq_handler
(
TFM_IRQ_TEST_1
,
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ
, TFM_TIMER0_IRQ);
74
__enable_irq();
75
}
76
77
#endif
/* TFM_ENABLE_IRQ_TEST */
78
tfm_irq_handler
void tfm_irq_handler(uint32_t partition_id, psa_signal_t signal, IRQn_Type irq_line)
assert signal for a given IRQ line.
Definition:
spm_ipc.c:874
tfm_core_irq_signal_data_t
Definition:
tfm_irq_list.h:16
tfm_ipc_service_test.h
tfm_audit_logging.h
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ
#define SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ
Definition:
tfm_irq_test_service_1.h:20
tfm_internal_trusted_storage.h
tfm_ss_core_test_2.h
tfm_secure_client_2.h
tfm_ss_core_test.h
tfm_ipc_client_test.h
tfm_initial_attestation.h
tfm_protected_storage.h
tfm_platform.h
tfm_crypto.h
tfm_irq_test_service_1.h
tfm_ps_test_service.h
tfm_core_irq_signals_count
const size_t tfm_core_irq_signals_count
Definition:
tfm_secure_irq_handlers_ipc.inc:62
tfm_secure_client_service.h
tfm_core_irq_signals
const struct tfm_core_irq_signal_data_t tfm_core_irq_signals[]
Definition:
tfm_secure_irq_handlers_ipc.inc:55
TFM_IRQ_TEST_1
#define TFM_IRQ_TEST_1
Definition:
pid.h:28
secure_fw
spm
cmsis_psa
tfm_secure_irq_handlers_ipc.inc
Generated on Thu Feb 18 2021 13:29:10 for TF-M Reference Manual by
1.8.6