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 <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Earl Ou <shunhsingou@google.com>
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 {}