diff options
Diffstat (limited to 'c_emulator')
-rw-r--r-- | c_emulator/riscv_sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c_emulator/riscv_sim.c b/c_emulator/riscv_sim.c index 864e2b7..d9a1c23 100644 --- a/c_emulator/riscv_sim.c +++ b/c_emulator/riscv_sim.c @@ -433,6 +433,9 @@ void init_sail(uint64_t elf_entry) rv_ram_size = UINT64_C(0x10000); rv_rom_base = UINT64_C(0); rv_rom_size = UINT64_C(0); + rv_clint_base = UINT64_C(0); + rv_clint_size = UINT64_C(0); + rv_htif_tohost = UINT64_C(0); zPC = elf_entry; } else #endif |