Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch G/C LS{SLEEP,RUN,ONPROC}



details:   https://anonhg.NetBSD.org/src/rev/ea66e640c16e
branches:  trunk
changeset: 744922:ea66e640c16e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Feb 17 09:09:48 2020 +0000

description:
G/C LS{SLEEP,RUN,ONPROC}

LWP status manipulation was moved out of assembly long ago.

diffstat:

 sys/arch/amd64/amd64/genassym.cf     |  5 +----
 sys/arch/amiga/amiga/genassym.cf     |  8 +-------
 sys/arch/atari/atari/genassym.cf     |  8 +-------
 sys/arch/cesfic/cesfic/genassym.cf   |  8 +-------
 sys/arch/hp300/hp300/genassym.cf     |  9 +--------
 sys/arch/i386/i386/genassym.cf       |  5 +----
 sys/arch/luna68k/luna68k/genassym.cf |  8 +-------
 sys/arch/mac68k/mac68k/genassym.cf   |  8 +-------
 sys/arch/mvme68k/mvme68k/genassym.cf |  8 +-------
 sys/arch/news68k/news68k/genassym.cf |  8 +-------
 sys/arch/next68k/next68k/genassym.cf |  8 +-------
 sys/arch/sparc/sparc/genassym.cf     |  5 +----
 sys/arch/sparc64/sparc64/genassym.cf |  5 +----
 sys/arch/sun2/sun2/genassym.cf       |  8 +-------
 sys/arch/sun3/sun3/genassym.cf       |  8 +-------
 sys/arch/sun3/sun3x/genassym.cf      |  8 +-------
 sys/arch/x68k/x68k/genassym.cf       |  8 +-------
 17 files changed, 17 insertions(+), 108 deletions(-)

diffs (truncated from 363 to 300 lines):

diff -r c275b1c11a98 -r ea66e640c16e sys/arch/amd64/amd64/genassym.cf
--- a/sys/arch/amd64/amd64/genassym.cf  Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/amd64/amd64/genassym.cf  Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.81 2020/01/08 17:38:41 ad Exp $
+#      $NetBSD: genassym.cf,v 1.82 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -124,9 +124,6 @@
 
 include <sys/bus.h>
 
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 define UPAGES                  UPAGES
 define USPACE                  USPACE
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/amiga/amiga/genassym.cf
--- a/sys/arch/amiga/amiga/genassym.cf  Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/amiga/amiga/genassym.cf  Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.31 2018/12/19 13:57:45 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.32 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -96,12 +96,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR        offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/atari/atari/genassym.cf
--- a/sys/arch/atari/atari/genassym.cf  Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/atari/atari/genassym.cf  Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.33 2018/12/19 13:57:46 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.34 2020/02/17 09:09:48 skrll Exp $
 
 #-
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -79,12 +79,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/cesfic/cesfic/genassym.cf
--- a/sys/arch/cesfic/cesfic/genassym.cf        Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/cesfic/cesfic/genassym.cf        Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.15 2011/01/14 02:06:24 rmind Exp $
+#      $NetBSD: genassym.cf,v 1.16 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -105,12 +105,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/hp300/hp300/genassym.cf
--- a/sys/arch/hp300/hp300/genassym.cf  Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/hp300/hp300/genassym.cf  Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.45 2018/12/19 13:57:47 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.46 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -152,13 +152,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
-
 # interrupt event counters
 define HI_EVCNT                offsetof(struct hp300_intr, hi_evcnt)
 define SIZEOF_HI               sizeof(struct hp300_intr)
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/i386/i386/genassym.cf
--- a/sys/arch/i386/i386/genassym.cf    Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/i386/i386/genassym.cf    Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.118 2020/01/08 17:38:41 ad Exp $
+#      $NetBSD: genassym.cf,v 1.119 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -132,9 +132,6 @@
 
 define PAGE_SIZE               PAGE_SIZE
 
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 define UPAGES                  UPAGES
 define USPACE                  USPACE
 define KSTACK_SIZE             KSTACK_SIZE
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/luna68k/luna68k/genassym.cf
--- a/sys/arch/luna68k/luna68k/genassym.cf      Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/luna68k/luna68k/genassym.cf      Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.21 2018/12/19 13:57:47 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.22 2020/02/17 09:09:48 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -96,12 +96,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/mac68k/mac68k/genassym.cf
--- a/sys/arch/mac68k/mac68k/genassym.cf        Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/mac68k/mac68k/genassym.cf        Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.39 2018/12/19 13:57:48 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.40 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1990 The Regents of the University of California.
@@ -86,12 +86,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/mvme68k/mvme68k/genassym.cf
--- a/sys/arch/mvme68k/mvme68k/genassym.cf      Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/mvme68k/mvme68k/genassym.cf      Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.36 2018/12/19 13:57:48 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.37 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -125,12 +125,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/news68k/news68k/genassym.cf
--- a/sys/arch/news68k/news68k/genassym.cf      Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/news68k/news68k/genassym.cf      Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.28 2018/12/19 13:57:49 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.29 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -101,12 +101,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/next68k/next68k/genassym.cf
--- a/sys/arch/next68k/next68k/genassym.cf      Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/next68k/next68k/genassym.cf      Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.27 2018/12/19 13:57:49 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.28 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -122,12 +122,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # interrupt/fault metering
 define CI_NINTR                offsetof(struct cpu_info, ci_data.cpu_nintr)
 
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/sparc/sparc/genassym.cf
--- a/sys/arch/sparc/sparc/genassym.cf  Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/sparc/sparc/genassym.cf  Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.68 2012/11/02 00:01:19 chs Exp $
+#      $NetBSD: genassym.cf,v 1.69 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -115,9 +115,6 @@
 define L_PRIORITY      offsetof(struct lwp, l_priority)
 define L_TF            offsetof(struct lwp, l_md.md_tf)
 
