Deleted Added
full compact
2c2
< * Copyright (c) 2003 Marcel Moolenaar
---
> * Copyright (c) 2003-2006 Marcel Moolenaar
26c26
< * $FreeBSD: head/lib/libkse/arch/ia64/include/pthread_md.h 133857 2004-08-16 14:07:38Z davidxu $
---
> * $FreeBSD: head/lib/libkse/arch/ia64/include/pthread_md.h 161802 2006-09-01 06:17:16Z marcel $
37c37
< #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_tdv)
---
> #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv)
48d47
< struct tdv; /* We don't know what this is yet? */
58c57
< struct tdv *tp_tdv; /* dynamic TLS */
---
> void *tp_dtv; /* dynamic thread vector. */
73,74d71
< struct tcb kcb_faketcb;
< struct tcb *kcb_curtcb;
75a73,74
> struct tcb *kcb_curtcb;
> struct tcb kcb_faketcb;
78c77,78
< register struct ia64_tp *_tp __asm("%r13");
---
> register struct ia64_tp *_tp __asm("r13");
> #define IA64_SET_TP(x) __asm __volatile("mov r13 = %0;;" :: "r"(x))
95c95
< _tp = &kcb->kcb_faketcb.tcb_tp;
---
> IA64_SET_TP(&kcb->kcb_faketcb.tcb_tp);
173c173
< _tp = &tcb->tcb_tp;
---
> IA64_SET_TP(&tcb->tcb_tp);
211c211
< _tp = &kcb->kcb_faketcb.tcb_tp;
---
> IA64_SET_TP(&kcb->kcb_faketcb.tcb_tp);