ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
emu_cpu1.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 "emu_memmap.h"
29#include "ra8_attributes.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
55void emu_cpu1_notify_mmio_write(uint64_t mmio_abs, uint64_t value);
56
81
94
113void emu_cpu1_step(void);
114
115#ifdef __cplusplus
116}
117#endif
void emu_cpu1_close(emu_memmap_workspace_t *memory)
Detach and close the optional cpu1 engine.
Definition emu_cpu1.c:183
void emu_cpu1_init(const emu_elf_source_t *elf, emu_memmap_workspace_t *memory)
Create the second emulator engine for cpu1, if the image carries one.
Definition emu_cpu1.c:178
void emu_cpu1_step(void)
Boot cpu1 on a pending release, then step it one interleave chunk.
Definition emu_cpu1.c:196
void emu_cpu1_notify_mmio_write(uint64_t mmio_abs, uint64_t value)
Watch a peripheral MMIO write for the cpu1 release sequence.
Definition emu_cpu1.c:68
ELF32 image services for the board emulator (load / symbols / vectors).
Shared aliased-memory backing and Unicorn memory-map bindings.
struct emu_memmap_workspace emu_memmap_workspace_t
Independent aperture backing with at most two engine bindings.
Annotation-attribute framework macros for ra8-firmware.
One independently owned immutable raw-descriptor ELF source.
Definition emu_elf.h:91