Commit Graph

33665 Commits

Author SHA1 Message Date
Sebastian Huber
3bbd47638f build: Add test excludes for RTEMS_PROFILING 2020-10-10 14:54:36 +02:00
Sebastian Huber
e261df005a build: Add test excludes for rcxx01 2020-10-10 14:48:01 +02:00
Sebastian Huber
d7a48e1b25 rtems: Improve RTEMS_NO_RETURN attribute
Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors
like this:

error: no return statement in function returning non-void [-Werror=return-type]

Use C11 and C++11 standard means to declare a no-return function.

Close #4122.
2020-10-10 14:00:37 +02:00
Sebastian Huber
e1a0e0c308 grlib: Add and use irqmp_has_timestamp()
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move
it to grlib.h.

Close #4128.
2020-10-10 14:00:37 +02:00
Sebastian Huber
6ca00e61dc build: Fix legacy Makefile support
Close #4140.
2020-10-10 13:50:41 +02:00
Chris Johns
558a19d3ad testsuite/rcxx01: Add examples for use in the User manual 2020-10-09 16:45:24 +11:00
Chris Johns
89a22be079 librtemscxx: Fix white space to match the coding standard 2020-10-09 10:46:25 +11:00
Chris Johns
6f2a219f57 librtemscxx: Add join() and detach() to the thread
- Do not start threads detached
2020-10-09 10:46:25 +11:00
Joel Sherrill
560c08cc3d bsps/include/bsp/fatal.h: Add GRLIB specific fatal error
updates #4028.
2020-10-08 08:30:00 -05:00
Sebastian Huber
b1eaacfbcd librtemscxx: Fix install 2020-10-08 15:21:31 +02:00
Sebastian Huber
69a35fb925 validation: Improve file header comment 2020-10-08 13:43:39 +02:00
Sebastian Huber
e697baf8d7 doxygen: Add "Generated from ..." comments
Improve file header comment.

Update #3994.
2020-10-08 07:40:08 +02:00
Sebastian Huber
f815d044ee rtems: Add "Generated from ..." comments
Improve file header comment.

Update #3993.
2020-10-08 07:40:08 +02:00
Sebastian Huber
c17181d464 build: Disable RTEMS_NETWORKING for some arch/bsp
The old network stack is not supported on 64-bit targets.
2020-10-08 07:40:08 +02:00
Chris Johns
cf95826089 cpukit/librcxx: Add a C++ thread interface with attributes 2020-10-08 11:01:59 +11:00
Joel Sherrill
0c74ff92b5 Misc: Correct spelling of occurred 2020-10-07 08:38:28 -05:00
Sebastian Huber
97e9728306 rtems: Add RTEMS_PARTITION_ALIGNMENT
Update #4105.
2020-10-07 08:10:52 +02:00
Sebastian Huber
94b8d85b16 build: Fix BSP name
Update #3818.
2020-10-07 08:06:34 +02:00
Sebastian Huber
ca9b2e34be build: Remove raspberrypi from RTEMS_SMP
Close #4116.
2020-10-07 07:45:35 +02:00
Sebastian Huber
883894562b build: Add test excludes for RTEMS_DEBUG 2020-10-06 07:43:49 +02:00
Kinsey Moore
ed9c88cea8 bsps: Add Cortex-A53 ILP32 BSP variant
This adds an AArch64 ILP32 BSP variant based on Qemu's Cortex-A53
emulation with interrupt support using GICv3 and clock support using
the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
db68ea1b9b bsps: Add Cortex-A53 LP64 basic BSP
This adds an AArch64 basic BSP based on Qemu's Cortex-A53 emulation with
interrupt support using GICv3 and clock support using the ARM GPT.
2020-10-05 16:11:40 -05:00
Kinsey Moore
8387c52e47 score: Add AArch64 port
This adds a CPU port for AArch64(ARMv8) with support for exceptions and
interrupts.
2020-10-05 16:11:39 -05:00
Kinsey Moore
232fc52d4c spmsgq_err01: Use correct max values and fix 64bit
Fix spmsgq_err01 on systems with 64-bit pointers and correct max value
mismatches and inaccuracies that are more noticable on 64-bit systems.
2020-10-05 16:11:39 -05:00
Kinsey Moore
cb2afd2eaa bsps/shared: Add PSCI-based bspreset implementation
This adds a bsp_reset implementation based on the ARM PSCI
specification often present in ARMv8 systems.
2020-10-05 16:11:39 -05:00
Kinsey Moore
f8ad5bb2a4 bsps: Break out AArch32 GICv3 support
This breaks out AArch32-specific code so that the shared GICv3 code can
be reused by other architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
1480c3f5e8 bsps: Break out AArch32 portions of GPT driver
This breaks AArch32-specific portions of the ARM GPT driver into their
own file so that the generic code can be moved for reuse by other
architectures.
2020-10-05 16:11:39 -05:00
Kinsey Moore
647a60e2c3 spec: Add missing spintrcritical24 definition 2020-10-05 16:11:39 -05:00
Kinsey Moore
1c03649312 Move ARM PL011 UART driver
This UART driver is now needed for BSPs other than ARM.
2020-10-05 16:11:39 -05:00
Sebastian Huber
83278070ba build: Add test excludes for RTEMS_DEBUG
Close #4121.
2020-10-05 19:34:26 +02:00
Sebastian Huber
a9995f101d bsp/lpc176x: Fix memory map
Due to the static allocation of operating system resources the .bss section
needs more space than the .work section.

