diff options
| author | nathanw <nathanw@NetBSD.org> | 2003-07-17 20:55:25 +0000 |
|---|---|---|
| committer | nathanw <nathanw@NetBSD.org> | 2003-07-17 20:55:25 +0000 |
| commit | d37a996a49db27ca1b1e656cc3e261bfe3295a71 (patch) | |
| tree | 4a99325b91850106dcef396b035b26b0fd2bd6a7 /lib/libpthread | |
| parent | fd3a71be253d84859a42cd5d6f7e4eba73b14eee (diff) | |
Adapt to structure name changes.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/arch/alpha/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/arm/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/i386/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/m68k/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/mips/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/powerpc/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/sh3/genassym.cf | 16 | ||||
| -rw-r--r-- | lib/libpthread/arch/sh5/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/sparc/genassym.cf | 20 | ||||
| -rw-r--r-- | lib/libpthread/arch/sparc64/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/vax/genassym.cf | 18 | ||||
| -rw-r--r-- | lib/libpthread/arch/x86_64/genassym.cf | 18 |
12 files changed, 108 insertions, 108 deletions
diff --git a/lib/libpthread/arch/alpha/genassym.cf b/lib/libpthread/arch/alpha/genassym.cf index 47866d26be1..0b2837aaf45 100644 --- a/lib/libpthread/arch/alpha/genassym.cf +++ b/lib/libpthread/arch/alpha/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/06/26 01:29:28 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/07/17 20:55:25 nathanw Exp $ # # Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -44,14 +44,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/arm/genassym.cf b/lib/libpthread/arch/arm/genassym.cf index 4f2c2451807..8980fecfc28 100644 --- a/lib/libpthread/arch/arm/genassym.cf +++ b/lib/libpthread/arch/arm/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.4 2003/06/26 01:29:28 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.5 2003/07/17 20:55:26 nathanw Exp $ # Copyright (c) 2001 Wasabi Systems, Inc. # All rights reserved. @@ -55,14 +55,14 @@ define _UC_USER _UC_USER #======================================================================== # for pthread_switch.S -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) define PT_STATE_RECYCLABLE PT_STATE_RECYCLABLE define RND_CTXSIZE ((sizeof(ucontext_t) + 7) & ~7) diff --git a/lib/libpthread/arch/i386/genassym.cf b/lib/libpthread/arch/i386/genassym.cf index 723cd58cafc..6f1bb7836cc 100644 --- a/lib/libpthread/arch/i386/genassym.cf +++ b/lib/libpthread/arch/i386/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/06/26 01:29:28 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/07/17 20:55:27 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -42,14 +42,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/m68k/genassym.cf b/lib/libpthread/arch/m68k/genassym.cf index 82bef6993e5..c0400945f4d 100644 --- a/lib/libpthread/arch/m68k/genassym.cf +++ b/lib/libpthread/arch/m68k/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/06/26 01:29:28 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/07/17 20:55:27 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -42,14 +42,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS offsetof(ucontext_t, uc_mcontext.__gregs) define UC_FPREGS offsetof(ucontext_t, uc_mcontext.__fpregs) diff --git a/lib/libpthread/arch/mips/genassym.cf b/lib/libpthread/arch/mips/genassym.cf index 731106588fe..e87a8fa7610 100644 --- a/lib/libpthread/arch/mips/genassym.cf +++ b/lib/libpthread/arch/mips/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/06/26 01:29:28 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/07/17 20:55:28 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -42,14 +42,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/powerpc/genassym.cf b/lib/libpthread/arch/powerpc/genassym.cf index 2f712304270..f74b683e61b 100644 --- a/lib/libpthread/arch/powerpc/genassym.cf +++ b/lib/libpthread/arch/powerpc/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.4 2003/06/26 01:29:29 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.5 2003/07/17 20:55:28 nathanw Exp $ # Copyright (c) 2001 Wasabi Systems, Inc. # All rights reserved. @@ -60,14 +60,14 @@ define _UC_USER_BIT _UC_USER_BIT #======================================================================== # for pthread_switch.S -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) define PT_STATE_RECYCLABLE PT_STATE_RECYCLABLE define CONTEXTSIZE sizeof(ucontext_t) diff --git a/lib/libpthread/arch/sh3/genassym.cf b/lib/libpthread/arch/sh3/genassym.cf index 8924eb3968c..19978ade649 100644 --- a/lib/libpthread/arch/sh3/genassym.cf +++ b/lib/libpthread/arch/sh3/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.2 2003/07/05 21:27:23 marcus Exp $ +# $NetBSD: genassym.cf,v 1.3 2003/07/17 20:55:29 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -40,13 +40,13 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/sh5/genassym.cf b/lib/libpthread/arch/sh5/genassym.cf index d96a5f201cd..20406fe5b0f 100644 --- a/lib/libpthread/arch/sh5/genassym.cf +++ b/lib/libpthread/arch/sh5/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.3 2003/01/22 13:52:48 scw Exp $ +# $NetBSD: genassym.cf,v 1.4 2003/07/17 20:55:29 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -43,14 +43,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SLEEPUC offsetof(struct pthread_st, pt_sleepuc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SLEEPUC offsetof(struct __pthread_st, pt_sleepuc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC]) diff --git a/lib/libpthread/arch/sparc/genassym.cf b/lib/libpthread/arch/sparc/genassym.cf index 794e5ca1137..a10e43baeef 100644 --- a/lib/libpthread/arch/sparc/genassym.cf +++ b/lib/libpthread/arch/sparc/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.4 2003/06/26 01:29:29 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.5 2003/07/17 20:55:30 nathanw Exp $ include <ucontext.h> @@ -11,15 +11,15 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SLEEPUC offsetof(struct pthread_st, pt_sleepuc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SLEEPUC offsetof(struct __pthread_st, pt_sleepuc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/sparc64/genassym.cf b/lib/libpthread/arch/sparc64/genassym.cf index d04b9c11a31..7b4f1a7fa33 100644 --- a/lib/libpthread/arch/sparc64/genassym.cf +++ b/lib/libpthread/arch/sparc64/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.4 2003/06/26 01:29:29 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.5 2003/07/17 20:55:30 nathanw Exp $ # # Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -43,14 +43,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/vax/genassym.cf b/lib/libpthread/arch/vax/genassym.cf index 3038bb68add..55869547fa9 100644 --- a/lib/libpthread/arch/vax/genassym.cf +++ b/lib/libpthread/arch/vax/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.1 2003/01/19 23:20:14 matt Exp $ +# $NetBSD: genassym.cf,v 1.2 2003/07/17 20:55:31 nathanw Exp $ # # Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -43,14 +43,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SLEEPUC offsetof(struct pthread_st, pt_sleepuc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SLEEPUC offsetof(struct __pthread_st, pt_sleepuc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs) diff --git a/lib/libpthread/arch/x86_64/genassym.cf b/lib/libpthread/arch/x86_64/genassym.cf index ba164455e67..d80b86b1346 100644 --- a/lib/libpthread/arch/x86_64/genassym.cf +++ b/lib/libpthread/arch/x86_64/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.2 2003/06/26 01:29:29 nathanw Exp $ +# $NetBSD: genassym.cf,v 1.3 2003/07/17 20:55:31 nathanw Exp $ # Copyright (c) 2001 The NetBSD Foundation, Inc. # All rights reserved. @@ -42,14 +42,14 @@ include "pthread.h" include "pthread_int.h" include "pthread_md.h" -define PT_NEXT offsetof(struct pthread_st, pt_next) -define PT_STATE offsetof(struct pthread_st, pt_state) -define PT_SWITCHTO offsetof(struct pthread_st, pt_switchto) -define PT_SWITCHTOUC offsetof(struct pthread_st, pt_switchtouc) -define PT_SPINLOCKS offsetof(struct pthread_st, pt_spinlocks) -define PT_HELDLOCK offsetof(struct pthread_st, pt_heldlock) -define PT_UC offsetof(struct pthread_st, pt_uc) -define PT_TRAPUC offsetof(struct pthread_st, pt_trapuc) +define PT_NEXT offsetof(struct __pthread_st, pt_next) +define PT_STATE offsetof(struct __pthread_st, pt_state) +define PT_SWITCHTO offsetof(struct __pthread_st, pt_switchto) +define PT_SWITCHTOUC offsetof(struct __pthread_st, pt_switchtouc) +define PT_SPINLOCKS offsetof(struct __pthread_st, pt_spinlocks) +define PT_HELDLOCK offsetof(struct __pthread_st, pt_heldlock) +define PT_UC offsetof(struct __pthread_st, pt_uc) +define PT_TRAPUC offsetof(struct __pthread_st, pt_trapuc) define CONTEXTSIZE sizeof(ucontext_t) define UC_FLAGS offsetof(ucontext_t, uc_flags) define UC_REGS offsetof(ucontext_t, uc_mcontext.__gregs) |
