arch-arm: Add invalidate method to the TlbEntry

This is needed for compliance with the AssociativeCache
container. It will call the invalidate method when
invalidating the TLB entry

Change-Id: Idb1bc40b5aea8c475146700c81ab79d9980f745d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Giacomo Travaglini
2024-07-15 18:57:33 +01:00
parent ce8a98d657
commit c6cca14b74

View File

@@ -351,6 +351,13 @@ struct TlbEntry : public ReplaceableEntry, Serializable
std::swap(xs, rhs.xs);
}
/** Need for compliance with the AssociativeCache interface */
void
invalidate()
{
valid = false;
}
void
updateVaddr(Addr new_vaddr)
{