/** 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.
*/
/** 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.