Re: [PATCH] rtems: Generate

2021-07-29 Thread Sebastian Huber
On 30/07/2021 00:54, Chris Johns wrote: On 29/7/21 10:59 pm, Sebastian Huber wrote: On 29/07/2021 14:51, Sebastian Huber wrote: Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Place the group into the I/O Manager group.  Add all source files

[PATCH] c-user: Add "Kernel Character I/O Support" chapter

2021-07-29 Thread Sebastian Huber
Update #4482. --- c-user/fatal-error/directives.rst | 10 +- c-user/index.rst| 1 + c-user/kernel-character-io/directives.rst | 372 c-user/kernel-character-io/index.rst| 15 + c-user/kernel-character-io/introduction.rst | 6

[PATCH v2] rtems: Generate

2021-07-29 Thread Sebastian Huber
Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Place the group into the I/O Manager group. Add all source files to the group. Update #3899. Update #3993. --- v2: * Add constraints. * Reorder the directives. cpukit/include/rtems/bspIo.h

Error when trying to build llvm

2021-07-29 Thread Ida Delphine
Hello everyone, I have been trying to build llvm using the command ../source-builder/sb-set-builder --prefix=$HOME/development/rtems/6 6/rtems-llvm Here's the error report https://pastebin.com/vAXgwXMW Please what am I missing? ___ devel mailing list deve

Adding Xilinx QEMU to RSB

2021-07-29 Thread Alex White
Hi, I am trying to add Xilinx QEMU to rtems-source-builder for running RTEMS on MicroBlaze. It is located here: https://github.com/Xilinx/qemu/tree/branch/xilinx-v2020.2 I have successfully built it and installed it manually, but adding it as a "recipe" to RSB has given me issues. Trying to c

Re: doubt about 'bool is_executing'

2021-07-29 Thread Chris Johns
On 29/7/21 11:07 pm, Sebastian Huber wrote: > On 29/07/2021 15:01, Gedare Bloom wrote: > It would be quite bad for interoperability if the bool type is not defined by > the ABI.  For example: > > https://developer.arm.com/documentation/ihi0055/b/ https://yarchive.net/comp/linux/bool.html Bool ha

Re: [PATCH] rtems-utils: Change data type definition

2021-07-29 Thread Chris Johns
Why not use the namespace explicitly and avoid this shortening? Namespaces are there to help. With C++ I have a simple rule which is always use the namespace path where possible. There are a few cases, for example in a class, a function or local block where using an alias helps the formatting othe

Re: [PATCH] rtems: Generate

2021-07-29 Thread Chris Johns
On 29/7/21 10:59 pm, Sebastian Huber wrote: > On 29/07/2021 14:51, Sebastian Huber wrote: >> Change license to BSD-2-Clause according to file histories and >> documentation re-licensing agreement. >> >> Place the group into the I/O Manager group.  Add all source files to the >> group. >> >> Update

RE: [PATCH 1/5] GcovData: Convert to C++

2021-07-29 Thread Ryan Long
I'm not sending in five patches. I just wanted to send in the conversion to C++ separately from the reformatting of GcovData. -Original Message- From: Ryan Long Sent: Thursday, July 29, 2021 12:45 PM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH 1/5] GcovData: Convert to C++ Chang

[PATCH 1/5] GcovData: Convert to C++

2021-07-29 Thread Ryan Long
Change C-style code to C++ --- tester/covoar/GcovData.cc | 317 -- tester/covoar/GcovData.h | 32 ++-- tester/covoar/GcovFunctionData.cc | 287 -- tester/covoar/GcovFunctionData.h | 44 +++--- 4 files changed,

[PATCH] rtems-utils: Change data type definition

2021-07-29 Thread Ryan Long
Change typedef for ostream_guard to using. --- linkers/rtems-exeinfo.cpp| 2 +- tester/covoar/CoverageMapBase.cc | 2 +- tester/covoar/ReportsHtml.cc | 2 +- tester/covoar/ReportsText.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linkers/rtems-exeinfo.cp

Re: doubt about 'bool is_executing'

2021-07-29 Thread Sebastian Huber
On 29/07/2021 15:01, Gedare Bloom wrote: On Thu, Jul 29, 2021 at 12:56 AM Sebastian Huber wrote: On 28/07/2021 21:54, Gedare Bloom wrote: Hello all, In most (all?) the SMP ports, we have in the CPU Context Control: bool is_executing; Yes, all SMP ports need this. It is used to implemen

Re: doubt about 'bool is_executing'

2021-07-29 Thread Gedare Bloom
On Thu, Jul 29, 2021 at 12:56 AM Sebastian Huber wrote: > > On 28/07/2021 21:54, Gedare Bloom wrote: > > Hello all, > > > > In most (all?) the SMP ports, we have in the CPU Context Control: > >bool is_executing; > > Yes, all SMP ports need this. It is used to implement a TTAS lock in the > con

Re: [PATCH] rtems: Generate

2021-07-29 Thread Sebastian Huber
On 29/07/2021 14:51, Sebastian Huber wrote: Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Place the group into the I/O Manager group. Add all source files to the group. Update #3899. Update #3993. It would be easy to add a chapter for th

[PATCH] rtems: Generate

2021-07-29 Thread Sebastian Huber
Change license to BSD-2-Clause according to file histories and documentation re-licensing agreement. Place the group into the I/O Manager group. Add all source files to the group. Update #3899. Update #3993. --- cpukit/include/rtems/bspIo.h| 274 +--- cpukit/libc

Re: [PATCH rtems-libbsd 3/7] sys/kern: Add lockmgr support

2021-07-29 Thread Gedare Bloom
On Wed, Jul 28, 2021 at 5:58 PM Chris Johns wrote: > > On 29/7/21 9:42 am, Gedare Bloom wrote: > > On Wed, Jul 28, 2021 at 5:05 PM Chris Johns wrote: > >> On 29/7/21 12:03 am, Gedare Bloom wrote: > >>> On Tue, Jul 27, 2021 at 2:59 AM wrote: > From: Chris Johns > +static int > +lo

Re: [PATCH rtems-libbsd v2 2/5] usb_template: Configure template driver only for CDC Ethernet

2021-07-29 Thread Chris Johns
On 29/7/21 4:20 pm, Christian MAUDERER wrote: > Hello Chris, > > Am 29.07.21 um 02:07 schrieb Chris Johns: >> On 29/7/21 1:10 am, Ahamed Husni wrote: >>> >>> >>> On Wed, 28 Jul 2021, 17:27 Husni Faiz, >> > wrote: >>> >>> Add the conditional macro to prevent the

Re: [PATCH 4/4] score: Move per-CPU jobs support

2021-07-29 Thread Chris Johns
On 29/7/21 5:19 pm, Sebastian Huber wrote: > On 29/07/2021 02:44, Chris Johns wrote: >>> +void _Per_CPU_Add_job( Per_CPU_Control *cpu, Per_CPU_Job *job ) >>> +{ >>> +  ISR_lock_Context lock_context; >>> + >>> +  _Atomic_Store_ulong( &job->done, 0, ATOMIC_ORDER_RELAXED ); >>> +  _Assert( job->next =

Re: [PATCH 4/4] score: Move per-CPU jobs support

2021-07-29 Thread Sebastian Huber
On 29/07/2021 02:44, Chris Johns wrote: +void _Per_CPU_Add_job( Per_CPU_Control *cpu, Per_CPU_Job *job ) +{ + ISR_lock_Context lock_context; + + _Atomic_Store_ulong( &job->done, 0, ATOMIC_ORDER_RELAXED ); + _Assert( job->next == NULL ); Given the dispatch does not check the handler is adding