|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
TrustZone security attribution configured at init time. More...
#include <ra8_sram.h>
Data Fields | |
| bool | bank_ns [k_ra8_sram_bank_count] |
| Bit n -> SRAMSAn = 1 (NS). | |
| bool | wtsc_ns |
| SRAMSAR.SRAMWTSA bit. | |
| bool | ecc_region_ns |
| SRAMESAR.SRAMESA bit. | |
| uint32_t | boundary_offset [k_ra8_sram_bank_count] |
| SRAMSABARn boundary value. | |
TrustZone security attribution configured at init time.
Mirrors HUM Ch 58.2.2 "SRAMSAR" (p 3528) and HUM Ch 58.2.3 "SRAMESAR" (p 3529). Each per-bank flag, when true, marks the corresponding SRAM register set as Non-Secure. wtsc_ns marks SRAMWTSC as Non-Secure. ecc_region_ns marks the whole ECC region (across all banks) Non-Secure via SRAMESAR.
Boundary addresses for SRAMSABARn live in boundary_offset[bank] – one absolute offset per bank, 4 KB aligned per HUM Ch 58.2.1 (p 3527).
Definition at line 134 of file ra8_sram.h.
| bool ra8_sram_security_cfg_t::bank_ns[k_ra8_sram_bank_count] |
Bit n -> SRAMSAn = 1 (NS).
Definition at line 135 of file ra8_sram.h.
Referenced by internal_apply_security().
| uint32_t ra8_sram_security_cfg_t::boundary_offset[k_ra8_sram_bank_count] |
SRAMSABARn boundary value.
Definition at line 138 of file ra8_sram.h.
Referenced by internal_apply_security().
| bool ra8_sram_security_cfg_t::ecc_region_ns |
SRAMESAR.SRAMESA bit.
Definition at line 137 of file ra8_sram.h.
Referenced by internal_apply_security().
| bool ra8_sram_security_cfg_t::wtsc_ns |
SRAMSAR.SRAMWTSA bit.
Definition at line 136 of file ra8_sram.h.
Referenced by internal_apply_security().