summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-05-05 20:48:35 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-05-05 20:48:35 +0000
commit2bc55bbbbca05ff57cb1df8943131a337357e355 (patch)
treeb3525dbbde866a37b5ce525fc7b964558c6fd3dc
parent1d39f8e79bd9e223686755c3459c2dead358030e (diff)
The gateway page (which contains the system call entry point) needs to be
public such that it is accessable from all userland processes.
-rw-r--r--sys/arch/hppa64/hppa64/locore.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa64/hppa64/locore.S b/sys/arch/hppa64/hppa64/locore.S
index 58309ac0fb1..5fca6168ed5 100644
--- a/sys/arch/hppa64/hppa64/locore.S
+++ b/sys/arch/hppa64/hppa64/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.26 2011/05/05 15:10:09 kettenis Exp $ */
+/* $OpenBSD: locore.S,v 1.27 2011/05/05 20:48:34 kettenis Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -1025,6 +1025,8 @@ EXIT(TLABEL(all))
TLABEL(itlb)
PTPULL(0, TLABEL(all))
+ extrd,u,*= %r17, 5, 1, %r0 /* gateway page needs to be public */
+ depdi 0, 62, 31, %r17
iitlbt %r16, %r17
rfi,r
nop