From: Andrew Waterman Date: Fri, 6 May 2011 22:49:34 +0000 (-0700) Subject: [sim] fixed building sim without cache simulators X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef2e75f0bdeb5eea92a62f293041f202f8ee6f46;p=riscv-isa-sim.git [sim] fixed building sim without cache simulators --- diff --git a/riscv/mmu.h b/riscv/mmu.h index f8ee597..1277856 100644 --- a/riscv/mmu.h +++ b/riscv/mmu.h @@ -23,7 +23,7 @@ public: do { if(dcsim) (dcsim)->tick(addr, size, st); \ if(dtlbsim) (dtlbsim)->tick(addr, sizeof(reg_t), false); } while(0) #else - # define dcsim_tick(dcsim, addr, size) + # define dcsim_tick(dcsim, dtlbsim, addr, size, st) #endif #define load_func(type) \