summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-142-0/+51
| | | | | | | | | | | 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
* sys/utsname.h: Increase buffer to avoid overflowJoel Sherrill2017-06-211-2/+2
|
* network: Move RTEMS specificsSebastian Huber2017-06-071-11/+0
| | | | | | | | | Move RTEMS specifics to <rtems/rtems_bsdnet.h>. Introduce rtems_tap_ifreq. The interface tap support is RTEMS-specific and only available in the legacy network stack. Update #2833.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-071-1/+1
| | | | Update #2833.
* Move RTEMS-specific Termios API contentSebastian Huber2017-06-073-32/+9
| | | | | | | Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
* Provide kernel space headers used by NewlibSebastian Huber2017-06-072-0/+29
| | | | Update #2833.
* posix/mman: add mmap support for shm objectsGedare Bloom2017-05-052-0/+42
| | | | Update #2859.
* sys/event.h: Update to FreeBSD head 2017-02-13Sebastian Huber2017-04-041-7/+9
|
* bsps: Fix baud settingsSebastian Huber2017-04-031-4/+2
| | | | Update #2897.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-226-216/+464
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* libio: Fix deadlock in location managementSebastian Huber2017-03-161-1/+4
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Update #2936.
* termios: Change tty_rcvwakeup to boolSebastian Huber2017-02-281-1/+1
| | | | Optimize callout invocation check.
* termios: Add kqueue() and poll() supportSebastian Huber2017-02-231-0/+20
| | | | Real implementation is provided by libbsd.
* termios: Fix static device initalizationSebastian Huber2017-02-031-1/+17
| | | | | | This enables early printk() support. Update #2838.
* Fix documentation commentSebastian Huber2017-01-121-4/+4
|
* Add and use rtems_assoc_thread_states_to_string()Sebastian Huber2017-01-121-0/+16
|
* Add rtems_assoc_32_to_string()Sebastian Huber2017-01-121-1/+32
|
* sys/event.h: Update to FreeBSD head 2017-01-02Sebastian Huber2017-01-091-29/+31
|
* termios: Add TERMIOS_IRQ_SERVER_DRIVENAlexander Krutwig2016-12-161-4/+6
| | | | | | | | | | Add a new interrupt server driven Termios mode (TERMIOS_IRQ_DRIVEN). This mode is identical to the interrupt driven mode except that a mutex is used for device level locking. The intended use case for this mode are device drivers that use the interrupt server, e.g. SPI or I2C connected devices. Update #2839.
* termios: Use mutex for task driven modeSebastian Huber2016-12-161-5/+21
| | | | | | | | | | Termios has a task driven mode (TERMIOS_TASK_DRIVEN). This mode aims to avoid long sections with disabled interrupts. This is only partly implemented since the device level state is still protected by disabled interrupts. Use a mutex to protect the device level state in task driven mode to fix this issue. Update #2838.
* posix: Add self-contained pthread spinlockSebastian Huber2016-11-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn pthread_spinlock_t into a self-contained object. On uni-processor configurations, interrupts are disabled in the lock/trylock operations and the previous interrupt status is restored in the corresponding unlock operations. On SMP configurations, a ticket lock is a acquired and released in addition. The self-contained pthread_spinlock_t object is defined by Newlib in <sys/_pthreadtypes.h>. typedef struct { struct _Ticket_lock_Control _lock; __uint32_t _interrupt_state; } pthread_spinlock_t; This implementation is simple and efficient. However, this test case of the Linux Test Project would fail due to call of printf() and sleep() during spin lock ownership: https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c There is only limited support for profiling on SMP configurations. Delete CORE spinlock implementation. Update #2674.
* Provide kernel space header filesSebastian Huber2016-11-082-0/+203
| | | | | These kernel space header files must be provided for Newlib 172e2050d95b41861db858dd9bc43a3fb4a28987.
* sys/sockio.h: Update to FreeBSD head 2016-05-03Sebastian Huber2016-10-261-2/+7
|
* sys/event.h: Update to FreeBSD head 2016-06-27Sebastian Huber2016-10-261-12/+30
|
* termios: Add IO control handlerSebastian Huber2016-09-191-0/+15
| | | | Update #2785.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-191-52/+4
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* posix: Simplify message queuesSebastian Huber2016-05-021-1/+0
| | | | | | | | | | | | The mq_open() function returns a descriptor to a POSIX message queue object identified by a name. This is similar to sem_open(). In contrast to the POSIX semaphore the POSIX message queues use a separate object for the descriptor. This extra object is superfluous, since the object identifier can be used directly for this purpose, just like for the semaphores. Update #2702. Update #2555.
* Move various driver interface definition headers file libcsupport/ to include/Joel Sherrill2016-03-305-558/+0
| | | | | | | | | | | These were in libcsupport for historical reasons and the placement no longer made sense. As part of this move, some of the files were placed under subdirectories which reflect their installed location. Thank you git for allowing us to move files. Years of CVS resulted in files being somewhere they no longer belonged.
* Use linker set for libio initializationSebastian Huber2016-02-031-15/+0
| | | | Update #2408.
* Use atexit() handler to close std file descriptorsSebastian Huber2016-02-031-2/+0
|
* Use linker set for root file system initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* 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.
* Delete unused declarations and defineSebastian Huber2015-11-271-5/+1
|
* Delete empty libc_init()Sebastian Huber2015-11-271-1/+0
|
* Import latest <sys/ttycom.h> from FreeBSDSebastian Huber2015-11-171-57/+62
| | | | Required by new network stack.
* Merge with latest <sys/sockio.h> from FreeBSDSebastian Huber2015-11-171-5/+53
| | | | Required by new network stack.
* Import latest <sys/filio.h> from FreeBSDSebastian Huber2015-11-172-17/+13
| | | | Required by new network stack.
* basedefs.h: Add and use RTEMS_NO_RETURNSebastian Huber2015-10-261-1/+1
|
* 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.