summaryrefslogtreecommitdiffstats
path: root/lib/libkse/arch/arm/include
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-08-16 03:27:29 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-08-16 03:27:29 +0000
commit48729174301a8e17185c18c146f969c0fc2dd9f0 (patch)
tree9e58ede141be355c38f2c1cd9f7881b2e6134800 /lib/libkse/arch/arm/include
parent62ead65343c2618ed24b963da542a95e4373aa7d (diff)
downloadFreeBSD-src-48729174301a8e17185c18c146f969c0fc2dd9f0.zip
FreeBSD-src-48729174301a8e17185c18c146f969c0fc2dd9f0.tar.gz
1. Add macro DTV_OFFSET to calculate dtv offset in tcb.
2. Export symbols needed by debugger.
Diffstat (limited to 'lib/libkse/arch/arm/include')
-rw-r--r--lib/libkse/arch/arm/include/pthread_md.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libkse/arch/arm/include/pthread_md.h b/lib/libkse/arch/arm/include/pthread_md.h
index 2ba486c..e9d2b6f 100644
--- a/lib/libkse/arch/arm/include/pthread_md.h
+++ b/lib/libkse/arch/arm/include/pthread_md.h
@@ -38,6 +38,7 @@
#include <ucontext.h>
#define KSE_STACKSIZE 16384
+#define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv)
int _thr_setcontext(mcontext_t *, intptr_t, intptr_t *);
int _thr_getcontext(mcontext_t *);
OpenPOWER on IntegriCloud