ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
emu_tz.h
Go to the documentation of this file.
1
21
22#pragma once
23
24#include <stdint.h>
25#include <unicorn/unicorn.h>
26
27#include "emu_elf.h"
28#include "ra8_attributes.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
57void emu_tz_install(uc_engine* uc, const emu_elf_source_t* elf);
58
81void emu_tz_patch_cmse(uc_engine* uc, const emu_elf_source_t* elf);
82
96void emu_tz_set_ns_vector_base(uint32_t base);
97
111uint32_t emu_tz_ns_vector_base(void);
112
113#ifdef __cplusplus
114}
115#endif
ELF32 image services for the board emulator (load / symbols / vectors).
uint32_t emu_tz_ns_vector_base(void)
The tracked NS vector-table fallback base.
Definition emu_tz.c:228
void emu_tz_install(uc_engine *uc, const emu_elf_source_t *elf)
Arm the TrustZone S->NS boot seams (SAU_TYPE seed + BLXNS hook).
Definition emu_tz.c:152
void emu_tz_set_ns_vector_base(uint32_t base)
Track the NS image's actual vector base (–ns load path).
Definition emu_tz.c:222
void emu_tz_patch_cmse(uc_engine *uc, const emu_elf_source_t *elf)
Patch cmse_check_address_range to BX LR (flat-domain model).
Definition emu_tz.c:194
Annotation-attribute framework macros for ra8-firmware.
One independently owned immutable raw-descriptor ELF source.
Definition emu_elf.h:91