Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread/arch Adapt to structure name changes.
details: https://anonhg.NetBSD.org/src/rev/003f4b8bd6a8
branches: trunk
changeset: 549596:003f4b8bd6a8
user: nathanw <nathanw%NetBSD.org@localhost>
date: Thu Jul 17 20:55:25 2003 +0000
description:
Adapt to structure name changes.
diffstat:
lib/libpthread/arch/alpha/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/arm/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/i386/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/m68k/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/mips/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/powerpc/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/sh3/genassym.cf | 16 ++++++++--------
lib/libpthread/arch/sh5/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/sparc/genassym.cf | 20 ++++++++++----------
lib/libpthread/arch/sparc64/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/vax/genassym.cf | 18 +++++++++---------
lib/libpthread/arch/x86_64/genassym.cf | 18 +++++++++---------
12 files changed, 108 insertions(+), 108 deletions(-)
diffs (truncated from 384 to 300 lines):
diff -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/alpha/genassym.cf
--- a/lib/libpthread/arch/alpha/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/alpha/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/arm/genassym.cf
--- a/lib/libpthread/arch/arm/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/arm/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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 @@
#========================================================================
# 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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/i386/genassym.cf
--- a/lib/libpthread/arch/i386/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/i386/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/m68k/genassym.cf
--- a/lib/libpthread/arch/m68k/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/m68k/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/mips/genassym.cf
--- a/lib/libpthread/arch/mips/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/mips/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/powerpc/genassym.cf
--- a/lib/libpthread/arch/powerpc/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/powerpc/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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 @@
#========================================================================
# 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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/sh3/genassym.cf
--- a/lib/libpthread/arch/sh3/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/sh3/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/sh5/genassym.cf
--- a/lib/libpthread/arch/sh5/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/sh5/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/sparc/genassym.cf
--- a/lib/libpthread/arch/sparc/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/sparc/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_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 -r 7b1e9969b0b0 -r 003f4b8bd6a8 lib/libpthread/arch/sparc64/genassym.cf
--- a/lib/libpthread/arch/sparc64/genassym.cf Thu Jul 17 20:54:41 2003 +0000
+++ b/lib/libpthread/arch/sparc64/genassym.cf Thu Jul 17 20:55:25 2003 +0000
@@ -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_int.h"
include "pthread_md.h"
Home |
Main Index |
Thread Index |
Old Index