Gabe Black has uploaded this change for review. ( 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
---
M src/arch/arm/fastmodel/CortexR52/thread_context.cc
1 file changed, 2 insertions(+), 0 deletions(-)



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: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-CC: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to