[PATCH] bsps/sparc: Add grlib_malloc(), grlib_calloc()

2018-11-26 Thread Sebastian Huber
This avoids a dependency to errno in device driver code. --- bsps/sparc/include/bsp/gr1553rt.h | 2 +- bsps/sparc/include/grlib_impl.h | 27 +++ bsps/sparc/shared/1553/b1553brm.c | 11 ++- bsps/sparc/shared/1553/b1553rt.c

Re: [PATCH 3/7] score: Rename Objects_Information::size

2018-11-26 Thread Chris Johns
On 27/11/18 4:57 pm, Sebastian Huber wrote: > On 27/11/2018 01:53, Chris Johns wrote: >> On 27/11/2018 00:12, Sebastian Huber wrote: >>> Rename Objects_Information::size to Objects_Information::object_size. >>> Change its type from size_t to uint16_t and move it to reduce the size >>> of

Re: [PATCH 3/7] score: Rename Objects_Information::size

2018-11-26 Thread Sebastian Huber
On 27/11/2018 01:53, Chris Johns wrote: On 27/11/2018 00:12, Sebastian Huber wrote: Rename Objects_Information::size to Objects_Information::object_size. Change its type from size_t to uint16_t and move it to reduce the size of Objects_Information. Update #3621. I have updated the ticket

Re: [PATCH v2] rtemstoolkit: Add unit testing for the python modules

2018-11-26 Thread Chris Johns
On 27/11/2018 04:28, Vijay Kumar Banerjee wrote: > On Mon, 26 Nov 2018 at 16:27, Chris Johns > wrote: > > On 26 Nov 2018, at 6:57 pm, Vijay Kumar Banerjee > > wrote: > > > >> On Mon, Nov 26, 2018 at 06:28:33PM +1100,

Re: [PATCH v3] Add LICENSE.BSD-2-Clause

2018-11-26 Thread Chris Johns
On 27/11/2018 00:21, Sebastian Huber wrote: > On 23/11/2018 07:55, Sebastian Huber wrote: >> Copied from: >> >> https://spdx.org/licenses/BSD-2-Clause.html >> >> The formatting is suitable for C/C++ source comments. >> >> Update #3053. >> --- >>   LICENSE.BSD-2-Clause | 39

m68k/av5282:Add per-section compilation and linking support

2018-11-26 Thread Shashvat Jain
Hello, I just enabled the per-function and per-data element section support for the av5282 bsp in m68k architecture . The patch for the change has been attached Thank you Regards --Shashvat 0001-m68k-av5282-Add-per-section-compilation-and-linking-.patch Description: Binary data

Re: [PATCH 3/7] score: Rename Objects_Information::size

2018-11-26 Thread Chris Johns
On 27/11/2018 00:12, Sebastian Huber wrote: > Rename Objects_Information::size to Objects_Information::object_size. > Change its type from size_t to uint16_t and move it to reduce the size > of Objects_Information. > > Update #3621. I have updated the ticket with some questions. Chris

Re: Spike Fails to Build on CentOS 7 (Possible RSB Issue)

2018-11-26 Thread Joel Sherrill
On Tue, Nov 20, 2018 at 4:40 PM Chris Johns wrote: > > > On 21/11/2018 03:43, Joel Sherrill wrote: > > > > > > On Fri, Nov 16, 2018 at 6:57 PM Chris Johns > > wrote: > > > > On 17/11/18 1:45 am, Joel Sherrill wrote: > > > Hi > > > > > > Hesham was nice

Re: [rtems-docs]Ticket #2562 solved , Release version guidelines added (GCI 2018)

2018-11-26 Thread Shashvat Jain
please push the change thank you Regards --Shashvat On Wed, Nov 21, 2018 at 11:10 PM Shashvat Jain wrote: > Hello , > this is the updated patch with proper title and discription > A new paragraph has been added In the quick start for assisting new users > to build the correct and updated

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread Christian Mauderer
Am 26.11.18 um 20:22 schrieb Joel Sherrill: > > > On Mon, Nov 26, 2018, 1:10 PM Christian Mauderer wrote: > > Hello Peter, > > yes, that sounds about right. I'm not entirely sure about the name of > the file we used as a base back then. I would have to

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread Joel Sherrill
On Mon, Nov 26, 2018, 1:10 PM Christian Mauderer Hello Peter, > > yes, that sounds about right. I'm not entirely sure about the name of > the file we used as a base back then. I would have to take a look at the > exact version at work. > > I think the new software should be based on the "legacy"

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread Christian Mauderer
Hello Peter, yes, that sounds about right. I'm not entirely sure about the name of the file we used as a base back then. I would have to take a look at the exact version at work. I think the new software should be based on the "legacy" one so I would expect that the interface is at least

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-26 Thread dufault
It will be some work to update. I believe what’s in the existing port is from this: atmel-software-package-samv7: Legacy software package for samv7, same70 and sams70 product families. while the newest software that supports the ATSAMA5 is here, with a different directory layout.

Re: [PATCH v2] rtemstoolkit: Add unit testing for the python modules

