LSQ Unit: After deleting part of a split request, set it to NULL so that it
[gem5.git] / src / sim / sim_exit.hh
index d4b31d1eaf2d731eb6176077b0eb4508341c3a52..11750293228ef20d2855cdb134636ceb72ae2b19 100644 (file)
@@ -34,7 +34,7 @@
 
 #include <string>
 
-#include "sim/host.hh"
+#include "base/types.hh"
 
 // forward declaration
 class Callback;
@@ -45,14 +45,6 @@ class SimLoopExitEvent;
 /// sim/main.cc.
 void registerExitCallback(Callback *);
 
-/// Schedule an event to exit the simulation loop (returning to
-/// Python) at the indicated tick.  The message and exit_code
-/// parameters are saved in the SimLoopExitEvent to indicate why the
-/// exit occurred.
-SimLoopExitEvent *schedExitSimLoop(const std::string &message, Tick when,
-                                   Tick repeat = 0, EventQueue *q = NULL,
-                                   int exit_code = 0);
-
 /// Schedule an event to exit the simulation loop (returning to
 /// Python) at the end of the current cycle (curTick).  The message
 /// and exit_code parameters are saved in the SimLoopExitEvent to