Commit Graph

33558 Commits

Author SHA1 Message Date
Sebastian Huber
467ef5b431 libtest: Add T_unreachable()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
d702c9f47d libtest: Make check message optional
This macro magic is in line with C11 and C++11, but limits the maximum
count of arguments.

Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
35d9af6901 libtest: Add T_CHECK_FMT
Rename internal function T_check_true() to T_check() and use the new
flag T_CHECK_FMT to indicate if a format string is present.  This is a
preparation step to make the format string optional.

Make the check context the first parameter.

The API remains the same.

Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
7781404026 libtest: Add T_stop()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
34e4df5590 libtest: Split POSIX Keys support
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
63e4278429 libtest: Add T_get_scope()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
cb3c6bdc0f libtest: Add push/pop fixture support
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
6b27e3251e libtest: Support custom scope messages via fixture
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
c081c68d34 libtest: Add T_make_runner()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
af9266541f libtest: Add T_get_one_clock_tick_busy()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
e3e3b871ee libtest: Add T_busy()
Update #3199.
2020-07-23 09:27:47 +02:00
Sebastian Huber
361404e87d libtest: Move <t.h> to <rtems/test.h>
Update #3199.
2020-07-23 09:27:45 +02:00
Sebastian Huber
9de8d61a9a libtest: <rtems/test.h> to <rtems/test-info.h>
Rename this header file to later move <t.h> to <rtems/test.h>.  The main
feature provided by <rtems/test-info.h> is the output of standard test
information which is consumed by the RTEMS Tester.

Update #3199.
2020-07-23 09:27:10 +02:00
Sebastian Huber
33314eb60a bsps/clock: Fix fast idle clock tick support
If we interrupt a thread dispatch critical section (thread dispatch
disable level != ISR nest level), then we should not do the fast idle
mode since this may delay an ongoing system call forever.
2020-07-23 08:56:06 +02:00
Sebastian Huber
1fab9726c9 score: Improve _Thread_Start() description 2020-07-21 17:13:47 +02:00
Christian Mauderer
3a95a07d88 media-server: Add ability for retry.
This adds the possibility to request a retry in the media-listener if an
operation failed. Usefull for example if you want to automatically
reformat a disk if it wasn't possible to mount it.
2020-07-17 08:12:37 +02:00
Jan Sommer
9cb107c970 bsps/pc386: Fix IPI for non-consecutive APICIDs
- properly use the cpu <-> apic maps for IPIs

Closes #4029.
2020-07-16 08:00:32 -05:00
Sebastian Huber
a3ed421939 score: Remove deprecated Thread
This type was deprecated in RTEMS 5.1.

Close #3991.
2020-07-14 07:25:48 +02:00
Sebastian Huber
53a5af2155 rtems: Remove deprecated proc_ptr definition
Close #3586.
2020-07-14 07:25:47 +02:00
Sebastian Huber
2adf328d05 rtems: Remove support for RTEMS_DEPRECATED_TYPES
Close #3584.
2020-07-14 07:25:47 +02:00
Sebastian Huber
312fcf2fd4 rtems: Remove rtems_thread_cpu_usage_t
This type was deprecated in RTEMS 5.1.

Close #3594.
2020-07-14 07:25:47 +02:00
Sebastian Huber
1546b1c01d rtems: Remove region_information_block
This type was deprecated in RTEMS 5.1.

Close #3592.
2020-07-14 07:25:47 +02:00
Sebastian Huber
f8998f19da rtems: Remove rtems_context_fp
This type was deprecated in RTEMS 5.1.

Close #3590.
2020-07-14 07:25:47 +02:00
Sebastian Huber
df2dac388d rtems: Remove rtems_context
This type was deprecated in RTEMS 5.1.

Close #3588.
2020-07-14 07:25:47 +02:00
Sebastian Huber
65dc040bfb rtems: Remove rtems_rate_monotonic_period_time_t
This type was deprecated in RTEMS 5.1.

Close #3596.
2020-07-14 07:25:47 +02:00
Sebastian Huber
6a3fcd4974 rtems: Remove deprecated rtems_extension
This type was deprecated in RTEMS 5.1.

Close #3988.
2020-07-14 07:25:46 +02:00
Sebastian Huber
13a4b88077 rtems: Remove rtems_get_processor_count()
This function was deprecated in RTEMS 5.1.

Close #3990.
2020-07-14 07:25:46 +02:00
Sebastian Huber
e4215e433b rtems: Remove rtems_get_current_processor()
This function was deprecated in RTEMS 5.1.

