This is just a cosmetic change
Change-Id: If9ea1114ed7e20d5c952f401935532cf3335c501
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35246
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
TLB::flush(const TLBIIPA &tlbi_op)
{
assert(!isStage2);
- stage2Tlb->_flushMva(tlbi_op.addr, 0xbeef, tlbi_op.secureLookup,
- true, tlbi_op.targetEL, false);
+
+ // Note, TLBIIPA::makeStage2 will generare a TLBIMVAA
+ stage2Tlb->flush(tlbi_op.makeStage2());
}
void
void operator()(ThreadContext* tc) override;
+ /** TLBIIPA is basically a TLBIMVAA for stage2 TLBs */
+ TLBIMVAA
+ makeStage2() const
+ {
+ return TLBIMVAA(EL1, secureLookup, addr);
+ }
+
Addr addr;
};