26#include <unicorn/unicorn.h>
46typedef enum : uint64_t {
56typedef enum : uint64_t {
82uint64_t
mmio_read(uc_engine* uc, uint64_t offset,
unsigned size,
void* user);
106void mmio_write(uc_engine* uc, uint64_t offset,
unsigned size, uint64_t value,
void* user);
void emu_mmio_print_counts(void)
Print the run-end MMIO counters line to injected error sink.
void mmio_write(uc_engine *uc, uint64_t offset, unsigned size, uint64_t value, void *user)
UC_MMIO write callback for the peripheral window.
periph_map_t
Renesas peripheral window (modelled as logged MMIO).
@ k_periph_size
0x40000000-0x4FFFFFFF: all Renesas peripherals.
@ k_periph_base
Peripheral window base.
uint32_t mmio_peek(uint64_t addr)
Side-effect-free read of the last value written to a peripheral reg.
uint32_t emu_mmio_writes(void)
Total peripheral MMIO writes this run (monotonic).
uint64_t mmio_read(uc_engine *uc, uint64_t offset, unsigned size, void *user)
UC_MMIO read callback for the peripheral window.
void emu_mmio_print_bgc_and_table(void)
Print the BG_BGC witness and the per-address MMIO table to injected error sink.
@ k_bgc_track_max
Distinct BG_BGC values remembered.
@ k_glcdc_bg_bgc
GLCDC BG.BGC background colour.
uint32_t emu_mmio_reads(void)
Total peripheral MMIO reads this run (monotonic).
Annotation-attribute framework macros for ra8-firmware.