summaryrefslogtreecommitdiff
path: root/regress/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-27 14:09:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-27 14:09:46 +0000
commitb76fbb43c872e87ec2d7094cf3b2883d95d49964 (patch)
tree7f61cb26514cfed85e4055d88cc080b5b13da6a3 /regress/sys/arch
parent0c43c061c7fad965acfbcf489e4ac871090720fb (diff)
Allow userland to cause the data cache to be flushed for any arbitrary address
range in the current process, using trap #451. This is necessary for proper gcc trampolines operation, and, later, ld.so...
Diffstat (limited to 'regress/sys/arch')
-rw-r--r--regress/sys/arch/m88k/usertrap/answer20
-rw-r--r--regress/sys/arch/m88k/usertrap/testsuite.sh4
2 files changed, 13 insertions, 11 deletions
diff --git a/regress/sys/arch/m88k/usertrap/answer b/regress/sys/arch/m88k/usertrap/answer
index 95474cdae6e..3285d6116b9 100644
--- a/regress/sys/arch/m88k/usertrap/answer
+++ b/regress/sys/arch/m88k/usertrap/answer
@@ -449,7 +449,7 @@ Bad system call
Bad system call
Bad system call
Bad system call
-Bad system call
+
Bad system call
Bad system call
Bad system call
@@ -500,13 +500,13 @@ Bad system call
Bad system call
Bad system call
Bad system call
-Trace trap
+Trace/BPT trap
Floating point exception
-Trace trap
-Trace trap
-Trace trap
-Trace trap
-Trace trap
-Trace trap
-Trace trap
-Trace trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
+Trace/BPT trap
diff --git a/regress/sys/arch/m88k/usertrap/testsuite.sh b/regress/sys/arch/m88k/usertrap/testsuite.sh
index 09f5b0b2176..730b8eae423 100644
--- a/regress/sys/arch/m88k/usertrap/testsuite.sh
+++ b/regress/sys/arch/m88k/usertrap/testsuite.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $OpenBSD: testsuite.sh,v 1.1 2004/04/24 13:19:15 miod Exp $
+# $OpenBSD: testsuite.sh,v 1.2 2005/04/27 14:09:43 miod Exp $
# Simple test program to check what happens when userland tries to trap.
# Written by Miodrag Vallat 2003 AD -- public domain
@@ -460,6 +460,8 @@ ${PROG} 448
${PROG} 449
${PROG} 450
${PROG} 451
+# since there won't be any output...
+echo
${PROG} 452
${PROG} 453
${PROG} 454