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

Change subject: fastmodel: Fix params for the IrisTLB.
......................................................................

fastmodel: Fix params for the IrisTLB.

Add PARAMS(), and include the params header file.

This fixes the build when fast model is enabled.

Change-Id: If4babbade9bf896084060f3f3b3b620947d0c83a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52704
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
Reviewed-by: Earl Ou <[email protected]>
---
M src/arch/arm/fastmodel/iris/tlb.hh
1 file changed, 20 insertions(+), 0 deletions(-)

Approvals:
  Earl Ou: Looks good to me, approved
  Gabe Black: Looks good to me, approved
  kokoro: Regressions pass




diff --git a/src/arch/arm/fastmodel/iris/tlb.hh b/src/arch/arm/fastmodel/iris/tlb.hh
index 39c5da2..b282ed4 100644
--- a/src/arch/arm/fastmodel/iris/tlb.hh
+++ b/src/arch/arm/fastmodel/iris/tlb.hh
@@ -29,6 +29,7 @@
 #define __ARCH_ARM_FASTMODEL_IRIS_TLB_HH__

 #include "arch/generic/tlb.hh"
+#include "params/IrisTLB.hh"

 namespace gem5
 {
@@ -39,6 +40,8 @@
 class TLB : public BaseTLB
 {
   public:
+    PARAMS(IrisTLB)
+
     TLB(const Params &p) : BaseTLB(p) {}

     void demapPage(Addr vaddr, uint64_t asn) override {}

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/52704
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: If4babbade9bf896084060f3f3b3b620947d0c83a
Gerrit-Change-Number: 52704
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Earl Ou <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jui-min Lee <[email protected]>
Gerrit-Reviewer: Yu-hsin Wang <[email protected]>
Gerrit-Reviewer: kokoro <[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