Close #4117.
2020-10-05 19:34:10 +02:00
Sebastian Huber
2c36761768 build: Add testopts.h to configure script
Close #4120.
2020-10-05 12:00:29 +02:00
Sebastian Huber
f53712a0e3 build: Use exact match by default for BSP names
Update #3818.
2020-10-02 16:29:48 +02:00
Sebastian Huber
7c0744f5b3 build: Scope RTEMS_MULTIPROCESSING option
Enable it only for selected BSPs. Improve description.
2020-10-02 14:38:33 +02:00
Sebastian Huber
6a31ae63ce build: Fix typo 2020-10-02 14:38:33 +02:00
Sebastian Huber
f2185d1099 Decouple the C Program Heap initialization
Before this patch RTEMS_Malloc_Initialize() had a fixed dependency on
_Workspace_Area.  Introduce _Workspace_Malloc_initializer to have this
dependency only if CONFIGURE_UNIFIED_WORK_AREAS is defined by the
application configuration.
2020-10-01 19:05:33 +02:00
Sebastian Huber
71689a0775 rtems: Canonicalize name and id checks
Check the name followed by the id check in all create directives.

Compare pointers against NULL.  Fix formatting.
2020-10-01 18:05:58 +02:00
Sebastian Huber
2d8802b519 tests: Add and use <rtems/testopts.h>
Add the build option RTEMS_TEST_VERBOSITY to control the verbosity of
test suites using the RTEMS Test Framework.
2020-10-01 18:05:42 +02:00
Sebastian Huber
cb1b8260fc build: Enable RTEMS_SMP only for selected BSPs 2020-10-01 13:38:19 +02:00
Sebastian Huber
16b29af2c5 build: Fix build dependencies of JFFS2 tests
Close #4107.
2020-10-01 07:46:29 +02:00
Sebastian Huber
2da7e94fe5 libtests/sha: Fix test if -O0 is used 2020-09-30 13:01:45 +02:00
Sebastian Huber
31c333d71c build: Include cpuopts.h in "config.h"
The Autoconf/Automake build system did something similar.  This fixes
the build of sigprogmask.c which uses RTEMS_POSIX_API and expects to get
it defined via "config.h".

Update #3818.
2020-09-30 12:54:02 +02:00
Sebastian Huber
5ff5ce62f9 rtems: Remove rtems_io_driver_io_error()
The implementation was added and removed in 2009.
2020-09-29 15:30:23 +02:00
Ryan Long
0805930d0c rtems-bsps: add ability to print architecture/bsp list
Closes #4099.
2020-09-29 15:10:52 +10:00
Frank Kühndel
ffc928b9a2 Fixing bug in line editing of the shell with CTRL-U.
This patch fixes a tiny bug in the command line editing of the RTEMS shell.
Typing CTRL-U in the shell should remove all characters left of the cursor.
After pressing CTRL-U, the current implementation does wrongly place the cursor
at the end of the line instead at its beginning.

To reproduce the bug, start the shell and type 'abc123' (no <RETURN>):

> ~/src/rtems $ qemu-system-arm -net none -nographic -M realview-pbx-a9 \
  -m 256M -kernel build/arm/realview_pbx_a9_qemu/testsuites/libtests/dl10.exe
> *** BEGIN OF TEST libdl (RTL) 10 ***
> *** TEST VERSION: 6.0.0.d9bdf166644f612dd628fe4951c12c6f8e94ba5f
> *** TEST STATE: USER_INPUT
> *** TEST BUILD: RTEMS_DEBUG RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
> *** TEST TOOLS: 10.2.1 20200904 \
  (RTEMS 6, RSB 31f936a7b74d60bda609a9960c6e1a705ba54974, Newlib a0d7982)
> RTL (libdl) commands: dl, rtl
>
> RTEMS Shell on /dev/foobar. Use 'help' to list commands.
> SHLL [/] # abc123

Then move the cursor onto the '1' by hitting three times the <ARROW-LEFT> key.
Next type <CTRL>-U:

> SHLL [/] # 123

Note that the cursor is at the end of the line (after '3') instead of correctly
at the beginning (on the '1'), now.

Continuing typing 'echo ' incorrectly results in the output:

> SHLL [/] # 123echo 123

The patch changes this behavior so that the cursor in the second last step will
be on the '1' and typing 'echo ' will then correctly reflected as:

> SHLL [/] # echo 123

Close #4097.
2020-09-28 14:16:06 +02:00
Sebastian Huber
f48d7834b0 doxygen: Fix use of getchark() and rtems_putc() 2020-09-28 09:10:00 +02:00
Sebastian Huber
febc66048a validation: Test rtems_message_queue_construct()
Update #4007.
2020-09-28 07:16:04 +02:00
Sebastian Huber
4a4f41ed64 rtems: Add rtems_message_queue_construct()
In contrast to message queues created by rtems_message_queue_create(), the
message queues constructed by this directive use a user-provided message buffer
storage area.

Add RTEMS_MESSAGE_QUEUE_BUFFER() to define a message buffer type for message
buffer storage areas.

Update #4007.
2020-09-28 07:16:01 +02:00
Sebastian Huber
24ea1cebeb rtems: Remove Message_queue_Control::attribute_set
Add Message_queue_Control::is_global if RTEMS_MULTIPROCESSING is defined.  This
reduces the Message_queue_Control size in standard RTEMS configurations.

Update #4007.
2020-09-28 06:19:52 +02:00
Sebastian Huber
2c09f54fc4 score: Add <rtems/score/coremsgbuffer.h>
Move the CORE_message_queue_Buffer definition to a separate header file to be
able to use it independent of the remaining Message Queue Handler API.

Change license to BSD-2-Clause according to file history.

Update #3053.
Update #4007.
2020-09-28 06:19:52 +02:00