From dd4af53607784ef0cabf3d09cda14a9c457eb076 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Fri, 1 Mar 2002 06:17:28 +0000 Subject: [PATCH] Catch up to change in tte format. Forgetten by: jake Submitted by: tmm --- sys/boot/sparc64/loader/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 5975f63f23c5..406de397028a 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -268,13 +268,13 @@ mmu_mapin(vm_offset_t va, vm_size_t len) /* The mappings may have changed, be paranoid. */ continue; } - tte.tte_tag = va >> PAGE_SHIFT; + tte.tte_vpn = TV_VPN(va); tte.tte_data = TD_V | TD_4M | TD_PA(pa) | TD_L | TD_CP | TD_CV | TD_P | TD_W; dtlb_store[--dtlb_slot] = tte; itlb_store[--itlb_slot] = tte; - dtlb_enter(dtlb_slot, tte.tte_tag, tte.tte_data); - itlb_enter(itlb_slot, tte.tte_tag, tte.tte_data); + dtlb_enter(dtlb_slot, tte.tte_vpn, tte.tte_data); + itlb_enter(itlb_slot, tte.tte_vpn, tte.tte_data); pa = (vm_offset_t)-1; } len -= len > PAGE_SIZE_4M ? PAGE_SIZE_4M : len;