Re: [PATCH 4/5] score: Optimize Workspace Handler initialization

2021-11-29 Thread Sebastian Huber
On 30/11/2021 05:33, Chris Johns wrote: +#include + +void _Workspace_Handler_initialization( void ) +{ + _Workspace_Initialize_for_many_areas(); _Workspace_Initialize_for_multiple_areas() ? And then also for _Malloc_Initialize_for_many_areas() ? Yes, this sounds better. I will change this.

Re: [PATCH 4/5] score: Optimize Workspace Handler initialization

2021-11-29 Thread Chris Johns
On 29/11/21 9:29 pm, Sebastian Huber wrote: > The BSPs provide memory for the workspace initialization via > _Memory_Get(). Most BSPs provide exactly one memory area. Only two > BSPs provide more than one memory area (arm/altera-cyclone-v and > bsps/powerpc/mpc55xxevb). Only if more than one mem

Re: AW: AW: AW: [PATCH 00/27] Update kern_tc in rtems 5 for ntp support

2021-11-29 Thread Chris Johns
On 29/11/21 11:24 pm, Sebastian Huber wrote: > On 24/11/2021 10:57, gabriel.moy...@dlr.de wrote: >>> I am fine with this change being pushed to the 5 branch but I think it >>> needs to built with the tier 1 archs (i386, powerpc, arm). >> I could compile them for the BSPs of those archs.

Re: AW: AW: AW: [PATCH 00/27] Update kern_tc in rtems 5 for ntp support

2021-11-29 Thread Sebastian Huber
On 24/11/2021 10:57, gabriel.moy...@dlr.de wrote: I am fine with this change being pushed to the 5 branch but I think it needs to built with the tier 1 archs (i386, powerpc, arm). I could compile them for the BSPs of those archs. Thanks. Does it make sense to run some test in qemu? Test res

[PATCH 3/5] build: Use common objects item for get memory

2021-11-29 Thread Sebastian Huber
--- spec/build/bsps/aarch64/a53/grp.yml| 2 ++ spec/build/bsps/aarch64/a53/obj.yml| 1 - spec/build/bsps/aarch64/a72/grp.yml| 2 ++ spec/build/bsps/aarch64/a72/obj.yml| 1 - spec/build/bsps/aarch64/xilinx-versal/grp.yml | 2

[PATCH 5/5] libc: Optimize malloc() initialization

2021-11-29 Thread Sebastian Huber
The BSPs provide memory for the separate C Program Heap initialization via _Memory_Get(). Most BSPs provide exactly one memory area. Only two BSPs provide more than one memory area (arm/altera-cyclone-v and bsps/powerpc/mpc55xxevb). Only if more than one memory area is provided, there is a need

[PATCH 4/5] score: Optimize Workspace Handler initialization

2021-11-29 Thread Sebastian Huber
The BSPs provide memory for the workspace initialization via _Memory_Get(). Most BSPs provide exactly one memory area. Only two BSPs provide more than one memory area (arm/altera-cyclone-v and bsps/powerpc/mpc55xxevb). Only if more than one memory area is provided, there is a need to use _Heap_E

[PATCH 2/5] score: Split wkspace.c

2021-11-29 Thread Sebastian Huber
Splitting the file avoids unnecessary link-time dependencies. --- cpukit/score/src/wkspace.c | 15 - cpukit/score/src/wkspaceallocate.c | 47 +++ cpukit/score/src/wkspacefree.c | 51 ++ spec/build/cpukit/librtemscpu.yml | 2

[PATCH 1/5] wkspace.c: Change license to BSD-2-Clause

2021-11-29 Thread Sebastian Huber
Change licence according to file history. Update #3053. --- cpukit/score/src/wkspace.c | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index 546847b82d..e4ba753435 100644 --- a/cpukit/score/

[PATCH 0/5] Optimize workspace/malloc initialization

2021-11-29 Thread Sebastian Huber
The BSPs provide memory for the RTEMS Workspace and the separate C Program Heap initialization via _Memory_Get(). Most BSPs provide exactly one memory area. Only two BSPs provide more than one memory area (arm/altera-cyclone-v and bsps/powerpc/mpc55xxevb). Only if more than one memory area is pr