sim: Add an option to forward work items to Python
[gem5.git] / src / kern / operatingsystem.hh
index 47e64ffd93ef387a3a0d2c733cba5b200e2e17e6..fd5899cf8b701e8902411761c00d9585afe8320f 100644 (file)
 #define __KERN_OPERATINGSYSTEM_HH__
 
 #include "base/types.hh"
-#include "config/full_system.hh"
 
-#if FULL_SYSTEM
-
-class OperatingSystem {};
-
-#else //!FULL_SYSTEM
 #include <string>
 
 class LiveProcess;
@@ -122,9 +116,10 @@ class OperatingSystem {
 
     static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
 
-};  // class OperatingSystem
+    static const bool mmapGrowsUp = true;
 
+    static bool mmapGrowsDown() { return false; }
 
-#endif // FULL_SYSTEM
+};  // class OperatingSystem
 
 #endif // __OPERATINGSYSTEM_HH__