From a7072c19dbd6273920a90a4ec5fa013531316287 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sun, 21 Jan 2007 20:02:41 -0500 Subject: [PATCH] make sure that page bits of VA on tlb insert are 0 --HG-- extra : convert_revision : f04af884687e9b8631e910cf62cd4a58d035c744 --- src/arch/sparc/tlb.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 460a9c640..61445954f 100644 --- a/src/arch/sparc/tlb.cc +++ b/src/arch/sparc/tlb.cc @@ -85,6 +85,7 @@ TLB::insert(Addr va, int partition_id, int context_id, bool real, int x; cacheValid = false; + va &= ~(PTE.size()-1); /* tr.va = va; tr.size = PTE.size() - 1; tr.contextId = context_id; -- 2.30.2