/trusted-firmware-m-3.7.0/secure_fw/spm/core/arch/ |
D | tfm_arch_v6m_v7m.h | 50 __STATIC_INLINE bool is_return_secure_stack(uint32_t lr) in is_return_secure_stack() argument 52 (void)lr; in is_return_secure_stack() 67 __STATIC_INLINE bool is_default_stacking_rules_apply(uint32_t lr) in is_default_stacking_rules_apply() argument 69 (void)lr; in is_default_stacking_rules_apply() 84 __STATIC_INLINE bool is_stack_alloc_fp_space(uint32_t lr) in is_stack_alloc_fp_space() argument 86 return (lr & EXC_RETURN_FTYPE) ? false : true; in is_stack_alloc_fp_space() 97 __STATIC_INLINE bool is_stack_alloc_fp_space(uint32_t lr) in is_stack_alloc_fp_space() argument 99 (void)lr; in is_stack_alloc_fp_space()
|
/trusted-firmware-m-3.7.0/platform/ext/common/ |
D | exception_info.c | 22 __STATIC_INLINE bool is_return_thread_mode(uint32_t lr) in is_return_thread_mode() argument 25 return !((lr == EXC_RETURN_HANDLER) || (lr == EXC_RETURN_HANDLER_FPU)); in is_return_thread_mode() 28 return (lr & EXC_RETURN_MODE); in is_return_thread_mode() 30 return !(lr == EXC_RETURN_HANDLER); in is_return_thread_mode() 42 __STATIC_INLINE bool is_return_psp(uint32_t lr) in is_return_psp() argument 45 return ((lr == EXC_RETURN_THREAD_PSP) || (lr == EXC_RETURN_THREAD_PSP_FPU)); in is_return_psp() 48 if (is_return_secure_stack(lr)) { in is_return_psp() 50 return ((lr & EXC_RETURN_SPSEL) && is_return_thread_mode(lr)); in is_return_psp() 54 return (sp_sel && is_return_thread_mode(lr)); in is_return_psp() 57 return (lr == EXC_RETURN_THREAD_PSP); in is_return_psp() [all …]
|
/trusted-firmware-m-3.7.0/secure_fw/spm/include/ |
D | tfm_arch_v8m.h | 64 __STATIC_INLINE bool is_return_secure_stack(uint32_t lr) in is_return_secure_stack() argument 66 return (lr & EXC_RETURN_S) ? true : false; in is_return_secure_stack() 88 __STATIC_INLINE bool is_default_stacking_rules_apply(uint32_t lr) in is_default_stacking_rules_apply() argument 90 return (lr & EXC_RETURN_DCRS) ? true : false; in is_default_stacking_rules_apply() 102 __STATIC_INLINE bool is_stack_alloc_fp_space(uint32_t lr) in is_stack_alloc_fp_space() argument 104 return (lr & EXC_RETURN_FTYPE) ? false : true; in is_stack_alloc_fp_space()
|
D | tfm_arch.h | 96 uint32_t lr; member 168 (x)->lr = (uint32_t)(pfnlr); \
|
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | retarget.c | 117 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp); 154 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp) in ProcessHardFault() argument 160 if(lr & 0x40) in ProcessHardFault() 163 if(lr & 4) in ProcessHardFault() 173 if(lr & 4) in ProcessHardFault() 193 return lr; // Keep lr in R0 in ProcessHardFault() 254 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp) in ProcessHardFault() argument 268 secure = (lr & 0x40ul) ? 1 : 0; in ProcessHardFault() 272 if(lr & 4UL) in ProcessHardFault() 286 if(lr & 4) in ProcessHardFault() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/ |
D | platform_svc_handler.c | 16 uint32_t lr) in platform_svc_handlers() argument 18 (void) lr; in platform_svc_handlers()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/corstone310/fvp/ |
D | platform_svc_handler.c | 16 uint32_t lr) in platform_svc_handlers() argument 18 (void) lr; in platform_svc_handlers()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/ |
D | platform_svc_handler.c | 18 uint32_t lr) in platform_svc_handlers() argument 20 (void) lr; in platform_svc_handlers()
|
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | retarget.c | 60 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp); 180 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp) in ProcessHardFault() argument 186 if(lr & 0x40) in ProcessHardFault() 189 if(lr & 4) in ProcessHardFault() 199 if(lr & 4) in ProcessHardFault() 221 return lr; // Keep lr in R0 in ProcessHardFault() 282 uint32_t ProcessHardFault(uint32_t lr, uint32_t msp, uint32_t psp) in ProcessHardFault() argument 295 secure = (lr & 0x40ul)?1ul:0ul; in ProcessHardFault() 299 if(lr & 4UL) in ProcessHardFault() 313 if(lr & 4) in ProcessHardFault() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/cypress/psoc64/Device/Source/gcc/ |
D | startup_psoc64_s.S | 101 bx lr 112 bx lr 122 bx lr
|
D | startup_psoc64_ns.S | 251 bx lr 263 bx lr 274 bx lr
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/hal/CMSIS_Driver/ |
D | low_level_flash.c | 714 uint32_t lr; in NMI_Handler() local 722 lr = __get_LR(); in NMI_Handler() 725 if (((lr) & (0xFU)) == 0xDU) in NMI_Handler()
|
/trusted-firmware-m-3.7.0/docs/security/security_advisories/ |
D | svc_caller_sp_fetching_vulnerability.rst | 41 tst lr, #4 ; EXC_RETURN.SPSEL == ? 45 mov r1, lr ; r1 = EXC_RETURN;
|
/trusted-firmware-m-3.7.0/secure_fw/spm/core/ |
D | tfm_svcalls.c | 35 uint32_t *ctx, uint32_t lr);
|
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Core/Test/ |
D | README.md | 168 a: 4770 bx lr
|