Files
rtems/cpukit/libcsupport/src
Kevin Kirspel c6bb1c33bc posix/mmap: Add support for file handler and MAP_ANON
Added a mmap file handler to struct _rtems_filesystem_file_handlers_r.
Updated each file handler object to support the default mmap handler.
Updated mmap() to call the mmap handler for MAP_SHARED.
Added a mmap file handler for shm

Added support for MAP_ANON in mmap().

Updates #2859
2017-07-14 16:04:05 -04:00
..
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2014-11-28 11:23:53 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2016-05-25 15:47:34 +10:00
2015-10-26 09:13:19 +01:00
2014-11-20 10:30:22 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2016-02-25 11:35:54 +01:00
2016-07-22 09:13:07 +02:00
2015-11-25 08:33:31 +01:00
2015-10-26 09:13:19 +01:00
2017-03-02 07:54:52 +01:00
2015-10-26 09:13:19 +01:00
2015-12-24 16:52:34 -06:00
2014-10-24 16:05:59 -07:00
2015-01-22 07:52:40 +01:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00
2016-11-02 08:46:47 +01:00
2015-10-26 09:13:19 +01:00
2015-05-19 12:00:44 +02:00
2015-10-26 09:13:19 +01:00
2015-10-26 09:13:19 +01:00

--

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.

    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.