Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | score: Simplify thread control initialization | Sebastian Huber | 2014-04-15 | 1 | -24/+2 |
| | | | | | | | | | | | The thread control block contains fields that point to application configuration dependent memory areas, like the scheduler information, the API control blocks, the user extension context table, the RTEMS notepads and the Newlib re-entrancy support. Account for these areas in the configuration and avoid extra workspace allocations for these areas. This helps also to avoid heap fragementation and reduces the per thread memory due to a reduced heap allocation overhead. | ||||
* | privateenv.c: Remove unused variable warning | Joel Sherrill | 2014-04-04 | 1 | -1/+0 |
| | |||||
* | score: PR2152: Use allocator mutex for objects | Sebastian Huber | 2014-03-31 | 1 | -17/+7 |
| | | | | | Use allocator mutex for objects allocate/free. This prevents that the thread dispatch latency depends on the workspace/heap fragmentation. | ||||
* | score: Thread life cycle re-implementation | Sebastian Huber | 2014-03-31 | 2 | -6/+12 |
| | | | | | | | | | | | | | | | | | | | The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors. | ||||
* | privateenv: Use POSIX keys instead of task variables. | Christian Mauderer | 2014-03-27 | 3 | -19/+32 |
| | |||||
* | privateenv: Remove sharing of user environment between threads. | Christian Mauderer | 2014-03-27 | 1 | -56/+4 |
| | |||||
* | libcsupport: Use POSIX keys for GXX key functions | Christian Mauderer | 2014-03-24 | 1 | -60/+52 |
| | | | | | With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured. | ||||
* | libcsupport: Remove unused gxx-wrapper function. | Christian Mauderer | 2014-03-24 | 1 | -10/+0 |
| | | | | The rtems_gxx_key_dtor function is not longer used by gcc. | ||||
* | score: Unify pthread and gxx_wrapper once and move to score. | Christian Mauderer | 2014-03-21 | 1 | -13/+2 |
| | |||||
* | Change all references of rtems.com to rtems.org. | Chris Johns | 2014-03-21 | 142 | -142/+142 |
| | |||||
* | score: Add SMP lock profiling support | Sebastian Huber | 2014-03-14 | 2 | -2/+2 |
| | |||||
* | score: Add function to destroy SMP locks | Sebastian Huber | 2014-03-11 | 1 | -0/+1 |
| | |||||
* | score: Add local context to SMP lock API | Sebastian Huber | 2014-03-11 | 1 | -27/+27 |
| | | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated. | ||||
* | printk: Add support for long long | Sebastian Huber | 2014-03-11 | 1 | -30/+55 |
| | |||||
* | score: Rename _Internal_error_Occurred() | Sebastian Huber | 2014-02-21 | 2 | -3/+3 |
| | | | | Rename _Internal_error_Occurred() into _Terminate(). | ||||
* | score: Change debug helper functions | Sebastian Huber | 2014-02-12 | 1 | -42/+0 |
| | | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text(). | ||||
* | calloc.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 1 | -3/+3 |
| | |||||
* | libcsupport: Refactor rtems_deviceio_errno | Daniel Ramirez | 2014-01-08 | 2 | -81/+7 |
| | | | | | | Renames rtems_deviceio_errno to rtems_status_code_to_errno and integrates it into the Classic API Status Handler. This function can now be called by including status.h | ||||
* | libcsupport: implemented termios functions cfsetspeed and cfmakeraw | Daniel Ramirez | 2014-01-07 | 2 | -0/+105 |
| | |||||
* | Filesystem: Use default kqfilter and poll handler | Sebastian Huber | 2013-12-20 | 1 | -0/+2 |
| | |||||
* | Filesystem: Add readv/writev handlers | Sebastian Huber | 2013-12-20 | 3 | -41/+5 |
| | | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry. | ||||
* | libcsupport: Add and use rtems_libio_iovec_eval() | Sebastian Huber | 2013-12-20 | 2 | -155/+31 |
| | |||||
* | PR2158: Add support for dup2. | Chris Johns | 2013-12-10 | 2 | -7/+48 |
| | | | | | Split the dub call into dup and dup2 in fcntl.c. This requires a private command which is placed in the internal libio header. | ||||
* | gettimeofday: Add restrict keyword | Bryan Dunsmore | 2013-11-29 | 1 | -2/+2 |
| | |||||
* | libcsupport: readlink: add c99 'restrict' keyword | Chirayu Desai | 2013-11-29 | 1 | -1/+2 |
| | | | | Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org> | ||||
* | statvfs and ALL filesystem handlers: Add restrict keyword. | Daniel Ramirez | 2013-11-21 | 2 | -3/+3 |
| | |||||
* | Filesystem: Clear open flag early in close() | Sebastian Huber | 2013-10-31 | 1 | -0/+2 |
| | | | | | This helps to prevent the usage of a file descriptor which is about to close in some situations. | ||||
* | Filesystem: Zero flags in rtems_libio_free() | Sebastian Huber | 2013-10-31 | 1 | -1/+1 |
| | |||||
* | getdents.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -1/+10 |
| | |||||
* | ctermid.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -0/+1 |
| | |||||
* | getpwent.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -0/+5 |
| | |||||
* | newlibc_init.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -0/+1 |
| | |||||
* | __times.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -1/+6 |
| | |||||
* | stat.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -1/+15 |
| | |||||
* | __gettod.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -3/+12 |
| | |||||
* | __gitpid.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -0/+5 |
| | |||||
* | __assert.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -1/+2 |
| | |||||
* | issetugid.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -0/+5 |
| | |||||
* | Filesystem: Change rtems_filesystem_chown() | Sebastian Huber | 2013-09-12 | 3 | -37/+57 |
| | | | | | Implement POSIX requirements in the high-level file system layer. Use common implementation for all change owner variants. | ||||
* | Filesystem: Add and use rtems_filesystem_chmod() | Sebastian Huber | 2013-09-12 | 2 | -9/+42 |
| | | | | Implement POSIX requirements in the high-level file system layer. | ||||
* | termios: check return value from semaphore obtain/release | Gedare Bloom | 2013-09-05 | 1 | -2/+7 |
| | | | | Raise a fatal error in case of failure. | ||||
* | Filesystem: Use unprotected chain operations | Sebastian Huber | 2013-08-27 | 1 | -6/+9 |
| | | | | This area is protected by the IO library mutex. | ||||
* | score: Add and use CHAIN_INITIALIZER_ONE_NODE(). | Sebastian Huber | 2013-08-27 | 1 | -13/+6 |
| | | | | | | Add and use CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN(), RTEMS_CHAIN_INITIALIZER_ONE_NODE() and RTEMS_CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN(). | ||||
* | Filesystem: Remove superfluous free() | Sebastian Huber | 2013-08-23 | 1 | -2/+0 |
| | |||||
* | Expose rtems_verror() | Nick Withers | 2013-08-15 | 1 | -1/+1 |
| | |||||
* | filesystem: Add SMP support | Sebastian Huber | 2013-08-14 | 1 | -0/+3 |
| | |||||
* | PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__ | Sebastian Huber | 2013-08-08 | 8 | -20/+0 |
| | |||||
* | posix: Create key implementation header | Sebastian Huber | 2013-08-06 | 1 | -1/+1 |
| | | | | | | Move implementation specific parts of key.h and key.inl into new header file keyimpl.h. The key.h contains now only the application visible API. | ||||
* | score: Rename tod.h to todimpl.h | Sebastian Huber | 2013-08-01 | 2 | -2/+2 |
| | |||||
* | score: Add and use _Thread_Update_cpu_time_used() | Sebastian Huber | 2013-08-01 | 1 | -5/+15 |
| | | | | Fix _times(). |