[PATCH v3] c-user: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
Document new configuration option CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE. Close #4181. --- c-user/config/classic-init-task.rst | 67 - 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/c-user/config/classic-init-task.rst

[PATCH v3 1/5] config: Clarify the use of pragmas

2020-11-24 Thread Sebastian Huber
--- cpukit/include/rtems/confdefs/wkspace.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/confdefs/wkspace.h b/cpukit/include/rtems/confdefs/wkspace.h index 803d8bdc10..a08823fa17 100644 --- a/cpukit/include/rtems/confdefs/wkspace.h +++

[PATCH v3 5/5] Use CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
Update #4181. --- testsuites/validation/ts-default.h | 109 +++-- 1 file changed, 40 insertions(+), 69 deletions(-) diff --git a/testsuites/validation/ts-default.h b/testsuites/validation/ts-default.h index 0f7db65a8e..0385587beb 100644 ---

[PATCH v3 2/5] Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL

2020-11-24 Thread Sebastian Huber
Replace a runtime check with a compile time assertion. This makes the INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL obsolete. Update #4181. --- cpukit/include/rtems/confdefs/inittask.h| 21 cpukit/include/rtems/score/interr.h | 2 +- cpukit/rtems/src/taskinitusers.c

[PATCH v3 4/5] config: Check CONFIGURE_INIT_TASK_STACK_SIZE

2020-11-24 Thread Sebastian Huber
--- cpukit/include/rtems/confdefs/inittask.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/include/rtems/confdefs/inittask.h b/cpukit/include/rtems/confdefs/inittask.h index a1bf5d3b54..3f76bee223 100644 --- a/cpukit/include/rtems/confdefs/inittask.h +++

[PATCH v3 3/5] config: CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
In order to better support applications which use the new rtems_task_construct() directive add the CONFIGURE_INIT_TASK_CONSTURCT_STORAGE_SIZE configuration option. If this option is specified, then the Classic API initialization task is constructed with rtems_task_construct(). Update #4181. ---

[PATCH v3 0/5] Add CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
Currently, the Classic API initialization task is created with rtems_task_create(). In order to better support applications which use the new rtems_task_construct() directive add the CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE configuration option which constructs the Classic API initialization

Re: [PATCH 2/3] score: Add CONFIGURE_INIT_TASK_STORAGE_SIZE

2020-11-24 Thread Chris Johns
On 24/11/20 10:45 pm, Sebastian Huber wrote: > On 24/11/2020 12:40, Chris Johns wrote: > >> On 24/11/20 6:35 pm, Sebastian Huber wrote: >>> On 23/11/2020 21:23, Chris Johns wrote: >>> On 23/11/20 7:46 pm, Sebastian Huber wrote: > On 22/11/2020 23:22, Chris Johns wrote: >> On 20/11/20

Re: [PATCH v2 1/4] Avoid INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL

2020-11-24 Thread Joel Sherrill
On Tue, Nov 24, 2020 at 1:34 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Replace a runtime check with a compile time assertion. This makes the > INTERNAL_ERROR_RTEMS_INIT_TASK_ENTRY_IS_NULL obsolete. > > Update #4181. > --- > cpukit/include/rtems/confdefs/inittask.h|

Re: [PATCH] spec/a53: Set conditionally failing test state

2020-11-24 Thread Sebastian Huber
On 24/11/2020 14:32, Kinsey Moore wrote: +# tests that pass nominally, but fail under Qemu when the host is under +# heavy load +psx12: indeterminate +spintrcritical03: indeterminate +spintrcritical04: indeterminate +spintrcritical05: indeterminate The comment is

[PATCH] spec/a53: Set conditionally failing test state

2020-11-24 Thread Kinsey Moore
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

[PATCH 4/4] score: Free old name in _Objects_Set_name()

2020-11-24 Thread Sebastian Huber
This is the behaviour document in the RTEMS Classic API Guide. --- cpukit/score/src/objectsetname.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/score/src/objectsetname.c b/cpukit/score/src/objectsetname.c index 4d85332711..4cb19bd360 100644 --- a/cpukit/score/src/objectsetname.c

[PATCH 2/4] score: Return a status in _Objects_Set_name()

2020-11-24 Thread Sebastian Huber
--- cpukit/include/rtems/score/objectimpl.h | 14 -- cpukit/score/src/objectsetname.c| 6 +++--- testsuites/psxtests/psxobj01/init.c | 6 +++--- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/cpukit/include/rtems/score/objectimpl.h

