summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-09-18 10:36:51 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-09-18 10:36:51 +0000
commit93ef497c5faacea7319fb74dbac021d25bed5cae (patch)
tree304a04028bd7bb672ed9585c68ab04e0959563d6 /sys
parentf7674e880d5806962a33e81ba3dbc832cd772020 (diff)
Don't forget to map the prom executable. Otherwise we'll have trouble
starting X after the prom has been bumped from the iTLB. matthieu@ jason@ ok.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c
index f8819ca183e..31f87809f00 100644
--- a/sys/arch/sparc64/sparc64/pmap.c
+++ b/sys/arch/sparc64/sparc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.17 2002/09/10 18:29:44 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.18 2002/09/18 10:36:50 art Exp $ */
/* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
/*
@@ -1350,7 +1350,7 @@ remap_data:
#endif
/* Enter PROM map into pmap_kernel() */
pmap_enter_kpage(prom_map[i].vstart + j,
- (prom_map[i].tte + j)|
+ (prom_map[i].tte + j)|TLB_EXEC|
page_size_map[k].code);
}
BDPRINTF(PDB_BOOT1, ("Done inserting PROM mappings into pmap_kernel()\r\n"));