arch-arm: Remove unused parameter from TLB::insert

Change-Id: Iab395834fe8b3fabf4f5f666af1b8790af08182d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48144
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Giacomo Travaglini
2021-07-07 16:42:56 +01:00
parent 65195c8011
commit 1320dc4278
3 changed files with 3 additions and 3 deletions

View File

@@ -2352,7 +2352,7 @@ TableWalker::insertTableEntry(DescriptorBase &descriptor, bool longDescriptor)
descriptor.getRawData());
// Insert the entry into the TLB
tlb->insert(currState->vaddr, te);
tlb->insert(te);
if (!currState->timing) {
currState->tc = NULL;
currState->req = NULL;

View File

@@ -143,7 +143,7 @@ TLB::lookup(Addr va, uint16_t asn, vmid_t vmid, bool hyp, bool secure,
// insert a new TLB entry
void
TLB::insert(Addr addr, TlbEntry &entry)
TLB::insert(TlbEntry &entry)
{
DPRINTF(TLB, "Inserting entry into TLB with pfn:%#x size:%#x vpn: %#x"
" asid:%d vmid:%d N:%d global:%d valid:%d nc:%d xn:%d"

View File

@@ -180,7 +180,7 @@ class TLB : public BaseTLB
void setVMID(vmid_t _vmid) { vmid = _vmid; }
void insert(Addr vaddr, TlbEntry &pte);
void insert(TlbEntry &pte);
/** Reset the entire TLB. Used for CPU switching to prevent stale
* translations after multiple switches