summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-01-08 16:04:20 +0000
committerkato <kato@FreeBSD.org>1999-01-08 16:04:20 +0000
commite6a6a95f8ffb6f7515825b24a10dd6c3361f43f7 (patch)
tree2e9f54cd794024bf655ee118d7145dab6ab6fbe5 /sys/pc98
parent422cb2b23a323d6a7d9d19a3a7c3044b74fb5dda (diff)
downloadFreeBSD-src-e6a6a95f8ffb6f7515825b24a10dd6c3361f43f7.zip
FreeBSD-src-e6a6a95f8ffb6f7515825b24a10dd6c3361f43f7.tar.gz
Sync with sys/i386/i386/machdep.c revision 1.320.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c6
-rw-r--r--sys/pc98/pc98/machdep.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 121a21d..3cee301 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.102 1998/12/11 08:04:33 kato Exp $
+ * $Id: machdep.c,v 1.103 1998/12/16 16:28:57 bde Exp $
*/
#include "apm.h"
@@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code)
* and the stack can not be grown. useracc will return FALSE
* if access is denied.
*/
+#ifdef VM_STACK
+ if ((grow_stack (p, (int)fp) == FALSE) ||
+#else
if ((grow(p, (int)fp) == FALSE) ||
+#endif
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
/*
* Process has trashed its stack; give it an illegal
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 121a21d..3cee301 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.102 1998/12/11 08:04:33 kato Exp $
+ * $Id: machdep.c,v 1.103 1998/12/16 16:28:57 bde Exp $
*/
#include "apm.h"
@@ -538,7 +538,11 @@ sendsig(catcher, sig, mask, code)
* and the stack can not be grown. useracc will return FALSE
* if access is denied.
*/
+#ifdef VM_STACK
+ if ((grow_stack (p, (int)fp) == FALSE) ||
+#else
if ((grow(p, (int)fp) == FALSE) ||
+#endif
(useracc((caddr_t)fp, sizeof(struct sigframe), B_WRITE) == FALSE)) {
/*
* Process has trashed its stack; give it an illegal
OpenPOWER on IntegriCloud