summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2011-05-05 20:48:34 +0000
committerkettenis <kettenis@openbsd.org>2011-05-05 20:48:34 +0000
commitdc1457e9a351895f2264dc9ea908a0ef3aed2a19 (patch)
tree06c0c9f3e52455385bd30f64911ce7707be6286c
parentOops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed out (diff)
downloadwireguard-openbsd-dc1457e9a351895f2264dc9ea908a0ef3aed2a19.tar.xz
wireguard-openbsd-dc1457e9a351895f2264dc9ea908a0ef3aed2a19.zip
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