[PATCH 3/4] rtems: Fix rtems_object_set_name()

2020-11-24 Thread Sebastian Huber
Return RTEMS_NO_MEMORY if there is not memory available to duplicate the name. --- cpukit/rtems/src/rtemsobjectsetname.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/rtems/src/rtemsobjectsetname.c b/cpukit/rtems/src/rtemsobjectsetname.c index

[PATCH 1/4] rtems: Generate

2020-11-24 Thread Sebastian Huber
Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Update #3899. Update #3993. --- cpukit/include/rtems/rtems/object.h | 715 +--- 1 file changed, 445 insertions(+), 270 deletions(-) diff --git

[PATCH 0/4] Generate

2020-11-24 Thread Sebastian Huber
Fix some issues in rtems_object_set_name(). Sebastian Huber (4): rtems: Generate score: Return a status in _Objects_Set_name() rtems: Fix rtems_object_set_name() score: Free old name in _Objects_Set_name() cpukit/include/rtems/rtems/object.h | 715 +++-

[PATCH v2] rtems: Delete rtems_object_id_api_maximum_class()

2020-11-24 Thread Sebastian Huber
This directive has no implementation. It is documented in the RTEMS Classic API Guide. It was added by commit 6c06288f6452da96fa630f1482aeaaba5d217531 Author: Joel Sherrill Date: Tue Jan 29 21:52:21 2008 + without an implementation. The later change commit

[PATCH] c-user: Generate Object Services documentation

2020-11-24 Thread Sebastian Huber
The documentation is a consolidation of the comments in Doxygen markup and the documentation sources in Sphinx markup. The documentation was transfered to interface specification items. This header file was generated from the items by a script. Update #3993. ---

Re: [PATCH 2/3] score: Add CONFIGURE_INIT_TASK_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
On 24/11/2020 12:40, Chris Johns wrote: On 24/11/20 6:35 pm, Sebastian Huber wrote: On 23/11/2020 21:23, Chris Johns wrote: On 23/11/20 7:46 pm, Sebastian Huber wrote: On 22/11/2020 23:22, Chris Johns wrote: On 20/11/20 7:31 pm, Sebastian Huber wrote: In order to better support

Re: [PATCH v2 0/4] Add CONFIGURE_INIT_TASK_STORAGE_SIZE

2020-11-24 Thread Sebastian Huber
On 24/11/2020 12:35, Chris Johns wrote: * Ensure that CONFIGURE_INIT_TASK_STACK_SIZE is greater than or equal to CONFIGURE_INIT_TASK_STACK_SIZE. I do not understand this sentence. Sorry for the typo: Ensure that CONFIGURE_INIT_TASK_STACK_SIZE is greater than or equal to

Re: [PATCH 2/3] score: Add CONFIGURE_INIT_TASK_STORAGE_SIZE

2020-11-24 Thread Chris Johns
On 24/11/20 6:35 pm, Sebastian Huber wrote: > On 23/11/2020 21:23, Chris Johns wrote: > >> On 23/11/20 7:46 pm, Sebastian Huber wrote: >>> On 22/11/2020 23:22, Chris Johns wrote: On 20/11/20 7:31 pm, Sebastian Huber wrote: > In order to better support applications which use the new >

Re: [PATCH v2 0/4] Add CONFIGURE_INIT_TASK_STORAGE_SIZE

2020-11-24 Thread Chris Johns
On 24/11/20 6:33 pm, Sebastian Huber wrote: > Currently, the Classic API initialization task is created with > rtems_task_create(). In order to better support applications which use > the new rtems_task_construct() directive add the > CONFIGURE_INIT_TASK_STORAGE_SIZE configuration option which

[PATCH v1 1/1] bsps/arm: Fix MMU small pages support

2020-11-24 Thread Jan Sommer
- For small tables only round to the next 4kiB instead of 1MiB --- bsps/arm/include/bsp/arm-cp15-start.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/include/bsp/arm-cp15-start.h b/bsps/arm/include/bsp/arm-cp15-start.h index c4686fbbd4..86c4f8afcb 100644 ---

[PATCH v1 0/1] bsps/arm: Fix MMU small pages support

2020-11-24 Thread Jan Sommer
Following the discussion on the mailinglist (https://lists.rtems.org/pipermail/users/2020-November/067978.html) here is a patch which rounds the address range of a section only to next 4kiB boundary for the ARM MMU if small pages are enabled. This should close the following tickets: -