-define LSRUN           LSRUN
-define LSONPROC        LSONPROC
-
 # proc fields
 define P_VMSPACE       offsetof(struct proc, p_vmspace)
 define P_RASLIST       offsetof(struct proc, p_raslist)
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/sparc64/sparc64/genassym.cf
--- a/sys/arch/sparc64/sparc64/genassym.cf      Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.cf      Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.83 2020/01/08 17:38:42 ad Exp $
+#      $NetBSD: genassym.cf,v 1.84 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -117,9 +117,6 @@
 define L_TF                    offsetof(struct lwp, l_md.md_tf)
 define L_FPSTATE               offsetof(struct lwp, l_md.md_fpstate)
 
-define LSRUN           LSRUN
-define LSONPROC        LSONPROC
-
 # proc fields and values
 define P_MD_SYSCALL    offsetof(struct proc, p_md.md_syscall)
 define P_STAT          offsetof(struct proc, p_stat)
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/sun2/sun2/genassym.cf
--- a/sys/arch/sun2/sun2/genassym.cf    Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/sun2/sun2/genassym.cf    Mon Feb 17 09:09:48 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.12 2018/12/19 13:57:50 maxv Exp $
+#      $NetBSD: genassym.cf,v 1.13 2020/02/17 09:09:49 skrll Exp $
 
 #
 # Copyright (c) 1982, 1990, 1993
@@ -159,12 +159,6 @@
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_VMSPACE               offsetof(struct proc, p_vmspace)
 
-# lwp fields and values
-
-define LSSLEEP                 LSSLEEP
-define LSRUN                   LSRUN
-define LSONPROC                LSONPROC
-
 # XXX: HP-UX trace bit?
 
 # VM/pmap structure fields
diff -r c275b1c11a98 -r ea66e640c16e sys/arch/sun3/sun3/genassym.cf
--- a/sys/arch/sun3/sun3/genassym.cf    Mon Feb 17 08:46:10 2020 +0000
+++ b/sys/arch/sun3/sun3/genassym.cf    Mon Feb 17 09:09:48 2020 +0000



Home | Main Index | Thread Index | Old Index