|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Secure-side fault handler for NS -> S violations. More...
Go to the source code of this file.
Enumerations | |
| enum | ra8_secure_excep_addr_t : uintptr_t { k_ra8_sfsr_addr = 0xE000EDE4UL } |
Functions | |
| void | SecureFault_Handler (void) |
| Cortex-M85 SecureFault handler (NVIC vector 7). | |
Variables | |
| static const char * | s_tag = "SECEXC" |
Secure-side fault handler for NS -> S violations.
deliverable. When a Non-Secure caller tries to read a Secure address (or call a Secure function that has not been exposed via a NSC veneer), the Cortex-M85 raises a SecureFault. The handler in this file:
The handler runs in the secure world. NS code cannot reach it directly because the SFSR register at 0xE000EDE4 is in the secure-only system control region.
Definition in file secure_exception.c.
| enum ra8_secure_excep_addr_t : uintptr_t |
| Enumerator | |
|---|---|
| k_ra8_sfsr_addr | SecureFault Status Register. |
Definition at line 35 of file secure_exception.c.
| void SecureFault_Handler | ( | void | ) |
Cortex-M85 SecureFault handler (NVIC vector 7).
Cortex-M85 SecureFault handler (vector table slot 7).
Vector_table.c installs this in the SecureFault slot when the firmware is built with RA8_TRUSTZONE_ENABLE. With TZ off the function is dead-stripped because nothing references it.
Definition at line 62 of file secure_exception.c.
References k_ra8_sfsr_addr, ra8_log_error_val, and s_tag.
|
static |
Definition at line 33 of file secure_exception.c.