diff options
author | Prashanth Mundkur <prashanth.mundkur@gmail.com> | 2019-06-06 17:26:51 -0700 |
---|---|---|
committer | Prashanth Mundkur <prashanth.mundkur@gmail.com> | 2019-06-06 17:26:51 -0700 |
commit | 7f813e3ca1e5db52c781ff36477c8ba0336db453 (patch) | |
tree | 2b01ddc92925d156ca81d0305a4fc599a66fcc92 /c_emulator | |
parent | af0925e363a7ec40d97a3c26e83deb0223840950 (diff) | |
download | sail-riscv-7f813e3ca1e5db52c781ff36477c8ba0336db453.zip sail-riscv-7f813e3ca1e5db52c781ff36477c8ba0336db453.tar.gz sail-riscv-7f813e3ca1e5db52c781ff36477c8ba0336db453.tar.bz2 |
Remove mmio in rvfi mode.
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 |