misc: Merge branch v20.1.0.3 hotfix into develop
[gem5.git] / src / arch / arm / system.hh
index eb4da9444620d2a4d93162da06a496eff06538c8..1db60247f3c0820e75906859b88607f41da5e656 100644 (file)
@@ -149,13 +149,13 @@ class ArmSystem : public System
     static constexpr Addr PageShift = ArmISA::PageShift;
 
     typedef ArmSystemParams Params;
-    const Params *
+    const Params &
     params() const
     {
-        return dynamic_cast<const Params *>(_params);
+        return dynamic_cast<const Params &>(_params);
     }
 
-    ArmSystem(Params *p);
+    ArmSystem(const Params &p);
 
     /** true if this a multiprocessor system */
     bool multiProc;