Commit Graph

4095 Commits

Author SHA1 Message Date
Sebastian Huber
2d0bc839ed build: Remove EXTRA_DIST
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
2018-04-04 10:09:04 +02:00
Sebastian Huber
6fadb7af09 config: Use new scheduler configuration defines
Update #3325.
2018-03-12 07:01:30 +01:00
Sebastian Huber
828049cb47 sptests/sp19: Fix test output methods
Do not use fprintf() in non-fp tasks.
2018-03-08 08:49:15 +01:00
Sebastian Huber
a4151d0661 libtests/capture01: Fix configuration 2018-03-07 13:03:35 +01:00
Sebastian Huber
ff281a6fa6 smptests: Fix obsolete FIXME comments/code 2018-03-07 10:33:03 +01:00
Sebastian Huber
337a186909 Add a simple task console driver
Close #3320.
2018-03-06 12:32:09 +01:00
Sebastian Huber
8b2d5b8407 spglobalcon02: New test
Update #3319.
2018-03-06 07:27:18 +01:00
Sebastian Huber
0d44e251d9 ada/sp04: Fix test failure due to compiler opti
The SPTEST.RUN_COUNT must be volatile since it is changed outside of the
procedure scope by the thread switch extension.
2018-02-22 16:40:16 +01:00
Sebastian Huber
a3eec5cf35 fsclose01: Fix task mode, use attribute
Update #1971.
2018-02-09 13:17:45 +01:00
Sebastian Huber
48aa4b5d50 fsclose01: Use floating-point task
The tmpfile() uses sprintf().

Update #1971.
2018-02-09 13:14:52 +01:00
Sebastian Huber
dc8fd01529 tests: Support %g print format specifier 2018-02-09 08:56:20 +01:00
Sebastian Huber
d9800ac58d libdl: Use self-contained recursive mutex
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
53b6484d38 termios: Remove obsolete configuration options
Update #2843.
2018-02-05 09:57:45 +01:00
Sebastian Huber
4ac5ffbb83 fsclose01: Add tmpfile() test case
Close #1971.
2018-02-05 09:31:32 +01:00
Sebastian Huber
8ddd92d56a pipe: Use self-contained mutex
Update #2843.
2018-02-02 15:01:23 +01:00
Sebastian Huber
2c12262f9a termios: Use self-contained objects
Update #2840.
2018-02-02 15:01:21 +01:00
Sebastian Huber
f14a04c6ef Add RTEMS thread API
Update #2843.
2018-02-02 15:01:20 +01:00
Sebastian Huber
9480815a22 score: Introduce new monotonic clock
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS.  Add new
PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured
by timecounter).

Close #3264.
2018-02-02 15:01:20 +01:00
Sebastian Huber
89c0313938 score: Optimize watchdog tickle
Avoid unnecessary lock acquire/release operations.  Get realtime via
timecounter only if necessary.

Update #3264.
2018-02-02 15:01:20 +01:00
Sebastian Huber
0c5d22f509 smptests/smpopenmp01: New test 2018-02-02 15:01:19 +01:00
Sebastian Huber
d71d1da508 spsyslock01: Fix object compare
Due to structure internal padding the use of memcmp() may lead to
sporadic test failures.

Update #3082.
2018-02-02 15:01:19 +01:00
Sebastian Huber
c1c71cdfcc sp20: Fix print buffer size
There were two issues:

1. The buffer size must be divisible by 8 on 64-bit targets

2. It must be large enough to service the begin of start message.

Update #3082.
2018-02-02 15:00:28 +01:00
Sebastian Huber
cf56b18af1 smpschededf01: Use rtems_test_busy_cpu_usage()
The rtems_test_busy() is not accurate enough and may lead to sporadic
test failures.
2018-02-02 07:50:19 +01:00
Sebastian Huber
63fab5aaf9 smpschedaffinity04: Fix configuration 2018-02-02 07:48:49 +01:00
Sebastian Huber
c9aba80bad smpcapture01: Fix configuration 2018-02-02 07:48:48 +01:00
Sebastian Huber
865b30279a Avoid Newlib-specific _EXFUN() 2018-01-29 13:53:55 +01:00
Sebastian Huber
bc96f3b4b8 ada: Introduce RTEMS.Size type
Some time ago the Classic API object size related parameters were
changed to use size_t.  Reflect this in the Ada bindings.

