Sebastian Huber
fe58f6ce4b
bsp/stm32h7: Add and use BSP Doxygen group
...
Update #3910 .
2020-11-26 08:21:46 +01:00
Kinsey Moore
22c3d4f2ed
spec/a53: Set conditionally failing test state
...
The spintrcritical03-05 and psx12 tests are known to fail on Qemu when
the host system is heavily loaded. A single run of Qemu per core
during a testsuite run tends to yield positive results, but any
additional load on a system will result in test failures.
This patch also applies the correct expected test state for intermittent
failures so that those tests will still build.
2020-11-24 10:06:49 -06:00
Kinsey Moore
0f5f42619b
score/aarch64: Resolve warning in exception dump
...
This resolves a warning in the exception frame dump for AArch64 relating
to a missized printf format specifier.
2020-11-24 08:01:16 -06:00
Kinsey Moore
b2ea2bc333
wscript: Apply test state expectations correctly
...
The variety of expected test states are not currently applied to tests
with names containing '-' correctly due to a failure to replace '-' with
'_' before adding the CPPFLAGS to the environment for that test. This
ensures that all additions of CPPFLAGS have that replacement performed
so that the CPPFLAGS are applied properly during compilation.
2020-11-24 08:01:08 -06:00
Sebastian Huber
99c73303de
rtems: Improve rtems_interrupt_server_create()
...
Also start interrupt server tasks on processors which do not have a
scheduler. Applications may dynamically manage processors using
rtems_scheduler_remove_processor() and rtems_scheduler_add_processor().
2020-11-24 07:40:24 +01:00
Sebastian Huber
3c093d6752
rtems: Move _Partition_Allocate()
...
It is only used by rtems_partition_create().
2020-11-24 07:40:24 +01:00
Sebastian Huber
accbe3c40a
rtems: Move _Partition_Initialize()
...
It is only used by rtems_partition_create(). Fix integer types.
2020-11-24 07:40:24 +01:00
Sebastian Huber
1784799b17
rtems: Move _Partition_Is_buffer_area_aligned()
...
It is only used by rtems_partition_create(). Move code directly into
directive which called the inline function. Add a comment.
2020-11-24 07:40:16 +01:00
Sebastian Huber
1eafefbf4c
rtems: Move _Partition_Is_buffer_size_aligned()
...
It is only used by rtems_partition_create(). Move code directly into
the directive which called the inline function. Add a comment.
2020-11-24 07:40:11 +01:00
Sebastian Huber
a61e221d04
rtems: Move _Partition_Is_buffer_on_boundary()
...
It is used only by rtems_partition_return_buffer(). Make the PTCB the
first parameter. Rename to _Partition_Is_address_on_buffer_boundary().
2020-11-24 07:38:41 +01:00
Sebastian Huber
2572a3f1c0
rtems: Move _Partition_Is_buffer_valid()
...
It is used only in one place. Make the PTCB the first parameter.
Rename it to _Partition_Is_address_a_buffer_begin().
2020-11-24 07:38:41 +01:00
Sebastian Huber
aa1c6ddd5c
libtest: Fix undefined setjmp() behaviour
...
Bug was introduced by 78baeb7579 .
Update #3199 .
2020-11-24 07:38:41 +01:00
Kinsey Moore
1cbe5773ab
spec/aarch64: Only apply SUBALIGN(4) to ILP32
...
The SUBALIGN(4) required on rtemsroset and rtemsrwset for ILP32 builds
was previously present on LP64 builds and causes no issues within RTEMS,
but causes relocation/alignment issues when building libbsd. This
restricts those alignment changes to ILP32 builds.
2020-11-23 09:57:45 -06:00
Kinsey Moore
0c7bb0ebbd
spec/aarch64: Ensure that libbsd can build properly
...
These files are required for libbsd to build against the AArch64 A53
BSPs.
2020-11-23 09:57:45 -06:00
Sebastian Huber
cbfacee436
rtems: Remove _Partition_Destroy()
...
It was a trivial function call wrapper used only in one place.
2020-11-23 10:43:19 +01:00
Sebastian Huber
3c029026da
rtems: Remove _Partition_Free()
...
It was a trivial function call wrapper used only in one place.
2020-11-23 10:43:19 +01:00
Sebastian Huber
76263d8fc9
rtems: Move _Partition_Free_buffer()
...
It is only used by rtems_partition_return_buffer().
2020-11-23 10:43:19 +01:00
Sebastian Huber
6d413ef1f8
rtems: Move _Partition_Allocate_buffer()
...
It is only used by rtems_partition_get_buffer().
2020-11-23 10:43:19 +01:00
Sebastian Huber
ede8f51e54
rtems: Update partition documentation
2020-11-23 10:43:19 +01:00
Sebastian Huber
4c1e793a2d
rtems: Canonicalize partition file documentation
2020-11-23 10:43:19 +01:00
Sebastian Huber
134fc76d3b
rtems: Update event documentation
2020-11-23 10:36:46 +01:00
Sebastian Huber
83c37fc738
rtems: Remove unused _Event_Timeout()
2020-11-23 10:36:46 +01:00
Sebastian Huber
acf1a9870d
rtems: Remove EVENT_SETS_NONE_PENDING
...
This define was only used in one place.
2020-11-23 10:36:46 +01:00
Sebastian Huber
422b00319a
rtems: Remove unused EVENT_CURRENT
2020-11-23 10:36:46 +01:00
Sebastian Huber
72811c71af
rtems: Canonicalize task event file documentation
2020-11-23 10:36:46 +01:00
Sebastian Huber
bdfc58fbd3
libio: Move to RTEMS implementation group
2020-11-23 10:36:46 +01:00
Sebastian Huber
6c078901b2
doxygen: Use common syntax for groups
2020-11-23 10:36:46 +01:00
Sebastian Huber
f1d932d510
doxygen: Rename Internal to Implementation
...
Use a top-level implementation group to gather implementation related
files. The use of "Impl" is shorter and matches with the *impl.h file
names.
2020-11-23 10:36:46 +01:00
Christian Mauderer
7141afbb0e
bsp/imxrt: Add new BSP
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
57b5b29ce4
bsp/imxrt: Adapt imported files
...
Update #4180
2020-11-20 08:53:19 +01:00
Christian Mauderer
8abf858cf5
bsp/imxrt: Fix warnings for imported files
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
48f6a6c302
bsp/imxrt: Import files from MCUXpresso SDK V2.8.5
...
The following files have been imported:
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/clock_config.h include/fsl_clock_config.h
cp ${SDK}/boards/evkbimxrt1050/project_template/dcd.c start/flash-dcd.c
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.c nxp/boards/evkbimxrt1050
cp ${SDK}/boards/evkbimxrt1050/project_template/pin_mux.h include/fsl_pin_mux.h
cp ${SDK}/boards/evkbimxrt1050/xip/evkbimxrt1050_flexspi_nor_config.h include/fsl_flexspi_nor_config.h
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052.h include
cp ${SDK}/devices/MIMXRT1052/MIMXRT1052_features.h include
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.c nxp/devices/MIMXRT1052/drivers
cp ${SDK}/devices/MIMXRT1052/drivers/fsl_*.h include
cp ${SDK}/devices/MIMXRT1052/fsl_device_registers.h include
cp ${SDK}/devices/MIMXRT1052/system_MIMXRT1052.h include/
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c nxp/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.c
cp ${SDK}/devices/MIMXRT1052/xip/fsl_flexspi_nor_boot.h include
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
b169095c7d
cpu/armv7m: Add table based init for ARMV7M_MPU
...
Modify the MPU functions of the stm32h7 BSP to be table based and
available for all ARMV7M BSPs.
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
6cece58544
bsps/imx: Move imx-gpio to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Christian Mauderer
e00f443428
imx: Move imx_iomux to arm/shared
...
Update #4180
2020-11-20 08:53:18 +01:00
Sebastian Huber
c13fd2dbd8
score: Restore RTEMS_COMPILER_UNUSED_ATTRIBUTE
...
Commit 21af871992 accidentally removed the
RTEMS_COMPILER_UNUSED_ATTRIBUTE and added RTEMS_COMPILER_USED_ATTRIBUTE.
2020-11-20 08:14:18 +01:00
Sebastian Huber
298b5ef162
config: Initialize task stack allocator on demand
...
Register a custom task stack allocator initialization handler only if
necessary.
2020-11-19 17:41:26 +01:00
Sebastian Huber
c5af8aa070
config: Simplify task stack allocator init
...
Replace runtime checks with compile time assertions. This makes the
INTERNAL_ERROR_BAD_STACK_HOOK obsolete.
2020-11-19 17:41:07 +01:00
Sebastian Huber
d6f13a468e
validation/ts-performance-0: Add partition tests
2020-11-19 08:39:02 +01:00
Sebastian Huber
35c52a51b9
validation/ts-performance-0: Add test suite
...
Share a default test suite with ts-validation-0.
2020-11-19 08:39:02 +01:00
Sebastian Huber
c542345b25
libtest: Simplify "Load" environment reporting
...
Report all runtime measurement environments with a name only and encode
the worker count of the "Load" environment in the name.
Update #3199 .
2020-11-19 08:39:02 +01:00
Sebastian Huber
78baeb7579
libtest: Allow assert checks during test begin
...
Allow assert checks in test begin actions and setup fixture methods.
2020-11-19 08:39:02 +01:00
Sebastian Huber
d2bc5945d3
libtest: Rename ValidCache in FullCache
...
This name better reflects the execution envirnoment in which the cache
is fully loaded with valid data unrelated to the body request handler.
2020-11-19 08:39:02 +01:00
Sebastian Huber
8882635636
libtest: Add primitive test case memory allocator
...
This primitive test case memory allocator uses memory from the low-level
memory information provided by the BSP. At the beginning of each test
case, the memory available to the test case is reinitialized. This
allows the use of a simple allocate only allocator.
2020-11-19 08:39:02 +01:00
Sebastian Huber
33cd037bf1
libtest: Simplify runtime measurement support
...
Use the test case allocator functions T_zalloc() and T_malloc().
Restore the task affinity of the runner task.
2020-11-19 08:39:02 +01:00
Sebastian Huber
eae22cc03e
libtest: Make test case allocator configurable
2020-11-19 08:39:02 +01:00
Sebastian Huber
90b2dbecc2
build: Remove duplicate ARM_MMU_USE_SMALL_PAGES
2020-11-19 08:39:02 +01:00
Christian Mauderer
5d75050c93
Add License file for BSD-3-Clause
...
We have some files with a SPDX identifier for this license. Therefore
the license should be here too.
2020-11-17 10:03:41 +01:00
Kinsey Moore
eb3d7fbf65
score/aarch64: Size saved SP register for ABI
...
This ensures that the saved SP register is sized appropriately depending
on the chosen ABI and prevents a warning in the libmisc stack checker.
2020-11-13 12:31:41 -06:00
Sebastian Huber
21af871992
rtems: Generate <rtems/score/basedefs.h>
...
Change license to BSD-2-Clause according to file histories and
documentation re-licensing agreement.
Update #3899 .
Update #3993 .
2020-11-12 08:54:59 +01:00