summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/sparc: Fix cache supportSebastian Huber2017-07-191-4/+9
| | | | | | | Fix infinite loop in rtems_invalidate_multiple_instruction_lines(). Implement this function. Close #3080.
* libchip: Fix format warningSebastian Huber2017-07-191-1/+1
|
* bsps: Fix warningSebastian Huber2017-07-191-0/+3
| | | | Update #3071.
* bsps/sparc: Add leon3 BSP variantsDaniel Cederman2017-07-1711-5/+134
| | | | | | | | | | | | | | | Rename NGMP to GR740 and add configs for UT699, UT700, and GR712RC The UT699 requires -mcpu=leon as it does not support the CAS instruction provided by -mcpu=leon3. It also requires -mfix-ut699 for errata fixes. UT700 and GR712RC requires the -mfix-ut700 and -mfix-gr712rc flags that have been recently added to GCC's master and 7-branch. Remove -msoft-float from the leon3 config to make the more common case of using the FPU the default. Update #3057.
* sparc: Add assembly workaround for LEON3FT B2BST errataDaniel Cederman2017-07-173-0/+87
| | | | | | | | | | | | | | | This patch adds NOP instructions to prevent instruction sequences that are sensitive to the LEON3FT B2BST errata. See GRLIB-TN-0009: "LEON3FT Stale Cache Entry After Store with Data Tag Parity Error" for more information. The sequences are only modified if __FIX_LEON3FT_B2BST is defined. The patch works in conjunction with the -mfix-ut700, -mfix-gr712rc, and -mfix-ut699 GCC flags that prevents the sensitive sequences from being generated. Update #3057.
* bsps: Include missing header fileSebastian Huber2017-07-125-1/+5
| | | | Update #3071.
* bsp/beagle: Add FDT support for Beaglebone BlackSichen Zhao2017-07-125-1/+26
|
* Add interrupt vector set/get affinitySebastian Huber2017-07-1211-70/+166
| | | | Close #3071.
* Add interrupt server moveSebastian Huber2017-07-121-0/+75
| | | | Update #3071.
* Add interrupt server set affinitySebastian Huber2017-07-121-0/+33
| | | | Update #3071.
* Add interrupt server suspend/resumeSebastian Huber2017-07-121-2/+59
| | | | | | | This mechanism can be used to safely move the interrupt server from one scheduler instance to another for example. Update #3071.
* Create one interrupt server per processorSebastian Huber2017-07-121-79/+184
| | | | | | | This allows load balancing of interrupt processing in SMP configurations. Update #3071.
* bsps/sparc: Fix ambapp_int_set_affinity()Sebastian Huber2017-07-111-1/+1
| | | | Update #3059.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-073-4/+6
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-066-8/+12
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* Add rtems_interrupt_server_handler_iterate()Sebastian Huber2017-06-261-0/+70
|
* i386/shared/comm/i386-stub-glue.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* lpc176x/misc/restart.c: Fix duplicate const warningJoel Sherrill2017-06-211-1/+1
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-2036-370/+238
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* bsps/powerpc: Fix warningSebastian Huber2017-06-161-5/+5
| | | | Close #3051.
* Fix beagle i2c file bbb-i2c.c comment issuesSichen Zhao2017-06-151-19/+23
|
* Add the i2c driver for Beaglebone BlackSichen Zhao2017-06-145-141/+765
| | | | | | | | | | Update ticket #2891 and my GSOC project add c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c modify c/src/lib/libbsp/arm/beagle/include/i2c.h modify c/src/lib/libbsp/arm/beagle/include/bbb-gpio.h modify c/src/lib/libcpu/arm/shared/include/am335x.h modify c/src/lib/libbsp/arm/beagle/Makefile.am Now can read the EEPROM by i2c, the test application link is: https://github.com/hahchenchen/GSOC-test-application
* Remove beagle old i2c codeSichen Zhao2017-06-143-633/+0
| | | | | | modify c/src/lib/libbsp/arm/beagle/Makefile.am modify c/src/lib/libbsp/arm/beagle/include/i2c.h delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
* Remove excessive locking from cache operations.Alexei Pososin2017-06-141-35/+9
| | | | | | | | According to manual, the used operations (Clean Line by PA, Clean and Invalidate Line by PA, Cache Sync) are atomic and do not require locking. Update #3007.
* bsp: Fixes due to header file changesSebastian Huber2017-06-133-24/+37
| | | | Update #2833.
* bsp: Include missing <sys/param.h>Sebastian Huber2017-06-126-0/+6
| | | | Update #2833.
* bsp/beatnik: Fixes due to header file changesSebastian Huber2017-06-122-7/+7
| | | | Update #2833.
* i386: Support thread-local storage (TLS)Sebastian Huber2017-06-123-5/+11
| | | | Update #2468.
* bsp/psim: Include missing <sys/param.h>Sebastian Huber2017-06-091-0/+1
|
* if_fxp: Include missing <inttypes.h>Sebastian Huber2017-06-091-5/+6
| | | | Fix format warnings.
* Simplify TLS support in context switchSebastian Huber2017-06-092-2/+5
| | | | | | There is no need to save the thread pointer in _CPU_Context_switch() since it is a thread invariant. It is initialized once in _CPU_Context_Initialize().
* bsps/arm: Fix ARMv7-M interrupt suppportChristian Mauderer2017-06-071-2/+6
| | | | | | Enable/disable vector routines now check for a valid vector. Without these guards, the enable/disable vector routines will not work with the interrupt server.
* Do not include <sys/ioctl.h> in kernel-spaceSebastian Huber2017-06-076-6/+2
| | | | Update #2833.
* Move RTEMS-specific Termios API contentSebastian Huber2017-06-071-0/+2
| | | | | | | 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.
* network: Include missing <inttypes.h>Sebastian Huber2017-06-071-0/+1
| | | | Update #2833.
* ada-tests/spatcb01: New testSebastian Huber2017-06-026-0/+63
| | | | Update #2289.
* bsp/motorola_powerpc: Fix for Binutils 2.28+Sebastian Huber2017-06-016-0/+6
| | | | | | | | | | There are mismatched sections in the bootloader input: ld: Warning: ticker.exe uses hard float, ticker.ralf uses soft float ld: ticker.exe: compiled normally and linked with modules compiled with -mrelocatable ld: failed to merge target specific data of file ticker.exe Suppress this error explicitly.
* bsps/powerpc: Set output format in linker scriptSebastian Huber2017-06-011-1/+1
| | | | | | Set the proper output format in the linker script for the bootloader. Otherwise the generic linker is used since Binutils 2.28 which does not understand the PowerPC-specific relocations.
* Add support for IBM PowerPC 750 chip.Phong Pham2017-05-293-0/+6
| | | | Closes #3015.
* ada: Remove task notepad supportSebastian Huber2017-05-291-14/+0
| | | | Update #2493.
* ada: Update due to Clock Manager API changesSebastian Huber2017-05-297-12/+20
| | | | Update #2676.
* ada: Remove <rtems/debug.h> supportSebastian Huber2017-05-295-122/+0
| | | | Update #2477.
* build-system: Fix the targets support for the parallel build.Chris Johns2017-05-261-1/+1
|
* m32c/m32csim: Exclude linpack from the tests.Chris Johns2017-05-251-0/+5
| | | | Closes #3025.
* build-system: Parallel build all subdirs.Chris Johns2017-05-2426-59/+123
|
* arm/tms570: Update preinstall.am after bootstrap.Chris Johns2017-05-241-0/+4
|
* sparc: only define start if it is different from SYM(start)Jacob Hansen2017-05-141-0/+2
| | | | | | | | The SYM define concatenates the input with the compiler set __USER_LABEL_PREFIX__ define. This define appears to be '_' in GCC but empty in Clang. Therefore when compiling with Clang/LLVM 'SYM(start)' and 'start' defines the same symbol, and the compiler complains that the symbol is defined twice.
* sparc: Adjust assembly to improve compability with LLVMJacob Hansen2017-05-145-13/+13
| | | | | | | | | | | | | - All references of %0 changed to %g0 - 'call label,0' changed to 'call label'. According to the sparc specification call does not take any registers - '.seg "text"' changed to '.section ".text"' - the synonym stub is replaced with stb - the synonym stuh is replaced with sth
* leon, grtc: SMP support by using spin-locksDaniel Hellstrom2017-05-141-37/+54
|
* leon, grtc: updated overrun condition handlingDaniel Hellstrom2017-05-141-11/+33
| | | | | | | | The following functions now reports to the user that an overrun has occured by returning errno EIO: * grtc_read, on overrun and no more data in the DMA buffer * ioctl(GRTC_IOC_RECV), on overrun and no more frames in the DMA buffer * ioctl(GRTC_IOC_ISSTARTED), EIO is returned on overrun