Commit Graph

30480 Commits

Author SHA1 Message Date
Sebastian Huber
f256685aa3 bsp/psim: Include missing <sys/param.h> 2017-06-09 07:55:16 +02:00
Sebastian Huber
6081ef31ae if_fxp: Include missing <inttypes.h>
Fix format warnings.
2017-06-09 07:54:45 +02:00
Sebastian Huber
f7d0f5e1ad spcpuset01: Update due to CPU_CMP() changes
Close #3036.
2017-06-09 07:50:41 +02:00
Sebastian Huber
32b4a0c427 Simplify TLS support in context switch
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().
2017-06-09 07:30:41 +02:00
Sebastian Huber
a66accc553 libblock: FreeBSD kernel-space compatibility
Update #2833.
2017-06-08 11:42:00 +02:00
Stavros Passas
2585347189 network: Fix DHCP client protocol
Close #2877.
2017-06-08 10:06:33 +02:00
Christian Mauderer
ce3ac00cfc bsps/arm: Fix ARMv7-M interrupt suppport
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.
2017-06-07 13:22:12 +02:00
Sebastian Huber
b06dbb2658 spcpuset01: Update due to CPU_NAND_S() changes
Close #3032.
2017-06-07 13:02:22 +02:00
Sebastian Huber
836f4545dc Fix CPU_COPY() usage
The original CPU_COPY() support of Newlib <sys/cpuset.h> had the
parameters in the wrong order.  This is fixed in Newlib since
2017-05-22.

Update #3023.
2017-06-07 13:02:22 +02:00
Sebastian Huber
26ccd139dc network: Header file compatiblity
Move legacy network stack implementation specifics to
<rtems/rtems_bsdnet_internal.h>.  Include missing header files.  Add
interface flags compatibility.

Update #2833.
2017-06-07 13:02:21 +02:00
Sebastian Huber
e744c36c3f network: Use inet_ntoa_r()
Update #2833.
2017-06-07 13:02:21 +02:00
Sebastian Huber
9b035a0a4a network: Update <arpa/inet.h>
Update #2833.
2017-06-07 13:02:21 +02:00
Sebastian Huber
3bc19384a7 network: Move header files
Prevent accidental use of legacy network header files.

Update #2833.
2017-06-07 13:02:20 +02:00
Sebastian Huber
d4ab0aef96 network: Move RTEMS specifics
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.
2017-06-07 13:02:20 +02:00
Sebastian Huber
d7613f7a18 network: Include <sys/uio.h> explicitly
Do not rely on indirect includes via other header files.

Update #2833.
2017-06-07 13:02:19 +02:00
Sebastian Huber
643b82026c Include missing <sys/param.h>
Some kernel-space header expect that <sys/param.h> is present.

Update #2833.
2017-06-07 13:02:19 +02:00
Sebastian Huber
1e0cc86d1b rpc: Remove superfluous includes
Update #2833.
2017-06-07 13:02:18 +02:00
Sebastian Huber
787f51f5b3 Do not include <sys/ioctl.h> in kernel-space
Update #2833.
2017-06-07 13:02:08 +02:00
Sebastian Huber
93531e9b08 Move RTEMS-specific Termios API content
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.
2017-06-07 12:57:39 +02:00
Sebastian Huber
64ecfc17b7 Do not use deprecated <sys/termios.h>
Update #2833.
2017-06-07 12:57:39 +02:00
Sebastian Huber
81ea00146e Test for POSIX headers from Newlib 20170522
Update #2833.
2017-06-07 12:57:38 +02:00
Sebastian Huber
d60bc7c889 Provide kernel space headers used by Newlib
Update #2833.
2017-06-07 12:57:27 +02:00
Sebastian Huber
eddb13416b network: Do not use MSIZE
Do not use the MSIZE for the legacy network stack.  Instead use
_SYS_MBUF_LEGACY_MSIZE.

