![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <stddef.h>
#include <inttypes.h>
#include "tfm_hal_device_header.h"
#include "cmsis_compiler.h"
Go to the source code of this file.
Data Structures | |
struct | tfm_state_context_t |
Macros | |
#define | XPSR_T32 0x01000000 |
#define | TFM_STATE_RET_VAL(ctx) (((struct tfm_state_context_t *)((ctx)->sp))->r0) |
Functions | |
__STATIC_INLINE void | tfm_arch_trigger_pendsv (void) |
__STATIC_INLINE uint32_t | __get_LR (void) |
Get Link Register. More... | |
__STATIC_INLINE uint32_t | __get_active_exc_num (void) |
__STATIC_INLINE void | __set_CONTROL_SPSEL (uint32_t SPSEL) |
void | tfm_arch_init_actx (struct tfm_arch_ctx_t *p_actx, uint32_t sp, uint32_t sp_limit) |
void | tfm_arch_set_secure_exception_priorities (void) |
void | tfm_arch_configure_coprocessors (void) |
Configure coprocessors. More... | |
void | tfm_arch_clear_fp_status (void) |
void | tfm_arch_init_context (struct tfm_arch_ctx_t *p_actx, void *param, uintptr_t pfn, uintptr_t stk_btm, uintptr_t stk_top) |
#define TFM_STATE_RET_VAL | ( | ctx | ) | (((struct tfm_state_context_t *)((ctx)->sp))->r0) |
Definition at line 41 of file tfm_arch.h.
#define XPSR_T32 0x01000000 |
Definition at line 27 of file tfm_arch.h.
__STATIC_INLINE uint32_t __get_active_exc_num | ( | void | ) |
__STATIC_INLINE uint32_t __get_LR | ( | void | ) |
Get Link Register.
Returns the value of the Link Register (LR)
Definition at line 55 of file tfm_arch.h.
__STATIC_INLINE void __set_CONTROL_SPSEL | ( | uint32_t | SPSEL | ) |
Definition at line 75 of file tfm_arch.h.
void tfm_arch_clear_fp_status | ( | void | ) |
void tfm_arch_configure_coprocessors | ( | void | ) |
void tfm_arch_init_actx | ( | struct tfm_arch_ctx_t * | p_actx, |
uint32_t | sp, | ||
uint32_t | sp_limit | ||
) |
void tfm_arch_init_context | ( | struct tfm_arch_ctx_t * | p_actx, |
void * | param, | ||
uintptr_t | pfn, | ||
uintptr_t | stk_btm, | ||
uintptr_t | stk_top | ||
) |
Definition at line 57 of file tfm_arch.c.
void tfm_arch_set_secure_exception_priorities | ( | void | ) |
__STATIC_INLINE void tfm_arch_trigger_pendsv | ( | void | ) |