summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libio: Fix deadlock in location managementSebastian Huber2017-03-211-1/+4
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Close #2936.
* Filesystem: Export most generic path eval functionSebastian Huber2016-02-021-0/+1
| | | | | | | | Add path length parameter to rtems_filesystem_eval_path_start_with_root_and_current() so that users may pass paths without a '\0' termination. Update #2558.
* Move contents of libcsupport/include/zilog into libbsp/sharedJoel Sherrill2015-03-092-203/+0
| | | | Only a few BSPs use this and it should not have been in libcsupport.
* Remove unused cpukit/libcsupport/include/zilog/z8536.hJoel Sherrill2015-03-091-110/+0
|
* Move libcsupport/include/motorola/*.h to m68k/idp BSPJoel Sherrill2015-03-092-379/+0
| | | | | | | These header files were only used by one BSP and they are hardware dependent. The hardware dependency always made them bad candidates for where they were in the tree. But this fixes that.
* Fix even more Doxygen issuesJoel Sherrill2015-03-061-1/+1
|
* sys/event.h: Update to FreeBSD 9.3Sebastian Huber2015-02-131-1/+3
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-11/+0
|
* Add rtems_filesystem_make_dev_t_from_pointer()Sebastian Huber2015-02-041-0/+9
|
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-041-1/+1
|
* Filesystem: Use rtems_libio_iop_to_descriptor()Sebastian Huber2015-02-041-1/+1
| | | | | Drop parameter check from previously unused rtems_libio_iop_to_descriptor().
* Filesystem: Delete rtems_libio_last_iopSebastian Huber2015-02-041-1/+0
|
* Filesystem: Make rtems_libio_number_iops constSebastian Huber2015-02-041-1/+1
|
* Filesystem: Delete node type operationSebastian Huber2015-01-222-50/+20
| | | | Use the fstat handler instead.
* Add POSIX key value pairs to resource snapshotSebastian Huber2014-12-121-1/+2
|
* libcsupport: Delete malloc statisticsSebastian Huber2014-11-281-63/+0
| | | | | | | Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
* Add supplementary groups to user environmentSebastian Huber2014-11-201-4/+23
|
* Filesystem: TypoSebastian Huber2014-11-201-1/+1
|
* libcsupport/include/clockdrv.h: Remove rtems_clock_major/minorJoel Sherrill2014-10-131-2/+0
|
* termios: Partially hide rtems_termios_ttySebastian Huber2014-10-071-48/+98
| | | | | | | Move interrupt lock to device context and expose only this structure to the read, write and set attributes device handler. This makes these device handler independent of the general Termios infrastructure suitable for direct use in printk() support.
* termios: Separate flow control from normal handlerSebastian Huber2014-10-071-9/+26
|
* tod.h -> libcsupport like other driver and helper prototype filesJoel Sherrill2014-09-161-0/+70
| | | | | This rippled into the handful of files that should have been using <rtems/tod.h>.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-34/+0
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* termios: Add rtems_termios_set_best_baud()Sebastian Huber2014-07-091-3/+18
|
* termios: Add rtems_termios_get_termios()Christian Mauderer2014-07-091-1/+14
|
* termios: PR2153: New low-level device APISebastian Huber2014-07-091-10/+230
| | | | | | | | | | | | | | | | | Add a new low-level device API to Termios that passes the TTY structure to the low-level device functions. This greatly simplifies the low-level device drivers since they are no longer forced to derive their private data from the minor number. It makes it possible to use the TTY low-level lock in the device driver low-level functions which is necessary for proper SMP support. For example to set the attributes it is often necessary to perform a read-modify-write operation on a control register used also by interrupt routines. A compatibility layer is provided to support device drivers using the old callback functions so it is not necessary to modify existing device drivers.
* score: Simplify thread control initializationSebastian Huber2014-04-151-6/+1
| | | | | | | | | | | 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.
* ringbuf: Fix ISR lock initialization/destructionSebastian Huber2014-04-011-0/+6
|
* score: Thread life cycle re-implementationSebastian Huber2014-03-311-1/+6
| | | | | | | | | | | | | | | | | | | 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 Mauderer2014-03-271-0/+5
|
* libcsupport: Use POSIX keys for GXX key functionsChristian Mauderer2014-03-241-7/+1
| | | | | With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured.
* libcsupport: Remove unused gxx-wrapper function.Christian Mauderer2014-03-241-2/+0
| | | | The rtems_gxx_key_dtor function is not longer used by gcc.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2122-22/+22
|
* score: Add local context to SMP lock APISebastian Huber2014-03-112-9/+9
| | | | | | | | | | | 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.
* score: Change debug helper functionsSebastian Huber2014-02-121-2/+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().
* libcsupport: Refactor rtems_deviceio_errnoDaniel Ramirez2014-01-081-2/+0
| | | | | | 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 cfmakerawDaniel Ramirez2014-01-071-0/+2
|
* libcsupport: Accept NULL for zero-length entriesSebastian Huber2013-12-201-1/+1
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-201-0/+73
| | | | | | | | | 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 Huber2013-12-201-0/+56
|
* PR2158: Add support for dup2.Chris Johns2013-12-101-0/+7
| | | | | Split the dub call into dup and dup2 in fcntl.c. This requires a private command which is placed in the internal libio header.
* statvfs filesystem handlers: Remove restrictJoel Sherrill2013-11-271-4/+4
|
* statvfs and ALL filesystem handlers: Add restrict keyword.Daniel Ramirez2013-11-212-5/+5
|
* Filesystem: Add kernel event filter handlerSebastian Huber2013-11-042-0/+310
| | | | | | This handler is necessary to implement the KQUEUE(2) system calls. Add <sys/event.h> from FreeBSD 8.4.
* Filesystem: Add poll() handlerSebastian Huber2013-11-042-0/+132
| | | | | | | This handler is necessary to implement the SELECT(2) and POLL(2) system calls. Add <sys/poll.h> from FreeBSD 8.4.
* Filesystem: Use ENOTTY for default ioctl() handlerSebastian Huber2013-10-311-1/+1
| | | | This is in line with Linux and FreeBSD.
* Filesystem: DocumentationSebastian Huber2013-10-311-1/+1
|
* Filesystem: PR2146: DocumentationSebastian Huber2013-10-231-1/+3
|
* libcsupport: Updates from latest FreeBSD versionSebastian Huber2013-10-161-11/+21
|
* Filesystem: PR2146: DocumentationSebastian Huber2013-10-151-11/+28
|