diff options
author | jake <jake@FreeBSD.org> | 2002-03-01 06:17:28 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-03-01 06:17:28 +0000 |
commit | 7d70ce2abc5dc12a39914a6774a684901ca1f7e8 (patch) | |
tree | 03b75482a31b3a7fd52e70edd1928b7af2d7c562 /sys/boot/sparc64/loader | |
parent | c8091b3c9823236b18e25d4c6a9ae07e437b787c (diff) | |
download | FreeBSD-src-7d70ce2abc5dc12a39914a6774a684901ca1f7e8.zip FreeBSD-src-7d70ce2abc5dc12a39914a6774a684901ca1f7e8.tar.gz |
Catch up to change in tte format.
Forgetten by: jake
Submitted by: tmm
Diffstat (limited to 'sys/boot/sparc64/loader')
-rw-r--r-- | sys/boot/sparc64/loader/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index 5975f63..406de39 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; |