arch-arm: Implementing SecureEL2 feature for Armv8
[gem5.git] / src / arch / arm / tracers / tarmac_record.cc
index ee2e8e21d2b14e5fa58cc3224258a3188f6c7090..4b7f43d2378c968f2581e0a2b382137b87314762 100644 (file)
@@ -118,7 +118,7 @@ TarmacTracerRecord::TraceInstEntry::TraceInstEntry(
     bool predicate)
       : InstEntry(tarmCtx.thread, tarmCtx.pc, tarmCtx.staticInst, predicate)
 {
-    secureMode = inSecureState(tarmCtx.thread);
+    secureMode = isSecure(tarmCtx.thread);
 
     auto arm_inst = static_cast<const ArmStaticInst*>(
         tarmCtx.staticInst.get()