Update #2833.
2017-06-07 07:49:12 +02:00
Sebastian Huber
cf54965493 network: Include missing <inttypes.h>
Update #2833.
2017-06-07 07:44:12 +02:00
Sebastian Huber
3623c400ff ada-tests/spatcb01: New test
Update #2289.
2017-06-02 10:31:56 +02:00
Sebastian Huber
7203b70be0 bsp/motorola_powerpc: Fix for Binutils 2.28+
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.
2017-06-01 19:08:47 +02:00
Sebastian Huber
697a6ca05a bsps/powerpc: Set output format in linker script
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.
2017-06-01 19:00:38 +02:00
Phong Pham
848007c068 Add support for IBM PowerPC 750 chip.
Closes #3015.
2017-05-29 08:04:43 +02:00
Sebastian Huber
afa5b894b2 ada: Remove task notepad support
Update #2493.
2017-05-29 08:01:54 +02:00
Sebastian Huber
783fbcec35 ada: Update due to Clock Manager API changes
Update #2676.
2017-05-29 08:01:54 +02:00
Sebastian Huber
9ff0f40ca0 ada: Remove <rtems/debug.h> support
Update #2477.
2017-05-29 08:01:54 +02:00
Chris Johns
7ec982bfeb build-system: Fix the targets support for the parallel build. 2017-05-26 10:35:17 +10:00
Chris Johns
30eeb0d15a testsuite: Fix excluding tests that a substring of another test.
Fix excluding `math` when there is a test `mathl`. The shell test
used fails in this case. This patch's approach is much simpler.
2017-05-25 15:11:45 +10:00
Chris Johns
ff781cc00f m32c/m32csim: Exclude linpack from the tests.
Closes #3025.
2017-05-25 15:10:11 +10:00
Chris Johns
a748603cb4 build-system: Parallel build all subdirs. 2017-05-24 19:59:22 +10:00
Chris Johns
86ae03c691 testsuite: Add fsjffs2gc01 to the disable JFFS tests. 2017-05-24 12:39:19 +10:00
Chris Johns
7396e398cd testusite: Fix the parallel build test excludes. 2017-05-24 09:26:42 +10:00
Chris Johns
9935c23f6a arm/tms570: Update preinstall.am after bootstrap. 2017-05-24 09:26:29 +10:00
Chris Johns
8aa62776b3 cpukit/libxz: Fix the include path to remove the make warnings. 2017-05-24 09:24:35 +10:00
Sebastian Huber
d5c8756660 arm: Fix profiling support of Thumb-1 targets
Update #2751.
2017-05-23 10:04:53 +02:00
Gedare Bloom
a330c5dc24 posix: clarify expression with parentheses
Close #3010.
2017-05-16 11:37:27 -04:00
Sebastian Huber
6bc63df199 confdefs.h: Add SMP enabled field to configuration
Do not use the processor count to determine if SMP is enabled.  Instead
use a dedicated configuration option.  Enable SMP by default in SMP
configurations.

Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.

Update #3001.
2017-05-16 09:48:32 +02:00
Sebastian Huber
0b8084c298 confdefs.h: Fix compile error in non-SMP cfg
Bug introduced by f778b7f3f1.

Update #3001.
2017-05-16 09:48:32 +02:00
Jacob Hansen
bc470d3c49 sparc: only define start if it is different from SYM(start)
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.
2017-05-14 12:32:01 +02:00
Jacob Hansen
863968599c sparc: Adjust assembly to improve compability with LLVM
- 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
2017-05-14 12:32:00 +02:00
Daniel Hellstrom
1ea73e2b5f leon, grtc: SMP support by using spin-locks 2017-05-14 12:32:00 +02:00
Daniel Hellstrom
818f10bc6c leon, grtc: updated overrun condition handling
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
2017-05-14 12:32:00 +02:00
Daniel Hellstrom
6fdded2c75 leon, gr1553bm: SMP support by using spin-locks 2017-05-14 12:32:00 +02:00
Daniel Hellstrom
3feae3bc82 leon, gr1553bc: SMP support by using spin-locks
Since DMA buffers are managed by the user, responsibility is put on
the user to cope with SMP in the application.
2017-05-14 12:32:00 +02:00
Daniel Hellstrom
84e4d10ca3 leon, apbuart: remove old RAW UART driver
This driver was initially intended for APBUART access on GRLIB PCI
peripherals (AMBA-over-PCI). There are already many APBUART drivers
for LEON. Instead of using this one the termios APBUART should work
on AMBA-over-PCI systems with recent changes on LEON3, however that
has not been tested yet.
2017-05-14 12:32:00 +02:00