mem-cache: Add multiple eviction stats
[gem5.git] / src / arch / arm / system.hh
index 46c58e8a16869ad1c10a969e177b499d78980b54..90fed14a790f676d4d8a805441bbcba6855d2054 100644 (file)
@@ -138,12 +138,6 @@ class ArmSystem : public System
     /** True if Priviledge Access Never is implemented */
     const unsigned _havePAN;
 
-    /**
-     * Range for memory-mapped m5 pseudo ops. The range will be
-     * invalid/empty if disabled.
-     */
-    const AddrRange _m5opRange;
-
     /**
      * True if the Semihosting interface is enabled.
      */
@@ -284,6 +278,13 @@ class ArmSystem : public System
     /** Is Arm Semihosting support enabled? */
     bool haveSemihosting() const { return semihosting != nullptr; }
 
+    /**
+     * Casts the provided System object into a valid ArmSystem, it fails
+     * otherwise.
+     * @param sys System object to cast
+     */
+    static ArmSystem *getArmSystem(System *sys);
+
     /**
      * Returns a valid ArmSystem pointer if using ARM ISA, it fails
      * otherwise.