From b1f2ae41a1e64f416fb5f5aa092352439ecefa83 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 19 Oct 2022 21:40:42 -0700 Subject: Template-ize stores --- riscv/sim.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/sim.cc') diff --git a/riscv/sim.cc b/riscv/sim.cc index 240133d..71ac452 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -429,7 +429,7 @@ void sim_t::write_chunk(addr_t taddr, size_t len, const void* src) assert(len == 8); target_endian data; memcpy(&data, src, sizeof data); - debug_mmu->store_uint64(taddr, debug_mmu->from_target(data)); + debug_mmu->store(taddr, debug_mmu->from_target(data)); } void sim_t::set_target_endianness(memif_endianness_t endianness) -- cgit v1.1