Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/43545 )

Change subject: fastmodel: Call the base class initFromIrisInstance in the R52.
......................................................................

fastmodel: Call the base class initFromIrisInstance in the R52.

In the CortexR52 model in the initFromIrisInstance method, call into
the base classes version of that function to ensure some basic, common
setup is performed.

Change-Id: I43198578ce1057d63d8e72d66b5370bf4d1ccd4d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/43545
Reviewed-by: Giacomo Travaglini <[email protected]>
Maintainer: Giacomo Travaglini <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/arm/fastmodel/CortexR52/thread_context.cc
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Giacomo Travaglini: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/arch/arm/fastmodel/CortexR52/thread_context.cc b/src/arch/arm/fastmodel/CortexR52/thread_context.cc
index e8e0aa7..fbf6b03 100644
--- a/src/arch/arm/fastmodel/CortexR52/thread_context.cc
+++ b/src/arch/arm/fastmodel/CortexR52/thread_context.cc
@@ -82,6 +82,8 @@
 void
 CortexR52TC::initFromIrisInstance(const ResourceMap &resources)
 {
+    ThreadContext::initFromIrisInstance(resources);
+
     pcRscId = extractResourceId(resources, "R15");

     extractResourceMap(intReg32Ids, resources, intReg32IdxNameMap);

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/43545
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I43198578ce1057d63d8e72d66b5370bf4d1ccd4d
Gerrit-Change-Number: 43545
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Sudhanshu Jha <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-CC: Earl Ou <[email protected]>
Gerrit-CC: Yu-hsin Wang <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to