summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* i2c: Send MSB of address first for EEPROMsSebastian Huber2017-10-021-12/+21
| | | | Update #3161.
* libpci: fix pci device allocationDaniel Hellstrom2017-09-295-37/+32
| | | | | | | | | | The refactoring of pci_dev_create() was incorrect since the code relied on different defines before including pci/cfg.h. This reverts back to the original code having two pci_dev_create() one in auto and one in read library. confdefs.h selectes between the two libraries so both there is no link conflict. Updates #3029
* shell: Fix missing prototype warningSebastian Huber2017-09-281-0/+1
|
* network: Add missing forward declarationSebastian Huber2017-09-281-0/+1
|
* posix: Remove superfluous includesSebastian Huber2017-09-278-57/+18
|
* score: Simplify red-black tree debug supportSebastian Huber2017-09-274-16/+17
| | | | | | | | Make the RBTree_Node layout independent of RTEMS_DEBUG (and all other build configuration options). This allows the use of this structure in Newlib. Update #3112.
* posix: Remove superfluous includesSebastian Huber2017-09-272-14/+8
|
* score: Rename to _Scheduler_ControlSebastian Huber2017-09-277-15/+15
| | | | | | | Rename struct Scheduler_Control to _Scheduler_Control to allow its use in standard header files, e.g. <pthread.h>. Update #3112.
* posix shm: Add oflag to Shm_ControlJoel Sherrill2017-09-222-0/+2
|
* score: Include missing header fileSebastian Huber2017-09-221-0/+2
| | | | Update #3059.
* posix: Allow PTHREAD_PROCESS_SHARED for rwlocksSebastian Huber2017-09-221-23/+7
| | | | Close #3153.
* score: Include missing <limits.h>Sebastian Huber2017-09-191-0/+2
| | | | | Update #2132. Close #3140.
* Add "\n" to "\r\n" translation to rtems_putc()Sebastian Huber2017-09-191-1/+5
| | | | Update #3122.
* posix: Allow PTHREAD_PROCESS_SHARED for condvarSebastian Huber2017-09-151-2/+5
| | | | Close #3137.
* posix: Allow PTHREAD_PROCESS_SHARED for barriersSebastian Huber2017-09-151-6/+3
| | | | Close #3126.
* posix: Allow PTHREAD_PROCESS_SHARED for mutexesSebastian Huber2017-09-152-7/+18
| | | | Close #3125.
* libio: Remove rtems_libio_t::driverSebastian Huber2017-09-151-1/+0
| | | | | | This member was apparently unused. Close #3133.
* libio: Use FIFO for iop free listSebastian Huber2017-09-154-13/+25
| | | | Update #3136.
* libio: Add hold/drop iop referenceSebastian Huber2017-09-1519-44/+141
| | | | | | | Check iop reference count in close() and return -1 with errno set to EBUSY in case the file descriptor is still in use. Update #3132.
* libio: Unify readv() and writev()Sebastian Huber2017-09-153-26/+50
| | | | Update #3132.
* libio: LIBIO_GET_IOP() LIBIO_GET_IOP_WITH_ACCESS()Sebastian Huber2017-09-1516-83/+63
| | | | | | | | | Replace rtems_libio_check_fd(), rtems_libio_iop(), rtems_libio_check_open() and rtems_libio_check_permissions() combinations with new LIBIO_GET_IOP() and LIBIO_GET_IOP_WITH_ACCESS() macros. Update #3132.
* libio: Add rtems_libio_iop_is_append()Sebastian Huber2017-09-156-7/+17
| | | | Update #3132.
* libio: Add rtems_libio_iop_is_writeable()Sebastian Huber2017-09-153-3/+13
| | | | Update #3132.
* libio: Add rtems_libio_iop_is_readable()Sebastian Huber2017-09-152-1/+11
| | | | Update #3132.
* libio: Add rtems_libio_iop_is_no_delay()Sebastian Huber2017-09-154-3/+13
| | | | Update #3132.
* libio: Add rtems_libio_iop_flags()Sebastian Huber2017-09-154-7/+12
| | | | Update #3132.
* libio: Add rtems_libio_iop_flags_initialize()Sebastian Huber2017-09-156-15/+42
| | | | Update #3132.
* libio: Add iop set/clear flagsSebastian Huber2017-09-159-15/+56
| | | | Update #3132.
* libio: rtems_libio_check_permissions_with_error()Sebastian Huber2017-09-155-7/+7
| | | | | | | Rename rtems_libio_check_permissions_with_error() in rtems_libio_check_permissions(). Update #3132.
* libio: Remove rtems_libio_check_permissions()Sebastian Huber2017-09-152-11/+1
| | | | | | | Remove rtems_libio_check_permissions() and convert single user to rtems_libio_check_permissions_with_error(). Update #3132.
* libio: Do simple parameter checks earlySebastian Huber2017-09-153-12/+14
| | | | | | This simplifies error handling later. Update #3132.
* libio: Avoid direct use of rtems_libio_iopsSebastian Huber2017-09-143-3/+3
| | | | Update #3132.
* libio: Simplify rtems_libio_iop()Sebastian Huber2017-09-142-8/+14
| | | | | | | Remove the file descriptor validation. This is the job of rtems_libio_check_fd(). Use an inline function instread of a macro. Update #3132.
* libio: Remove LIBIO_FLAGS_CREATESebastian Huber2017-09-143-8/+0
| | | | Close #3134.
* libio: Remove special-case reference countSebastian Huber2017-09-146-112/+27
| | | | | | The top-level IO library structures should contain no special-case data. Update #2859.
* posix: Ignore pshared for semaphoresSebastian Huber2017-09-125-11/+0
| | | | | | Since we have only one process, sharing between processes is trivial. Close #3124.
* serdbg: Fix warningSebastian Huber2017-09-121-1/+0
| | | | Update #3122.
* Simplify and unify BSP_output_charSebastian Huber2017-09-123-7/+9
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* posix: Use mutex object itself for condvarSebastian Huber2017-09-123-6/+6
| | | | | | | | | | We should only use the address used to initialize the mutex object according to POSIX, "2.9.9 Synchronization Object Copies and Alternative Mappings". http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_09 Update #3113.
* i2c: TMP112 correct the function name to set the config.Chris Johns2017-09-111-1/+1
|
* Implement clock()Sebastian Huber2017-09-072-0/+34
| | | | | | | | | | | Newlib uses _times_r() in clock(). The problem is that the _times_r() clock frequency is defined by sysconf(_SC_CLK_TCK). The clock frequency of clock() is the constant CLOCKS_PER_SEC. FreeBSD uses getrusage() for clock(). Since RTEMS has only one process, the implementation can be simplified. Update #3121.
* dosfs: Fix fat_file_update()Sebastian Huber2017-09-061-5/+3
| | | | | | Do not update the non-existant meta-data of the root directory. Update #2944.
* dosfs: Fix find name next entry preparationSebastian Huber2017-09-061-25/+50
| | | | Update #2964.
* dosfs: Fix msdos_dir_read()Sebastian Huber2017-09-061-27/+28
| | | | | | Set a proper name buffer length for each converter invocation. Update #2987.
* dosfs: Support a cluster size of 64KiBSebastian Huber2017-09-063-12/+10
| | | | Close #3003.
* Fix integer overflow problems in times()Sebastian Huber2017-09-061-34/+16
| | | | | | | An integer overflow may still happen, however, only after 68 years of system uptime. Close #2135.
* drvmgr: clean up info_drv printDaniel Hellstrom2017-08-291-13/+4
| | | | Fixes #2930
* score: Remove <string.h> include from basedefs.hSebastian Huber2017-08-251-7/+0
| | | | Close #2133.
* score: Remove <limits.h> include from basedefs.hSebastian Huber2017-08-251-7/+0
| | | | Close #2132.
* network: Include missing header fileSebastian Huber2017-08-251-0/+1
|