Close #3989.
2020-07-14 07:25:46 +02:00
Sebastian Huber
dc4879bba4 rtems: Remove deprecated rtems_io_lookup_name()
Close #3420.
2020-07-14 07:25:46 +02:00
Sebastian Huber
39c2e28410 rtems: Remove deprecated <rtems/system.h>
Close #3980.
2020-07-14 07:25:46 +02:00
Sebastian Huber
479b2bfe87 rtems: Remove _Copyright_Notice from API header
Close #3981.
2020-07-14 07:25:46 +02:00
Sebastian Huber
b3686d7eb5 rtems: Remove RTEMS_MAXIMUM_NAME_LENGTH
Close #3979.
2020-07-14 07:25:45 +02:00
Sebastian Huber
90390118c0 rtems: Move declartion of _RTEMS_version
Close #3978.
2020-07-14 07:25:45 +02:00
James Fitzsimons
a3b86d6caf Fix for Beaglebone BSP PWM bug 2020-07-13 17:53:26 +02:00
Sebastian Huber
d76e7c1975 build: Fix RTEMS_CHECK_NETWORKING
Update #3941.
2020-07-05 20:33:16 +02:00
Sebastian Huber
401b237f93 epiphany: Remove support for this target
Due to an unmaintained toolchain (internal errors in GCC, no FSF GDB
integration) the Epiphany architecture was obsoleted in RTEMS 5.1.

Update #3941.
2020-07-05 18:05:25 +02:00
Sebastian Huber
523551ccf6 bsps/powerpc: Remove obsolete BSPs
Update #3951.
2020-07-05 12:56:05 +02:00
Sebastian Huber
70b803b554 bsps/powerpc: Remove SPE enabled variants
The PowerPC SPE support was removed from GCC.

Update #3951.
2020-07-05 12:56:01 +02:00
Sebastian Huber
69690f60b4 bsps/powerpc: Remove __atexit form start.o
Remove superflous __atexit stuff in start.o.  It is no longer required
by GCC and may cause linker problems.

See GCC commit:

commit 362c63a5e8b5aacfff3e5af0911e42ba7c775042
Author: Geoff Keating <geoffk@cygnus.com>
Date:   Fri Apr 14 23:16:25 2000 +0000
2020-07-05 12:56:01 +02:00
Sebastian Huber
9b5af6a47f bsps/powerpc: Fix tlbie instruction usage
GCC 10 no longer passes -many to the assembler.  This enables more
checks in the assembler.

The 0 in the tlbie instruction is the L operand which selects a 4KiB
page size.
2020-07-05 12:56:01 +02:00
Sebastian Huber
9b3b33d91a bsps/powerpc: Fix inline assembly
GCC 10 no longer passes -many to the assembler.  This enables more
checks in the assembler.
2020-07-05 12:56:01 +02:00
Sebastian Huber
b4a786df18 bsp/qoriq: Fix tlbwe sequence 2020-07-05 12:56:01 +02:00
Sebastian Huber
6a02c11b4e bsps/mips: Fix issues with -fno-common 2020-07-05 12:56:01 +02:00
Sebastian Huber
d0c1ce658e i386: Replace fpcr clobber with memory clobber
Update #3943.
2020-07-05 10:59:11 +02:00
Sebastian Huber
3c78e93c95 score: Clarify CPU_USE_LIBC_INIT_FINI_ARRAY option
Update #4018.
2020-06-30 09:51:33 +02:00
Kinsey Moore
48dd7b8c2e score: Add CPU_USE_LIBC_INIT_FINI_ARRAY
This introduces the CPU_USE_LIBC_INIT_FINI_ARRAY define for use by CPU
ports to determine which global constructor and destructor methods are
used instead of placing architecture defines where they shouldn't be.

Close #4018
2020-06-30 09:46:12 +02:00
Sebastian Huber
37c36def7a Change version to RTEMS 6
Update #4020.
2020-06-30 09:19:08 +02:00
Sebastian Huber
5faad36f97 psxtmtests: Fix test names
Tests PSXTMCOND 08, 09, and 10 had the same test name.
2020-06-23 10:34:57 +02:00
Sebastian Huber
46c2387181 rtems: Remove RTEMS_MP_NOT_CONFIGURED error
Some objects can be created with a local or global scope in a
multiprocessing network. In non-multiprocessing configurations setting
the scope to local or global had no effect since such a system can be
viewed as a multiprocessing network with just one node. One and all
nodes is the same in such a network. However, if multiprocessing was
configured, creation of a global object in a single node network
resulted in an RTEMS_MP_NOT_CONFIGURED error. Remove this error
condition for symmetry to the non-multiprocessing setup. This is in line
with the task affinity behaviour in SMP systems.

Update #4005.
2020-06-18 07:09:34 +02:00
Chris Johns
bc73a08598 i386/pc: Initialise the printk serial port on first use 2020-06-18 12:03:28 +10:00