|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Cortex-M85 TrustZone-M SAU bring-up entry point. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| void | ra8_trustzone_init (void) |
| Programme + enable the SAU per the partition. | |
Variables | |
J-Link bench-probe verdict globals | |
The TrustZone bring-up TU that defines ra8_trustzone_init() latches its per-step verdicts into these volatile globals so a debugger can read them across a halt without any console. They are a bench-probe interface, NOT an API: firmware code other than the defining TU must never read or write them. Each defining TU provides the subset it latches; the others stay undefined and unreferenced in that image.
| |
| volatile uint32_t | g_tz_usb_psarb_readback |
| Confirmed PSARB read-back after the USBFS NS-attribution write. | |
| volatile uint32_t | g_tz_usb_pins_err |
| First non-OK ra8_err_t from the USB pin + PLL setup (0 = OK). | |
| volatile uint32_t | g_tz_usb_expander_err |
| Last ra8_err_t from the U15 I/O-expander host-mode write (0 = OK). | |
| volatile uint32_t | g_tz_jump_ns_err |
| Denial verdict from ra8_tz_secure_boot_jump_ns (0 = never denied). | |
Cortex-M85 TrustZone-M SAU bring-up entry point.
Declares the board composition hook that programs the validated RA8P1 secure attribution map before non-secure execution begins.
Definition in file trustzone_init.h.
| void ra8_trustzone_init | ( | void | ) |
Programme + enable the SAU per the partition.
Called from SystemInit after the cache + MPU are up but before any application code runs. When the firmware is built without RA8_TRUSTZONE_ENABLE defined this function is a no-op so the single-world build is unaffected.
Definition at line 161 of file trustzone_init.c.
|
extern |
Denial verdict from ra8_tz_secure_boot_jump_ns (0 = never denied).
|
extern |
Last ra8_err_t from the U15 I/O-expander host-mode write (0 = OK).
|
extern |
First non-OK ra8_err_t from the USB pin + PLL setup (0 = OK).
|
extern |
Confirmed PSARB read-back after the USBFS NS-attribution write.