Update #3082.
2018-01-29 06:58:28 +01:00
Chris Johns
2afb22b7e1 Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step.  It
copied header files from arbitrary locations into the build tree.  The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

* The make preinstall step itself needs time and disk space.

* Errors in header files show up in the build tree copy.  This makes it
  hard for editors to open the right file to fix the error.

* There is no clear relationship between source and build tree header
  files.  This makes an audit of the build process difficult.

* The visibility of all header files in the build tree makes it
  difficult to enforce API barriers.  For example it is discouraged to
  use BSP-specifics in the cpukit.

* An introduction of a new build system is difficult.

* Include paths specified by the -B option are system headers.  This
  may suppress warnings.

* The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step.   All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc.  Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

* cpukit/include

* cpukit/score/cpu/@RTEMS_CPU@/include

* cpukit/libnetworking

The new BSP include directories are:

* bsps/include

* bsps/@RTEMS_CPU@/include

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed.  The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.
2018-01-25 08:45:26 +01:00
Sebastian Huber
0349a2b544 cdtest: Increase stack size 2018-01-22 15:24:13 +01:00
Sebastian Huber
990235d960 psxchroot01: Force release of global locations
Free deferred locations before the greedy memory allocation.  This test
fails on powerpc/qoriq_e6500_64 otherwise.
2018-01-22 15:24:13 +01:00
Sebastian Huber
6bc5e47c84 smptests: Fix configuration
Update #2843.
2018-01-22 07:21:21 +01:00
Sebastian Huber
cf2024bc8a smp03: Use floating-point tasks
This test uses sprintf().
2018-01-19 13:08:46 +01:00
Sebastian Huber
cf099be766 smp03: Use floating-point task
This test uses sprintf().
2018-01-19 13:04:25 +01:00
Sebastian Huber
5e3ef46a9a smpaffinity01: Use floating-point task
This test uses sprintf().
2018-01-19 10:57:38 +01:00
Sebastian Huber
7274e6769f smp08: Use floating-point task
This test uses sprintf().
2018-01-19 10:56:13 +01:00
Sebastian Huber
60dc0205ca psxfile01: Use floating-point task
This test uses fprintf().
2018-01-19 10:54:23 +01:00
Sebastian Huber
654fa58a1d block06: Use floating-point task
This test uses sprintf().
2018-01-19 10:50:44 +01:00
Sebastian Huber
5b7f922710 fstests: Use floating-point task
The fstests use snprintf().
2018-01-19 10:49:27 +01:00
Sebastian Huber
32d50688c6 psxpasswd02: Use floating-point task
This test uses sprintf().
2018-01-19 10:05:24 +01:00
Sebastian Huber
e9588d5fde psxstat: Use floating-point task
This test uses sprintf().
2018-01-19 10:03:53 +01:00
Sebastian Huber
d2f9d10fad psximfs02: Use floating-point task
This test uses sprintf().
2018-01-19 10:00:56 +01:00
Sebastian Huber
32e8fc3c1d spassoc01: Use floating-point task
This test uses sprintf().
2018-01-19 10:00:53 +01:00
Sebastian Huber
3205fd6ad9 tests: Use vprintk() in locked_printf()
This avoids blocking output and the use of the floating-point unit.
2018-01-19 09:53:34 +01:00
Sebastian Huber
047e8aa952 tests: Remove unused locked_printk() 2018-01-19 09:53:18 +01:00
Sebastian Huber
e6d89860a1 smpmigration01: Enable floating-point output 2018-01-19 09:52:23 +01:00
Sebastian Huber
9c270ac663 fstests: Use floating-point task
The fstests use snprintf().
2018-01-19 09:47:39 +01:00
Sebastian Huber
030ce684c4 tests: Fix canonical-target-name.m4
Update #3109.
2018-01-02 11:13:30 +01:00
Joel Sherrill
1307e759e3 tm08: Do not use RTEMS_INTERRUPT_MASK for no reschedule case
Updates #3000.
2017-12-08 12:16:14 -06:00
Joel Sherrill
21e96d6648 sp08: Disable RTEMS_INTERRUPT_MASK testing when SMP enabled
Updates #3000.
2017-12-08 12:16:14 -06:00
Christian Mauderer
2fe368787e dosfs: Allow creating a file with similar name.
If there is already a file with a long file name it isn't possible to
create a second file which has a name that ends on the first files name
(for example ets.beam and sets.beam). This patch fixes that.

Update #3258.
2017-12-07 07:30:16 +01:00