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.inc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-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 "
psa_manifest/pid.h
"
53
54
/* Definitions of the signals of the IRQs */
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
extern
void
priv_irq_handler_main
(uint32_t
partition_id
,
66
uint32_t unpriv_handler,
67
uint32_t irq_signal,
68
uint32_t
irq_line
);
69
70
/* Forward declarations of unpriv IRQ handlers*/
71
#ifdef TFM_ENABLE_IRQ_TEST
72
extern
void
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ_isr
(
void
);
73
#endif
/* TFM_ENABLE_IRQ_TEST */
74
75
76
/* Definitions of privileged IRQ handlers */
77
#ifdef TFM_ENABLE_IRQ_TEST
78
void
TFM_TIMER0_IRQ_Handler(
void
)
79
{
80
priv_irq_handler_main
(
TFM_IRQ_TEST_1
,
81
(uint32_t)
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ_isr
,
82
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ
,
83
TFM_TIMER0_IRQ);
84
}
85
86
#endif
/* TFM_ENABLE_IRQ_TEST */
87
tfm_core_irq_signal_data_t
Definition:
tfm_irq_list.h:16
tfm_ipc_service_test.h
tfm_core_irq_signals
const struct tfm_core_irq_signal_data_t tfm_core_irq_signals[]
Definition:
tfm_secure_irq_handlers.inc:55
tfm_audit_logging.h
tfm_core_irq_signal_data_t::partition_id
int32_t partition_id
Definition:
tfm_irq_list.h:17
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
SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ_isr
void SPM_CORE_IRQ_TEST_1_SIGNAL_TIMER_0_IRQ_isr(void)
Definition:
tfm_irq_test_service_1.c:157
tfm_platform.h
tfm_core_irq_signals_count
const size_t tfm_core_irq_signals_count
Definition:
tfm_secure_irq_handlers.inc:62
tfm_core_irq_signal_data_t::irq_line
IRQn_Type irq_line
Definition:
tfm_irq_list.h:19
priv_irq_handler_main
void priv_irq_handler_main(uint32_t partition_id, uint32_t unpriv_handler, uint32_t irq_signal, uint32_t irq_line)
tfm_crypto.h
tfm_irq_test_service_1.h
tfm_ps_test_service.h
tfm_secure_client_service.h
pid.h
TFM_IRQ_TEST_1
#define TFM_IRQ_TEST_1
Definition:
pid.h:28
secure_fw
spm
cmsis_func
tfm_secure_irq_handlers.inc
Generated on Thu Feb 18 2021 13:29:10 for TF-M Reference Manual by
1.8.6