- Timestamp:
- 04/17/14 05:57:09 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 782182eb
- Parents:
- 10e613ba
- git-author:
- Sebastian Huber <sebastian.huber@…> (04/17/14 05:57:09)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (04/17/14 06:06:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/cpu_supplement/general.t
r10e613ba r320faf8e 320 320 facilities mandated by the application binary interface (ABI) of the CPU 321 321 architecture. The CPU port must initialize the TLS area in the 322 @code{_CPU_Context_Initialize} function. 322 @code{_CPU_Context_Initialize()} function. There are support functions available 323 via @code{#include <rtems/score/tls.h>} which implement Variants I and II 324 according to Ulrich Drepper, @cite{ELF Handling For Thread-Local Storage}. 325 326 @table @code 327 328 @item _TLS_TCB_at_area_begin_initialize() 329 Uses Variant I, TLS offsets emitted by linker takes the TCB into account. For 330 a reference implementation see @file{cpukit/score/cpu/arm/cpu.c}. 331 332 @item _TLS_TCB_before_TLS_block_initialize() 333 Uses Variant I, TLS offsets emitted by linker neglects the TCB. For a 334 reference implementation see 335 @file{c/src/lib/libcpu/powerpc/new-exceptions/cpu.c}. 336 337 @item _TLS_TCB_after_TLS_block_initialize() 338 Uses Variant II. For a reference implementation see 339 @file{cpukit/score/cpu/sparc/cpu.c}. 340 341 @end table 323 342 324 343 The board support package (BSP) must provide the following sections and symbols
Note: See TracChangeset
for help on using the changeset viewer.