cpu: remove unnecessary data ptr from O3 internal read() funcs
[gem5.git] / src / sim / full_system.hh
index 911648f3a39f41bb6c5aefb4f9995098c1f93be9..18cf34d09c11c4a0e197436725e122dbc554073a 100644 (file)
 #ifndef __SIM_FULL_SYSTEM_HH__
 #define __SIM_FULL_SYSTEM_HH__
 
-#include "config/full_system.hh"
+/**
+ * The FullSystem variable can be used to determine the current mode
+ * of simulation.
+ */
+extern bool FullSystem;
 
-static const bool FullSystem = FULL_SYSTEM;
+/**
+ * In addition to the boolean flag we make use of an unsigned int
+ * since the CPU instruction decoder makes use of the variable in
+ * switch statements. A value of 0 signifies syscall emulation, and
+ * any other value full system.
+ */
+extern unsigned int FullSystemInt;
 
 #endif // __SIM_FULL_SYSTEM_HH__