summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-11 20:44:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-11 20:44:21 +0000
commitdcaea01709bb3167aacceeabbd34212bcd555f22 (patch)
treedd24ec5380e4f56c730426ef25391d56823f968c /sys/arch/hp300
parent9b7a17eb88a1187fb7e3cba613279acd66649130 (diff)
Move pmap_aliasmask declaration and initialization to MD code. No functional
change.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/locore.s11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s
index 0c62ad7b255..95c0709538f 100644
--- a/sys/arch/hp300/hp300/locore.s
+++ b/sys/arch/hp300/hp300/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.54 2006/05/20 14:54:52 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.55 2006/06/11 20:44:18 miod Exp $ */
/* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */
/*
@@ -322,11 +322,15 @@ Lishpmmu:
RELOC(machineid, a0)
movl #HP_350,a0@ | yes, a 350
movl #0,a1@(MMUCMD) | clear out MMU again
+ RELOC(pmap_aliasmask, a0)
+ movl #0x7fff, a0@ | 32KB
jra Lstart1
Lis320:
RELOC(machineid, a0)
movl #HP_320,a0@
movl #0,a1@(MMUCMD) | clear out MMU again
+ RELOC(pmap_aliasmask, a0)
+ movl #0x3fff, a0@ | 16KB
jra Lstart1
/*
@@ -2109,6 +2113,11 @@ GLOBAL(ectype)
GLOBAL(fputype)
.long FPU_68882 | default to 68882 FPU
+#if defined(M68K_MMU_HP)
+GLOBAL(pmap_aliasmask)
+ .long 0
+#endif
+
GLOBAL(protorp)
.long 0,0 | prototype root pointer