source: rtems/cpukit/libcsupport/src/README @ c499856

4.115
Last change on this file since c499856 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1--
2
3Overview of newlib support (newlib is from CYGNUS)
4    Each task can have its own libc state including:
5        open stdio files
6        strtok
7        multi precision arithmetic state
8        etc.
9
10    This is implemented by a reentrancy data structure for each task.
11
12    When a task is "started" (in RTEMS sense) the reentrancy structure
13    is allocated.  Its address is stored in notepad[NOTEPAD_LAST].
14
15    When task is switched to, the value of global variable _impure_ptr
16    is changed to the value of the new tasks reentrancy structure.
17
18    When a task is deleted
19        atexit() processing (for that task) happens
20        task's stdio buffers are flushed
21
22    When exit(3) is called
23        calling task's atexit processing done
24        global libc state atexit processing done
25            (this will include any atexit routines installed by drivers)
26        executive is shutdown
27            causes a context switch back to bsp land
28
29
30NOTE:
31    libc extension are installed by bsp_libc_init()
32        iff we are using clock interrupts.
33        This hack is necessary to allow the tmtests to avoid
34        timing the extensions.
35
Note: See TracBrowser for help on using the repository browser.