Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Sort LWP fields



details:   https://anonhg.NetBSD.org/src/rev/98c022154bb6
branches:  trunk
changeset: 763878:98c022154bb6
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Apr 06 05:38:19 2011 +0000

description:
Sort LWP fields

diffstat:

 sys/arch/mips/mips/genassym.cf |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r 8c7a590fa7f7 -r 98c022154bb6 sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf    Wed Apr 06 05:37:59 2011 +0000
+++ b/sys/arch/mips/mips/genassym.cf    Wed Apr 06 05:38:19 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.53 2011/03/15 07:39:22 matt Exp $
+#      $NetBSD: genassym.cf,v 1.54 2011/04/06 05:38:19 matt Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -106,20 +106,20 @@
 define MIPS_XKSEG_START        MIPS_XKSEG_START
 
 # Important offsets into the lwp and proc structs & associated constants
+define L_CPU                   offsetof(struct lwp, l_cpu)
+define L_CTXSWITCH             offsetof(struct lwp, l_ctxswtch)
 define L_PCB                   offsetof(struct lwp, l_addr)
-define L_CPU                   offsetof(struct lwp, l_cpu)
 define L_PRIORITY              offsetof(struct lwp, l_priority)
-define L_WCHAN                 offsetof(struct lwp, l_wchan)
-define L_STAT                  offsetof(struct lwp, l_stat)
+define L_PRIVATE               offsetof(struct lwp, l_private)
 define L_PROC                  offsetof(struct lwp, l_proc)
-define L_PRIVATE               offsetof(struct lwp, l_private)
-define L_CTXSWITCH             offsetof(struct lwp, l_ctxswtch)
+define L_STAT                  offsetof(struct lwp, l_stat)
 define L_MD_UTF                offsetof(struct lwp, l_md.md_utf)
 if USPACE > PAGE_SIZE
 define L_MD_UPTE_0             offsetof(struct lwp, l_md.md_upte[0])
 define L_MD_UPTE_1             offsetof(struct lwp, l_md.md_upte[1])
 endif
 define L_MD_ASTPENDING         offsetof(struct lwp, l_md.md_astpending)
+define L_WCHAN                 offsetof(struct lwp, l_wchan)
 
 define P_RASLIST               offsetof(struct proc, p_raslist)
 define P_MD_SYSCALL            offsetof(struct proc, p_md.md_syscall)



Home | Main Index | Thread Index | Old Index