summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-07-02 17:33:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-07-02 17:33:44 +0000
commit0586bcdc54dda6d2fcd7e791ae94ff0e3c003f61 (patch)
treee6db27e769bc2b01e1da2e482e312a5015949def /sys
parent4e21c2c5fe2cb2f5ea3cf71a36b36246fada3387 (diff)
Cope with SONPROC scheduler changes.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/hp300/locore.s3
-rw-r--r--sys/arch/m68k/m68k/genassym.cf3
-rw-r--r--sys/arch/mac68k/mac68k/locore.s3
-rw-r--r--sys/arch/mvme68k/mvme68k/locore.s3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/hp300/hp300/locore.s b/sys/arch/hp300/hp300/locore.s
index 6a937a1049f..2e9c036c4e5 100644
--- a/sys/arch/hp300/hp300/locore.s
+++ b/sys/arch/hp300/hp300/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.39 2004/05/20 09:20:41 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.40 2004/07/02 17:33:42 miod Exp $ */
/* $NetBSD: locore.s,v 1.91 1998/11/11 06:41:25 thorpej Exp $ */
/*
@@ -1326,6 +1326,7 @@ Lswnofpsave:
cmpb #SRUN,a0@(P_STAT)
jne Lbadsw
#endif
+ movb #SONPROC,a0@(P_STAT)
clrl a0@(P_BACK) | clear back link
movb a0@(P_MD_FLAGS+3),mdpflag | low byte of p_md.md_flags
movl a0@(P_ADDR),a1 | get p_addr
diff --git a/sys/arch/m68k/m68k/genassym.cf b/sys/arch/m68k/m68k/genassym.cf
index 98321e70e90..14c0a6d6a52 100644
--- a/sys/arch/m68k/m68k/genassym.cf
+++ b/sys/arch/m68k/m68k/genassym.cf
@@ -1,4 +1,4 @@
-# $OpenBSD: genassym.cf,v 1.10 2003/06/02 23:27:48 millert Exp $
+# $OpenBSD: genassym.cf,v 1.11 2004/07/02 17:33:43 miod Exp $
#
# Copyright (c) 1995 Theo de Raadt
@@ -80,6 +80,7 @@ member p_vmspace
member p_addr
export SRUN
+export SONPROC
# contexts
export FC_SUPERD
diff --git a/sys/arch/mac68k/mac68k/locore.s b/sys/arch/mac68k/mac68k/locore.s
index 586360c7691..7d8cd45dece 100644
--- a/sys/arch/mac68k/mac68k/locore.s
+++ b/sys/arch/mac68k/mac68k/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.34 2004/05/20 09:20:42 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.35 2004/07/02 17:33:43 miod Exp $ */
/* $NetBSD: locore.s,v 1.103 1998/07/09 06:02:50 scottr Exp $ */
/*
@@ -1174,6 +1174,7 @@ Lswnofpsave:
cmpb #SRUN,a0@(P_STAT)
jne Lbadsw
#endif
+ movb #SONPROC,a0@(P_STAT)
clrl a0@(P_BACK) | clear back link
movb a0@(P_MD_FLAGS+3),mdpflag | low byte of p_md.md_flags
movl a0@(P_ADDR),a1 | get p_addr
diff --git a/sys/arch/mvme68k/mvme68k/locore.s b/sys/arch/mvme68k/mvme68k/locore.s
index ec822f97f9d..bdead900dce 100644
--- a/sys/arch/mvme68k/mvme68k/locore.s
+++ b/sys/arch/mvme68k/mvme68k/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.41 2004/05/20 09:20:42 kettenis Exp $ */
+/* $OpenBSD: locore.s,v 1.42 2004/07/02 17:33:43 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -1331,6 +1331,7 @@ Lswnofpsave:
cmpb #SRUN,a0@(P_STAT)
jne Lbadsw
#endif
+ movb #SONPROC,a0@(P_STAT)
clrl a0@(P_BACK) | clear back link
| low byte of p_md.md_flags
movb a0@(P_MD_FLAGS+3),_ASM_LABEL(mdpflag)