summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* libpci: Use calloc()Sebastian Huber2017-08-251-2/+1
| | | | Update #2133.
* Include missing <limits.h>Sebastian Huber2017-08-256-0/+7
| | | | Update #2132.
* Include missing <string.h>Sebastian Huber2017-08-2527-0/+30
| | | | Update #2133.
* libmisc/rtems-fdt: Add libmisc/rtems-fdt to the cpukit wrapup.Chris Johns2017-08-241-0/+1
| | | | Updates #3099.
* powerpc: PPC64_NOP_FOR_LINKER_TOC_POINTER_RESTORESebastian Huber2017-08-221-0/+5
| | | | | | | In 64-bit mode, the linker must have the ability to restore the TOC pointer after an external function call. Update #3082.
* powerpc: Add 64-bit context/interrupt supportSebastian Huber2017-08-226-187/+263
| | | | Update #3082.
* powerpc: 64-bit _CPU_Context_Initialize() supportSebastian Huber2017-08-221-2/+2
| | | | Update #3082.
* powerpc: 64-bit support for CPU_SIZEOF_POINTERSebastian Huber2017-08-221-0/+4
| | | | Update #3082.
* powerpc: ppc_interrupt_get_disable_mask()Sebastian Huber2017-08-221-1/+1
| | | | | | Fix warning on 64-bit PowerPC. Update #3082.
* powerpc: Add register definesSebastian Huber2017-08-221-0/+16
| | | | Update #3082.
* heap: Fix integer typesSebastian Huber2017-08-223-10/+10
| | | | Update #3082.
* dev/i2c: Fix integer typeSebastian Huber2017-08-221-1/+1
| | | | Update #3082.
* score: Fix format specifierSebastian Huber2017-08-221-1/+1
| | | | Update #3082.
* confdefs: Fix POSIX keys configurationSebastian Huber2017-08-221-1/+2
| | | | | | | Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Update #3105.
* libmisc/rtems-fdt: Add RTEMS FDT wrapper and shell command to libmisc.Chris Johns2017-08-207-0/+2510
| | | | | | | | | - Provide application support for handling FDT blobs in RTEMS. This is useful when interfacing FPGA fabrics. - Provide a shell command to list a blob as well as provide read and write access to addresses in the FTB. Closes #3099.
* dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns2017-08-2010-0/+1527
| | | | | | ADS1114 and ADS1115 Closes #3101.
* dev/i2c: Add Xilinx AXI I2C driver.Chris Johns2017-08-164-0/+1035
| | | | | | This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
* libdebugger/i386 Fix i386 backend after changes.Chris Johns2017-08-161-1/+16
| | | | Closes #3097.
* libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.Chris Johns2017-08-1515-313/+466
| | | | | | | | | | | | | | - Add `printk` support to aid multi-core debugging. - Add lock trace to aid lock debugging. - Fixes to gcc-7.1 warnings. - Fixes from ticket #2879. - Add verbose command controls. - Change using the RTEMS sys/lock.h API to manage exception threads. - ARM hardware breakpoint fixes. Support for SMP stepping is not implemented, this requires use of the context id register. Closes #2879.
* libmisc/shell: Make some internal shell functions public.Chris Johns2017-08-143-19/+35
| | | | | | | | | | - Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3096.
* arm: Use ARM code on Thumb 1 targetsSebastian Huber2017-08-101-1/+1
| | | | Update #3093.