summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64/loader/locore.S
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-05-29 05:49:59 +0000
committerjake <jake@FreeBSD.org>2002-05-29 05:49:59 +0000
commit2a45651b25f057e599b1c87bfe44e892a6a1ed52 (patch)
tree93568824181b70bed0ed1b7bedc85d4d1ebb0de6 /sys/boot/sparc64/loader/locore.S
parent980c076c0cd51b2c15a302165f8d147442656786 (diff)
downloadFreeBSD-src-2a45651b25f057e599b1c87bfe44e892a6a1ed52.zip
FreeBSD-src-2a45651b25f057e599b1c87bfe44e892a6a1ed52.tar.gz
Use a contrived 'tlb_entry' structure for passing the mappings for the
kernel text and data from the loader to the kernel, so that the tte format is not part of the loader->kernel ABI.
Diffstat (limited to 'sys/boot/sparc64/loader/locore.S')
-rw-r--r--sys/boot/sparc64/loader/locore.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/boot/sparc64/loader/locore.S b/sys/boot/sparc64/loader/locore.S
index 9ad5346..c1b3e2b 100644
--- a/sys/boot/sparc64/loader/locore.S
+++ b/sys/boot/sparc64/loader/locore.S
@@ -92,7 +92,6 @@ ENTRY(dtlb_va_to_pa)
ENTRY(itlb_enter)
rdpr %pstate, %o4
wrpr %o4, PSTATE_IE, %pstate
- sllx %o0, PAGE_SHIFT, %o0
mov AA_IMMU_TAR, %o3
stxa %o0, [%o3] ASI_IMMU
stxa %o1, [%g0] ASI_ITLB_DATA_IN_REG
@@ -103,7 +102,6 @@ ENTRY(itlb_enter)
ENTRY(dtlb_enter)
rdpr %pstate, %o4
wrpr %o4, PSTATE_IE, %pstate
- sllx %o0, PAGE_SHIFT, %o0
mov AA_DMMU_TAR, %o3
stxa %o0, [%o3] ASI_DMMU
stxa %o1, [%g0] ASI_DTLB_DATA_IN_REG
OpenPOWER on IntegriCloud