Commit Graph

33131 Commits

Author SHA1 Message Date
Sebastian Huber
f4fda72f65 Regenerate headers.am 2019-11-29 19:01:48 +01:00
Sebastian Huber
1fca166597 testsuites/ada: Introduce init.c files
Provide an init.c for each Ada test instead of the #include <config.h>
magic which works only due to hand crafted include paths.

Update #3818.
2019-11-27 11:50:09 +01:00
Sebastian Huber
4551f5f0db untar: Properly make parent path
Close #3823.
2019-11-26 08:10:27 +01:00
Sebastian Huber
4a056523cf libtests/dl*: Rename source files
Rename source files to use a %.c -> %.o and %.cc -> %.o pattern.  Use
*.cc for C++ source files instead of *.cpp to be in line with other C++
source files.

Update #3818.
2019-11-26 07:21:44 +01:00
Sebastian Huber
b8b954a3e9 libtests/dl*: Use rtems_tarfs_load()
Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the
memory demands of the tests.
2019-11-26 07:21:44 +01:00
Sebastian Huber
e9fdcd79b7 psxinttypes01: Remove invalid test cases
The functions expect a valid string as input according to POSIX.  On
systems with a NULL pointer protection the test cases ended up in
exceptions.
2019-11-26 07:21:40 +01:00
Sebastian Huber
5c2e7104e7 libtests: Use '-' for TAR file names
Use uniform pattern for all TAR file names.  Use the dl* tests as a
template.

Update #3818.
2019-11-25 13:01:54 +01:00
Sebastian Huber
8f021bdbf9 libtests/dl*: Do not generate files via "echo"
Add the static files to the repository.  This simplifies the build.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber
273e8b72c8 libtests/tar0[12]:: Use static archive content
This simplifies the build process.  Do not generate the archive content
through the build system.  Let the version control system deal with
symbolic links.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber
2de05dd588 untar: Make path also for symbolic links
Close #3823.
2019-11-25 11:32:19 +01:00
Sebastian Huber
b6f66d9345 untar: Unify untar support
Update #3823.
2019-11-25 11:32:19 +01:00
Sebastian Huber
a0304e8d62 libtest: Output basename of source files
Output only the basename of source files to be independent of the build
system source paths.

In the future it may be better to use the GCC -fmacro-prefix-map option.
This option is available in GCC 8 and later.  It is not yet available in
clang.

Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber
05a32e15c7 bsp/mpc55xxevb: Remove obsolete linker cmd file
Update #3818.
2019-11-25 11:32:19 +01:00
Sebastian Huber
3e9f5a55ad bsp/gen83xx: Remove obsolete linker command file
Update #3818.
2019-11-25 11:32:18 +01:00
Sebastian Huber
234d155e87 linkersets: Revert to zero-length arrays
This partially reverts commit 7ec08391fe.

Since the RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() cannot control the
alignment of the symbol it cannot be used to define the begin of a
linker set.  File scope basic __asm__ statements cannot have operands,
so there is no way to specify the desired alignment.
2019-11-25 11:32:18 +01:00
Sebastian Huber
4fcc53a069 Document RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() 2019-11-25 11:32:18 +01:00
Hesham Almatary
1a95dd738f testsuite: Only include termios10/termios11 tests if compiled with POSIX
Both need POSIX support
2019-11-21 10:32:46 +00:00
Sebastian Huber
11455b2e6d imfs: Fix IMFS_make_linearfile()
Fix prototype.

Fix node size.  Linfiles are dynamically turned into memfiles.

Update #3823.
2019-11-21 09:06:56 +01:00
Sebastian Huber
f377998568 imfs: Add IMFS_make_linfile()
Update #3818.
2019-11-19 16:22:00 +01:00
Sebastian Huber
38207a31e4 Move feature macro before "config.h" include
This allows to use header includes in "config.h" to reduce the build
configuration checks.

Update #3818.
2019-11-19 16:05:54 +01:00
Sebastian Huber
741fe47088 bsp/lpc32xx: Fix linker command file 2019-11-19 16:05:54 +01:00
Sebastian Huber
a52d617469 bsp/imx7: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-19 16:05:53 +01:00
Sebastian Huber
af321aaf2b bsp/altcycv_devkit: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-19 16:05:50 +01:00
Sebastian Huber
12a263bbd4 bsp/atsamv: Fix warning 2019-11-18 15:24:29 +01:00
rrs
c6d8589bb0 Synchronize kernel <sys/time.h> with FreeBSD
Integrate parts of this commit:

