From: Gabe Black Date: Fri, 6 Mar 2020 23:37:34 +0000 (-0800) Subject: sparc: Delete some commented out code in the TLB. X-Git-Tag: v20.0.0.0~419 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a17d8e5f2d82edce021fc56a69ad9a8d07789720;p=gem5.git sparc: Delete some commented out code in the TLB. Change-Id: I80c455403422ec35bafa1f3ed86628f8327d1da0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26403 Maintainer: Gabe Black Tested-by: kokoro Reviewed-by: Nikos Nikoleris --- diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index f569bbc55..f891b0c06 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -97,17 +97,10 @@ TLB::insert(Addr va, int partition_id, int context_id, bool real, { MapIter i; TlbEntry *new_entry = NULL; -// TlbRange tr; int x; cacheValid = false; va &= ~(PTE.size()-1); - /* tr.va = va; - tr.size = PTE.size() - 1; - tr.contextId = context_id; - tr.partitionId = partition_id; - tr.real = real; -*/ DPRINTF(TLB, "TLB: Inserting Entry; va=%#x pa=%#x pid=%d cid=%d r=%d entryid=%d\n", @@ -659,12 +652,6 @@ TLB::translateData(const RequestPtr &req, ThreadContext *tc, bool write) if (asiIsLittle(asi)) panic("Little Endian ASIs not supported\n"); - //XXX It's unclear from looking at the documentation how a no fault - // load differs from a regular one, other than what happens concerning - // nfo and e bits in the TTE -// if (asiIsNoFault(asi)) -// panic("No Fault ASIs not supported\n"); - if (asiIsPartialStore(asi)) panic("Partial Store ASIs not supported\n");