Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/include/tls.h
Show All 38 Lines | |||||
/* | /* | ||||
* TLS parameters | * TLS parameters | ||||
*/ | */ | ||||
#define TLS_TP_OFFSET 0x7000 | #define TLS_TP_OFFSET 0x7000 | ||||
#define TLS_DTP_OFFSET 0x8000 | #define TLS_DTP_OFFSET 0x8000 | ||||
#ifdef __mips_n64 | #ifdef __mips_n64 | ||||
#define TLS_TCB_SIZE 16 | #define TLS_TCB_SIZE 16 | ||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
#define TLS_TCB_SIZE32 8 | #define TLS_TCB_SIZE32 8 | ||||
#endif | #endif | ||||
#else | #else | ||||
#define TLS_TCB_SIZE 8 | #define TLS_TCB_SIZE 8 | ||||
#endif | #endif | ||||
#define MIPS_TCB_DYNAMIC 0 | |||||
mmel: Why is this define needed ? | |||||
#endif /* __MIPS_TLS_H__ */ | #endif /* __MIPS_TLS_H__ */ |
Why is this define needed ?