Commit Graph

276 Commits

Author SHA1 Message Date
Sebastian Huber
16b29af2c5 build: Fix build dependencies of JFFS2 tests
Close #4107.
2020-10-01 07:46:29 +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
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
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
Sebastian Huber
73926320d7 build: Add RTEMS_PROFILING
Update #3818.
2020-09-25 18:51:00 +02:00
Sebastian Huber
d9bdf16664 rtems: Install missing header file
Update #3053.
2020-09-22 09:44:01 +02:00
Sebastian Huber
d110e6e3b3 bsp/gen83xx: Add missing source file
Update #3818.
2020-09-21 06:34:56 +02:00
Sebastian Huber
e59cb6a2b2 bsps/powerpc: Remove __ppc_generic define
Do not force BSPs to define __ppc_generic.

This was probably the last command line define in the BSPs.
2020-09-20 17:45:11 +02:00
Sebastian Huber
456b8ae371 bsp/motorola_powerpc: Remove obsolete GCC option
commit 20c89ab7c5091ee48535392cae2177aa1a1c43eb
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Fri Jan 12 21:50:52 2018 +0100

    rs6000: Remove -mstring

    -mstring is only enabled by default on 601, and with -Os on some
    configurations.  It is almost always slower (than not using it) and
    does not very often lead to smaller code.

    This patch disables it.  If a user uses -mstring he gets a warning
    (but not with -mno-string).  I left the target attribute in place, it
    just doesn't do anything anymore.

    The patch also deletes a whole bunch of code.  The 'N' and 'O' output
    modifiers are now unused, but now is not the time to delete them.
2020-09-20 17:42:11 +02:00
Sebastian Huber
3c68456a25 bsps/powerpc: Remove -fno-common
Remove -fno-common because it is the default since GCC 10.
2020-09-20 17:39:02 +02:00
Sebastian Huber
9f2a2075fc capture: Move default trace data
Provide the default trace data in a separate file to avoid issues on targets
with a small-data area.

Close #3883.
2020-09-20 17:32:10 +02:00
Sebastian Huber
2b1a4ac84f build: Fix linker path
Use -B for the linker since some architectures use extra start files defined by
the GCC specification and provided by the BSP, for example powerpc.  Start
files are not found by -L.

In the long run, the GCC defined start files should be provided by GCC.  This
is a GCC 11 topic.

Update #3818
2020-09-20 17:32:10 +02:00
Sebastian Huber
3dd4cbb50d validation: rtems_task_construct() errors
This is the first test case generated from a specification item in the
rtems-central repository.

Update #3959.
2020-09-17 17:42:25 +02:00
Sebastian Huber
139ffa25d9 validation: Add general purpose test suite
Add a general purpose test suite for validation tests.

This is the first test suite generated from a specification item in the
rtems-central repository.

Update #3959.
2020-09-17 17:42:25 +02:00
Sebastian Huber
6942e5f991 rtems: Add rtems_task_construct()
In contrast to rtems_task_create() this function constructs a task with
a user-provided task storage area.  The new directive uses a
configuration structure instead of individual parameters.

Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a
task storage area based on the task attributes and the size dedicated to
the task stack and thread-local storage.  This macro may allow future
extensions without breaking the API.

Add application configuration option
CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS
Workspace size estimate.

Update #3959.
2020-09-17 17:42:25 +02:00
Sebastian Huber
c312f3110e CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE
Add this application configuration option.  This configuration option can be
used to reserve space for the dynamic linking of modules with thread-local
storage objects.

Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a
thread-local storage size.

Update #4074.
2020-09-17 17:42:25 +02:00
Sebastian Huber
845674e3fb build: Fix mghttpd01 test exclude
Update #3818.
2020-09-17 17:42:25 +02:00
Sebastian Huber
9979042a3a build: Fix multiple defintion error for i386/pc386
Make the objcopy an bld.objects() task generator.

Close #4079.
2020-09-15 20:07:47 +02:00
Sebastian Huber
8f424e4580 build: Fix i386/pc386 link of SMP start file
Update #3818.
2020-09-15 15:14:35 +02:00
Sebastian Huber
d9d31b381c build: Add RELOCADDR to i386/pc386 options
Update #3818.
2020-09-15 13:33:00 +02:00
Sebastian Huber
3be2380927 build: Fix i386/pc386 ABI flags
Update #3818.
2020-09-15 13:33:00 +02:00
Sebastian Huber
127c3ea527 build: Fix i386/pc386 with SMP enabled
Update #3818.
2020-09-15 09:20:28 +02:00
Sebastian Huber
4647789820 irqs01/smpirqs01: New tests
Close #4034.
2020-09-14 07:11:40 +02:00
Sebastian Huber
aa27a85a83 build: Use Python tarfile instead of pax
This patch is for the new build system.
2020-09-14 07:11:40 +02:00
Sebastian Huber
f3f0370f10 build: Alternative build system based on waf
Update #3818.
2020-09-14 07:11:32 +02:00