summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-14libio: Remove LIBIO_FLAGS_CREATESebastian Huber3-8/+0
Close #3134.
2017-09-14libio: Remove special-case reference countSebastian Huber6-112/+27
The top-level IO library structures should contain no special-case data. Update #2859.
2017-09-12posix: Ignore pshared for semaphoresSebastian Huber5-11/+0
Since we have only one process, sharing between processes is trivial. Close #3124.
2017-09-12serdbg: Fix warningSebastian Huber1-1/+0
Update #3122.
2017-09-12Simplify and unify BSP_output_charSebastian Huber3-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.
2017-09-12posix: Use mutex object itself for condvarSebastian Huber3-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.
2017-09-11i2c: TMP112 correct the function name to set the config.Chris Johns1-1/+1
2017-09-07Implement clock()Sebastian Huber2-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.
2017-09-06dosfs: Fix fat_file_update()Sebastian Huber1-5/+3
Do not update the non-existant meta-data of the root directory. Update #2944.
2017-09-06dosfs: Fix find name next entry preparationSebastian Huber1-25/+50
Update #2964.
2017-09-06dosfs: Fix msdos_dir_read()Sebastian Huber1-27/+28
Set a proper name buffer length for each converter invocation. Update #2987.
2017-09-06dosfs: Support a cluster size of 64KiBSebastian Huber3-12/+10
Close #3003.
2017-09-06Fix integer overflow problems in times()Sebastian Huber1-34/+16
An integer overflow may still happen, however, only after 68 years of system uptime. Close #2135.
2017-08-29drvmgr: clean up info_drv printDaniel Hellstrom1-13/+4
Fixes #2930
2017-08-25score: Remove <string.h> include from basedefs.hSebastian Huber1-7/+0
Close #2133.
2017-08-25score: Remove <limits.h> include from basedefs.hSebastian Huber1-7/+0
Close #2132.
2017-08-25network: Include missing header fileSebastian Huber1-0/+1
2017-08-25libpci: Use calloc()Sebastian Huber1-2/+1
Update #2133.
2017-08-25Include missing <limits.h>Sebastian Huber6-0/+7
Update #2132.
2017-08-25Include missing <string.h>Sebastian Huber27-0/+30
Update #2133.
2017-08-24libmisc/rtems-fdt: Add libmisc/rtems-fdt to the cpukit wrapup.Chris Johns1-0/+1
Updates #3099.
2017-08-22powerpc: PPC64_NOP_FOR_LINKER_TOC_POINTER_RESTORESebastian Huber1-0/+5
In 64-bit mode, the linker must have the ability to restore the TOC pointer after an external function call. Update #3082.
2017-08-22powerpc: Add 64-bit context/interrupt supportSebastian Huber6-187/+263
Update #3082.
2017-08-22powerpc: 64-bit _CPU_Context_Initialize() supportSebastian Huber1-2/+2
Update #3082.
2017-08-22powerpc: 64-bit support for CPU_SIZEOF_POINTERSebastian Huber1-0/+4
Update #3082.
2017-08-22powerpc: ppc_interrupt_get_disable_mask()Sebastian Huber1-1/+1
Fix warning on 64-bit PowerPC. Update #3082.
2017-08-22powerpc: Add register definesSebastian Huber1-0/+16
Update #3082.
2017-08-22heap: Fix integer typesSebastian Huber3-10/+10
Update #3082.
2017-08-22dev/i2c: Fix integer typeSebastian Huber1-1/+1
Update #3082.
2017-08-22score: Fix format specifierSebastian Huber1-1/+1
Update #3082.
2017-08-22confdefs: Fix POSIX keys configurationSebastian Huber1-1/+2
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Update #3105.
2017-08-20libmisc/rtems-fdt: Add RTEMS FDT wrapper and shell command to libmisc.Chris Johns7-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.
2017-08-20dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns10-0/+1527
ADS1114 and ADS1115 Closes #3101.
2017-08-16dev/i2c: Add Xilinx AXI I2C driver.Chris Johns4-0/+1035
This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
2017-08-16libdebugger/i386 Fix i386 backend after changes.Chris Johns1-1/+16
Closes #3097.
2017-08-15libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.Chris Johns15-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.
2017-08-14libmisc/shell: Make some internal shell functions public.Chris Johns3-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.
2017-08-10arm: Use ARM code on Thumb 1 targetsSebastian Huber1-1/+1
Update #3093.
2017-08-10arm: Validate IT[7:0] bit field of PSRSebastian Huber1-1/+25
Update #3093.
2017-07-31powerpc: Add register definesSebastian Huber1-0/+26
Update #3082. Update #3085.
2017-07-31score: Add RTEMS_HAVE_MEMBER_SAME_TYPE()Sebastian Huber2-2/+25
This fixes some "variably modified" warnings and a clang compile error.
2017-07-28cpukit/include/rtems/inttypes.h: Correct PRIdioctl_command_tJoel Sherrill1-1/+1
2017-07-28bsp/t32mppc: Add SMP supportSebastian Huber1-0/+3
2017-07-28untar: Fix compile errorSebastian Huber1-1/+1
2017-07-28untar: Fix use of uninitialized variableSebastian Huber1-0/+2
2017-07-28Fix IO control request typeSebastian Huber2-2/+3
2017-07-25sparc: Add lazy floating point switchSebastian Huber6-219/+136
The SPARC ABI is a bit special with respect to the floating point context. The complete floating point context is volatile. Thus, from an ABI point of view nothing needs to be saved and restored during a context switch. Instead the floating point context must be saved and restored during interrupt processing. Historically, the deferred floating point switch was used for SPARC and the complete floating point context is saved and restored during a context switch to the new floating point unit owner. This is a bit dangerous since post-switch actions (e.g. signal handlers) and context switch extensions may silently corrupt the floating point context. The floating point unit is disabled for interrupt handlers. Thus, in case an interrupt handler uses the floating point unit then this will result in a trap (INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT). In uniprocessor configurations, a lazy floating point context switch is used. In case an active floating point thread is interrupted (PSR[EF] == 1) and a thread dispatch is carried out, then this thread is registered as the floating point owner. When a floating point owner is present during a context switch, the floating point unit is disabled for the heir thread (PSR[EF] == 0). The floating point disabled trap checks that the use of the floating point unit is allowed and saves/restores the floating point context on demand. Update #3077.
2017-07-25INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNITSebastian Huber2-3/+5
Add new fatal error INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT. Update #3077.
2017-07-25sparc: Rename SPARC_USE_SAFE_FP_SUPPORTSebastian Huber3-28/+30
Rename SPARC_USE_SAFE_FP_SUPPORT in SPARC_USE_SYNCHRONOUS_FP_SWITCH. Update comment. Update #3077.
2017-07-25score: Add optional _CPU_Context_Destroy()Sebastian Huber3-1/+27
Update #3077.