2018-11-26 Thread Vijay Kumar Banerjee
On Mon, 26 Nov 2018 at 16:27, Chris Johns wrote: > > > On 26 Nov 2018, at 6:57 pm, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > > > >> On Mon, Nov 26, 2018 at 06:28:33PM +1100, Chris Johns wrote: > >> > >>> On 26 Nov 2018, at 5:21 pm, Vijay Kumar Banerjee < >

Re: [PATCH] bsps/sparc: Add and use

2018-11-26 Thread Daniel Hellstrom
Hi Sebastian, Thanks for this! I haven't tried it out but it looks good to me. Regards, Daniel On 2018-11-26 15:46, Sebastian Huber wrote: Reduce copy and paste. --- bsps/sparc/headers.am | 1 + bsps/sparc/include/grlib-impl.h | 70

[PATCH] bsps/sparc: Add and use

2018-11-26 Thread Sebastian Huber
Reduce copy and paste. --- bsps/sparc/headers.am | 1 + bsps/sparc/include/grlib-impl.h | 70 + bsps/sparc/shared/1553/gr1553bc.c | 35 +-- bsps/sparc/shared/1553/gr1553bm.c | 36 +--

Re: [PATCH v3] Add LICENSE.BSD-2-Clause

2018-11-26 Thread Sebastian Huber
On 23/11/2018 07:55, Sebastian Huber wrote: Copied from: https://spdx.org/licenses/BSD-2-Clause.html The formatting is suitable for C/C++ source comments. Update #3053. --- LICENSE.BSD-2-Clause | 39 +++ 1 file changed, 39 insertions(+) create mode

[PATCH 4/7] score: Rename Objects_Information::allocation_size

2018-11-26 Thread Sebastian Huber
Rename Objects_Information::allocation_size in Objects_Information::objects_per_block. Adjust integer types in _Objects_Shrink_information() and _Objects_Free(). Update #3621. --- cpukit/include/rtems/score/objectimpl.h| 4 +-- cpukit/score/src/objectallocate.c | 2 +-

[PATCH 3/7] score: Rename Objects_Information::size

2018-11-26 Thread Sebastian Huber
Rename Objects_Information::size to Objects_Information::object_size. Change its type from size_t to uint16_t and move it to reduce the size of Objects_Information. Update #3621. --- cpukit/include/rtems/score/objectimpl.h| 16 cpukit/score/src/objectallocate.c

[PATCH 1/7] score: Remove dead code

2018-11-26 Thread Sebastian Huber
Update #3621. --- cpukit/score/src/objectallocate.c | 16 1 file changed, 16 deletions(-) diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 146b5d5976..e09c74c70c 100644 --- a/cpukit/score/src/objectallocate.c +++

[PATCH 5/7] score: Optimize object lookup

2018-11-26 Thread Sebastian Huber
Use the maximum ID for the ID to object translation. Using the maximum ID gets rid of an additional load from the object information in _Objects_Get(). In addition, object lookups fail for every ID in case the object information is cleared to zero. This makes it a bit more robust during system

[PATCH 2/7] score: Remove Objects_Information::is_string

2018-11-26 Thread Sebastian Huber
Use Objects_Information::name_length to store this information. Update #3621. --- cpukit/include/rtems/score/objectimpl.h| 33 +--- cpukit/posix/src/key.c | 3 +- cpukit/posix/src/mqueue.c | 1 -

[PATCH 6/7] score: Remove Objects_Information::maximum

2018-11-26 Thread Sebastian Huber
This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621. --- cpukit/include/rtems/score/objectimpl.h| 18 +-- cpukit/posix/src/killinfo.c| 2 +- cpukit/rtems/src/rtemsobjectgetclassinfo.c

[PATCH] Remove rtems_cache_*_processor_set() functions

2018-11-26 Thread Sebastian Huber
The following rtems_cache_*_processor_set() cache manager API functions are exotic, complex, very hard to use correctly, not used in the RTEMS code base, and apparently unused by applications. Close #3622. --- bsps/shared/cache/cacheimpl.h | 91 ---

Re: [PATCH v2] rtemstoolkit: Add unit testing for the python modules

2018-11-26 Thread Chris Johns
> On 26 Nov 2018, at 6:57 pm, Vijay Kumar Banerjee > wrote: > >> On Mon, Nov 26, 2018 at 06:28:33PM +1100, Chris Johns wrote: >> >>> On 26 Nov 2018, at 5:21 pm, Vijay Kumar Banerjee >>> wrote: >>> I'm getting the result Invalid while running hello.exe with rtems-test on >>> leon3 (without

Re: [PATCH v2] rtemstoolkit: Add unit testing for the python modules

2018-11-26 Thread Vijay Kumar Banerjee
On Mon, Nov 26, 2018, 1:27 PM Vijay Kumar Banerjee wrote: > On Mon, Nov 26, 2018 at 06:28:33PM +1100, Chris Johns wrote: > > > > > On 26 Nov 2018, at 5:21 pm, Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > > > I'm getting the result Invalid while running hello.exe with rtems-test >