[sim] fixed building sim without cache simulators
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>
Fri, 6 May 2011 22:49:34 +0000 (15:49 -0700)
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>
Fri, 6 May 2011 22:49:34 +0000 (15:49 -0700)
riscv/mmu.h

index f8ee597f5e62758b349d169e5ac5a9bbb71f8b49..12778562ca6477f4e35d5ac6f51bd64293587598 100644 (file)
@@ -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) \