Commit Graph

34104 Commits

Author SHA1 Message Date
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
Sebastian Huber
ecc6b2f56c rtems: Generate <rtems/rtems/part.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
Sebastian Huber
007ee134a4 rtems: Generate <rtems/rtems/event.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
Sebastian Huber
f75e240f8c rtems: Generate <rtems/rtems/attr.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
Sebastian Huber
9b4458e78e rtems: Generate <rtems/rtems/types.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
Sebastian Huber
8de874b766 rtems: Generate <rtems/rtems/options.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
Sebastian Huber
e05b100b3c rtems: Generate <rtems/rtems/modes.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
Sebastian Huber
c0327d8617 rtems: Generate <rtems/rtems/status.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
Sebastian Huber
da44df31b1 rtems: Generate <rtems/rtems/config.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
Sebastian Huber
1af946088d rtems: Generate <rtems/config.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
Sebastian Huber
96559b3a4a rtems: Include missing header file 2020-11-12 08:54:59 +01:00
Sebastian Huber
ced1302208 Improve automatically generated warning 2020-11-12 08:54:59 +01:00
Christian Mauderer
cab11b5b80 bsp/atsam: Fix XDMAD status
In "bsp/atsam: Simplify XDMAD_Handler()" (5f813694f6) the interrupt
callback has been made unconditional. That allowed to avoid some special
deadlock situations in error cases. But it removed part of the XDMAD
status handling.

This patch adds the ability to update the XDMAD status from the
callback if that is necessary for the driver.

Fixes #4173
2020-11-12 08:30:20 +01:00
Sebastian Huber
d5d9a89d03 build: Fix cache file placement
The "bsp_list" and "bsp_defaults" commands get a waflib.Context object
which has no build node.  Use a hard coded build path for these
commands.
2020-11-12 07:51:30 +01:00
Sebastian Huber
f435bdd545 dl06: Do not include loaded objs in base image 2020-11-11 08:30:41 +01:00
Sebastian Huber
dfe6b84d03 smpmulticast01: Fix NULL pointer access 2020-11-10 13:05:27 +01:00
Jiri Gaisler
4c2d5f271b Add correct link address for griscv waf build 2020-11-09 09:35:11 +01:00
Jiri Gaisler
b4c29b54e7 Add networking support for griscv bsp
* Only GRETH device supported for now
	* Fix endian problem in GRETH driver
	* Remove SPARC assembly from greth.c
	* Builds with both autoconf and waf
2020-11-09 09:35:11 +01:00
Sebastian Huber
7f0379c8dd libtrace: Move _Record_Stream_header_initialize()
This fixes the build if no function sections are used.
2020-11-09 08:10:57 +01:00
Sebastian Huber
350bba7a04 sparc: Add SPARC_INTERRUPT_SOURCE_TO_TRAP()
Update #4171.
2020-11-06 14:05:53 +01:00
Sebastian Huber
828114778d sparc: Add SPARC_INTERRUPT_TRAP_TO_SOURCE()
Update #4171.
2020-11-06 14:05:53 +01:00
Sebastian Huber
b7271f8c1e sparc: Add SPARC_IS_INTERRUPT_TRAP()
Update #4171.
2020-11-06 14:05:53 +01:00
Sebastian Huber
2c467ec767 sparc: Move SPARC-specific macros to sparc.h
Clarify Doxygen comments.  Fix formatting.

Update #4171.
2020-11-06 14:05:53 +01:00
Sebastian Huber
4cd885c305 rtems-bsps: Use build specification items
Close #4123.
2020-11-05 21:14:54 +01:00
Sebastian Huber
6cf0c559dc build: Place cache file in output directory
This improves support for the --out option.  Previously, the cache file
was placed in the source directory under "build/...".  Now, it is placed
in the output directory, which is "build" by default.  So, if you don't
use the --out option nothing changes.  However, if you use the --out
option, then the cache file is placed under the specified directory.
2020-11-05 18:53:49 +01:00
Jan Sommer
da9cc0b50c confdefs: Add extern C guards to libpci.h 2020-10-30 13:21:12 +11:00
Sebastian Huber
68239434c2 score: Fix unused parameter 'lock' warning 2020-10-28 14:53:12 +01:00
Sebastian Huber
eebad5ffcd build: Improve cache handling
Check the directory modification time to notice file removals.
2020-10-28 07:33:38 +01:00
Sebastian Huber
b052e3aefa build: Report caching errors
The ctx.fatal() method uses an exception to stop the build.  Do not
catch it.
2020-10-28 07:33:38 +01:00
Sebastian Huber
99494370d6 bsp/stm32h7: New BSP
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
c44e404888 bsp/stm32h7: Fix warnings
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
e4ba06f8b4 bsp/stm32h7: Disable unused functions
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
abb78587b6 bsp/stm32h7: Enable LL drivers
Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
2f157e2007 bsp/stm32h7: Move <math.h> include
This is necessary for libbsd compatibility.

Update #3910.
2020-10-27 06:11:45 +01:00
Sebastian Huber
2cfcd005e9 bsp/stm32h7: Constify some functions
Update #3910.
2020-10-27 06:11:45 +01:00