This commit brings in a new refactored TCP stack
called Rack. Rack includes the following features: - A different SACK
processing scheme (the old sack structures are not used). - RACK (Recent
acknowledgment) where counting dup-acks is no longer done instead time
is used to knwo when to retransmit. (see the I-D) - TLP (Tail Loss
Probe) where we will probe for tail-losses to attempt to try not to take
a retransmit time-out. (see the I-D) - Burst mitigation using TCPHTPS -
PRR (partial rate reduction) see the RFC.

Once built into your kernel, you can select this stack by either
socket option with the name of the stack is "rack" or by setting
the global sysctl so the default is rack.

Note that any connection that does not support SACK will be kicked
back to the "default" base  FreeBSD stack (currently known as "default").

To build this into your kernel you will need to enable in your
kernel:
   makeoptions WITH_EXTRA_TCP_STACKS=1
   options TCPHPTS

Sponsored by:	Netflix Inc.
Differential Revision:		https://reviews.freebsd.org/D15525
2019-11-18 07:16:30 +01:00
Sebastian Huber
75d9e79f56 bsp/lpc32xx: Remove unused TESTS_USE_PRINTK
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
b882b07e84 Remove BSP_SMALL_MEMORY BSP option
Use the test state configuration instead.

Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
9c601b00d7 bsp/i386: Remove unused BSP_HAS_SMP
Update #3818.
2019-11-15 07:45:30 +01:00
Sebastian Huber
41ab50e4cd bsp/t32mppc: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:57 +01:00
Sebastian Huber
bc28b65ff4 bsp/beagle: Rename linker command file
This BSP family uses only one linker command file.  Use the standard
name.

Update #3818.
2019-11-14 15:07:53 +01:00
Sebastian Huber
ae5546704d bsp/riscv: Fix format and warnings
Update #3785.
2019-11-14 11:48:33 +01:00
Sebastian Huber
e9ae74369d bsp/riscv: Fix use of uninitialized integer 2019-11-14 11:48:32 +01:00
Sebastian Huber
5a1bc17970 bsp/riscv: Remove bogus Automake conditional
Update #3785.
2019-11-14 11:48:32 +01:00
Sebastian Huber
df9426f970 bsp/riscv: riscv_get_core_frequency()
Always provide this function.  Return 0 by default.  Fix formatting.
Simplify function.

Update #3785.
2019-11-14 11:48:28 +01:00
Sebastian Huber
3dcfee377e bsp/gumstix: Fix warning 2019-11-14 11:47:45 +01:00
Sebastian Huber
984d7443bf bsp/gumstix: Remove ON_SKYEYE Automake conditional
It is fine to build the drivers always.

Update #3818.
2019-11-14 11:47:45 +01:00
Sebastian Huber
90d6a094b5 arm/stm32f4: Fix typo 2019-11-14 09:37:51 +01:00
Hesham Almatary
3a5bc21392 testsuite/dl02: Fix bug to correctly check the handle of the second object file 2019-11-12 10:21:53 +00:00
Hesham Almatary
a4c5da686d riscv: preliminarily support for libdl
Support for targets compiled with -fno-pic and -mno-relax
2019-11-12 10:21:40 +00:00
Sebastian Huber
f51594897c ada/mptests: Make them compile clean
Fix all warnings.

Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
1a48cbfa16 sptests: Avoid include path magic
Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
1e343825f4 tests: Simplify fatal error test support
Move system.h to shared init.c.

Update #3818.
2019-11-12 09:47:20 +01:00
Sebastian Huber
6da85f49ea block08: Use local include
Update #3818.
2019-11-12 09:47:17 +01:00
Sebastian Huber
37d509b249 libtests: Remove superfluous include path
Update #3818.
2019-11-12 09:46:26 +01:00
Sebastian Huber
b88c7583b8 fstests: Use tmacros.h instead of pmacros.h
This avoids an extra include path.

Update #3818.
2019-11-12 09:36:21 +01:00
Sebastian Huber
0b520cb718 mptests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:21 +01:00
Sebastian Huber
786ae3f7df ada/samples: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
eae263c609 mptests/mp14: Make MAX_LONG_TEST_DURATION constant
If there is a real need, it can be made a configuration option again.

Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
34cbac1a03 tmtests: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
Sebastian Huber
6d6719a533 samples/paranoia: Remove <bsp.h> include
This include is superfluous.
2019-11-12 09:36:20 +01:00