Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48144 )

Change subject: arch-arm: Remove unused parameter from TLB::insert
......................................................................

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

Change-Id: Iab395834fe8b3fabf4f5f666af1b8790af08182d
Signed-off-by: Giacomo Travaglini <[email protected]>
---
M src/arch/arm/table_walker.cc
M src/arch/arm/tlb.cc
M src/arch/arm/tlb.hh
3 files changed, 3 insertions(+), 3 deletions(-)



diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc
index fdbd228..ec60a8b 100644
--- a/src/arch/arm/table_walker.cc
+++ b/src/arch/arm/table_walker.cc
@@ -2352,7 +2352,7 @@
             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;
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc
index 7aef0c0..dc0e155 100644
--- a/src/arch/arm/tlb.cc
+++ b/src/arch/arm/tlb.cc
@@ -143,7 +143,7 @@

 // 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"
diff --git a/src/arch/arm/tlb.hh b/src/arch/arm/tlb.hh
index 1c0549d..927ac23 100644
--- a/src/arch/arm/tlb.hh
+++ b/src/arch/arm/tlb.hh
@@ -180,7 +180,7 @@

     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

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48144
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: Iab395834fe8b3fabf4f5f666af1b8790af08182d
Gerrit-Change-Number: 48144
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
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