From 7f813e3ca1e5db52c781ff36477c8ba0336db453 Mon Sep 17 00:00:00 2001 From: Prashanth Mundkur Date: Thu, 6 Jun 2019 17:26:51 -0700 Subject: Remove mmio in rvfi mode. --- c_emulator/riscv_sim.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'c_emulator') 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 -- cgit v1.1