Files
rtems/cpukit/libcsupport/src
Joel Sherrill 9c3fa30a11 2000-09-28 Joel Sherrill <joel@OARcorp.com>
* libc/libio.h (rtems_filesystem_file_handlers_r,
	rtems_filesystem_operations_table): Added _h to all structure
	fields to indicate they are "handlers".
	* libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
	libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
	libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
	libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
	libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
	libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
	libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
	Modified to reflect above name change.
2000-09-28 20:19:23 +00:00
..
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-12-13 22:10:45 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-12-13 14:49:38 +00:00
1999-11-17 17:51:34 +00:00
2000-06-12 15:00:15 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-02 16:25:05 +00:00
1995-05-11 17:39:37 +00:00
1999-11-17 17:51:34 +00:00
2000-08-03 14:43:33 +00:00
1999-11-17 17:51:34 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
2000-06-14 20:22:31 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00
1999-11-17 17:51:34 +00:00

--
--  $Id$
--

Overview of newlib support (newlib is from CYGNUS)
    Each task can have its own libc state including:
        open stdio files
        strtok
        multi precision arithmetic state
        etc.

    This is implemented by a reentrancy data structure for each task.

    When a task is "started" (in RTEMS sense) the reentrancy structure
    is allocated.  Its address is stored in notepad[NOTEPAD_LAST].

    When task is switched to, the value of global variable _impure_ptr
    is changed to the value of the new tasks reentrancy structure.

    When a task is deleted
        atexit() processing (for that task) happens
        task's stdio buffers are flushed

    When exit(3) is called
        calling task's atexit processing done
        global libc state atexit processing done
            (this will include any atexit routines installed by drivers)
        executive is shutdown
            causes a context switch back to bsp land


NOTE:
    libc extension are installed by bsp_libc_init()
        iff we are using clock interrupts.
        This hack is necessary to allow the tmtests to avoid
        timing the extensions.