Rev 2482 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2482 | Rev 2586 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | * @ingroup libcmips32eb |
33 | * @ingroup libcmips32eb |
34 | */ |
34 | */ |
35 | 35 | ||
36 | /* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ |
36 | /* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ |
37 | 37 | ||
38 | #ifndef LIBC_mips32_THREAD_H_ |
38 | #ifndef LIBC_mips32_TLS_H_ |
39 | #define LIBC_mips32_THREAD_H_ |
39 | #define LIBC_mips32_TLS_H_ |
- | 40 | ||
- | 41 | /* |
|
- | 42 | * FIXME: Note that the use of variant I contradicts the observations made in |
|
- | 43 | * the note below. Nevertheless the scheme we have used for allocating and |
|
- | 44 | * deallocatin TLS corresponds to TLS variant I. |
|
- | 45 | */ |
|
- | 46 | #define CONFIG_TLS_VARIANT_1 |
|
40 | 47 | ||
41 | /* I did not find any specification (neither MIPS nor PowerPC), but |
48 | /* I did not find any specification (neither MIPS nor PowerPC), but |
42 | * as I found it |
49 | * as I found it |
43 | * - it uses Variant II |
50 | * - it uses Variant II |
44 | * - TCB is at Address(First TLS Block)+0x7000. |
51 | * - TCB is at Address(First TLS Block)+0x7000. |