fastmodel: Use BaseMMU in the CortexR52 wrapper
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 18 Nov 2020 14:51:49 +0000 (14:51 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 19 Nov 2020 17:20:32 +0000 (17:20 +0000)
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Change-Id: I569dc66a9dad54a374b0864ef2ffabd114aede7b
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37715
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/CortexR52/thread_context.cc
src/arch/arm/fastmodel/CortexR52/thread_context.hh

index 648a39a2b3aaaf290102c05de76f164cb4d390da..e8e0aa73f2e0465d95773fb99f847d87036ce81d 100644 (file)
@@ -36,10 +36,10 @@ namespace FastModel
 {
 
 CortexR52TC::CortexR52TC(
-        ::BaseCPU *cpu, int id, System *system, ::BaseTLB *dtb, ::BaseTLB *itb,
+        ::BaseCPU *cpu, int id, System *system, ::BaseMMU *mmu,
         ::BaseISA *isa, iris::IrisConnectionInterface *iris_if,
         const std::string &iris_path) :
-    ThreadContext(cpu, id, system, dtb, itb, isa, iris_if, iris_path)
+    ThreadContext(cpu, id, system, mmu, isa, iris_if, iris_path)
 {}
 
 bool
index 74ac1a0f65896a0b1172fb9b50f16415d139cfff..41223c99b3deebd0bdf6e71a1e3072c4f39fa9f2 100644 (file)
@@ -44,7 +44,7 @@ class CortexR52TC : public Iris::ThreadContext
 
   public:
     CortexR52TC(::BaseCPU *cpu, int id, System *system,
-                ::BaseTLB *dtb, ::BaseTLB *itb, ::BaseISA *isa,
+                ::BaseMMU *mmu, ::BaseISA *isa,
                 iris::IrisConnectionInterface *iris_if,
                 const std::string &iris_path);