Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread/arch/sh3 Add necessary symbols.
details: https://anonhg.NetBSD.org/src/rev/f9189eff1464
branches: trunk
changeset: 555453:f9189eff1464
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Nov 18 03:07:29 2003 +0000
description:
Add necessary symbols.
diffstat:
lib/libpthread/arch/sh3/genassym.cf | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 14c8f29d8ef8 -r f9189eff1464 lib/libpthread/arch/sh3/genassym.cf
--- a/lib/libpthread/arch/sh3/genassym.cf Tue Nov 18 01:40:18 2003 +0000
+++ b/lib/libpthread/arch/sh3/genassym.cf Tue Nov 18 03:07:29 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.4 2003/09/07 14:47:52 cl Exp $
+# $NetBSD: genassym.cf,v 1.5 2003/11/18 03:07:29 uwe Exp $
# Copyright (c) 2001 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -45,11 +45,15 @@
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_TRAPUC offsetof(struct __pthread_st, pt_trapuc)
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)
define UC_FPREGS offsetof(ucontext_t, uc_mcontext.__fpregs)
+define UC_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
+
+define RND_CTXSIZE ((sizeof(ucontext_t) + 3) & ~3)
define STACKSPACE STACKSPACE
Home |
Main Index |
Thread Index |
Old Index