Re: Prototype for Init in confdefs.h

2014-10-10 Thread Chris Johns
On 10/10/2014 9:17 pm, Sebastian Huber wrote: Hello, what was the reason for this change? Maybe commit 2549b4d9a83d310e32329255a5a02604eb9e028b ? commit d8b74dbebd341073f0c5b03e589d3fcd349745d1 Author: Chris Johns Date: Tue Apr 28 06:39:24 2009 + 2009-04-28 Chris Johns

sis build failure with SMP enabled

2014-10-10 Thread Joel Sherrill
Hi Any thoughts on how to address this? gmake[6]: Entering directory `/home/joel/rtems-4.11-work/b-sis/sparc-rtems4.11/c/sis/testsuites/smptests/smpcache01' sparc-rtems4.11-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmiss

[PATCH 1/2] libcpu/or1k: Fix warnings.

2014-10-10 Thread Hesham ALMatary
--- c/src/lib/libcpu/or1k/shared/cache/cache.c | 16 c/src/lib/libcpu/or1k/shared/cache/cache_.h | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/c/src/lib/libcpu/or1k/shared/cache/cache.c b/c/src/lib/libcpu/or1k/shared/cache/cache.c index 039be36..afc8859

Re: [PATCH 1/2] libcpu/or1k: Fix warnings.

2014-10-10 Thread Joel Sherrill
On 10/10/2014 12:04 PM, Gedare Bloom wrote: > Just one note, I prefer to see addresses cast to uintptr_t. +1 Assuming sizeof(void *) == sizeof(uint32_t) can be a problem in the future. If the value is used more than once, it often makes sense to declare a local variable of the proper type. > On

Re: How to send a shutdown signal to QEMU from RTEMS?

2014-10-10 Thread Joel Sherrill
On 10/10/2014 11:56 AM, Hesham Moustafa wrote: > > > On Wed, Oct 8, 2014 at 4:20 PM, Joel Sherrill > mailto:joel.sherr...@oarcorp.com>> wrote: > > > On 10/8/2014 12:15 AM, Sebastian Huber wrote: > > On 07/10/14 15:53, Hesham Moustafa wrote: > >> Hi, > >> > >> I want to send shu

Re: [PATCH 1/2] libcpu/or1k: Fix warnings.

2014-10-10 Thread Gedare Bloom
Just one note, I prefer to see addresses cast to uintptr_t. On Fri, Oct 10, 2014 at 12:44 PM, Hesham ALMatary wrote: > --- > c/src/lib/libcpu/or1k/shared/cache/cache.c | 16 > c/src/lib/libcpu/or1k/shared/cache/cache_.h | 1 + > 2 files changed, 9 insertions(+), 8 deletions(-)

Re: How to send a shutdown signal to QEMU from RTEMS?

2014-10-10 Thread Hesham Moustafa
On Wed, Oct 8, 2014 at 4:20 PM, Joel Sherrill wrote: > > On 10/8/2014 12:15 AM, Sebastian Huber wrote: > > On 07/10/14 15:53, Hesham Moustafa wrote: > >> Hi, > >> > >> I want to send shutdown signal from RTEMS to qemu. Joel said that > >> qemu-system-i386 does so; can anyone refers me to how to i

[PATCH 2/2] libbsp/or1ksim: Fix warnings.

2014-10-10 Thread Hesham ALMatary
--- c/src/lib/libbsp/or1k/or1ksim/clock/clockdrv.c | 2 +- c/src/lib/libbsp/or1k/or1ksim/console/uart.c | 15 +++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/c/src/lib/libbsp/or1k/or1ksim/clock/clockdrv.c b/c/src/lib/libbsp/or1k/or1ksim/clock/clockdrv.c index ad

[PATCH 1/2] libcpu/or1k: Fix warnings.

2014-10-10 Thread Hesham ALMatary
--- c/src/lib/libcpu/or1k/shared/cache/cache.c | 16 c/src/lib/libcpu/or1k/shared/cache/cache_.h | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/c/src/lib/libcpu/or1k/shared/cache/cache.c b/c/src/lib/libcpu/or1k/shared/cache/cache.c index 039be36..d38b572

Re: [PATCH 2/8] Move Mongoose-V specific devices into BSP.

2014-10-10 Thread Joel Sherrill
On October 10, 2014 7:26:39 AM CDT, "Cudmore, Alan P. (GSFC-5820)" wrote: >If it helps, I have not heard of anyone using the Mongoose V in years. >If it's still around and being used in a new project, I'm not aware of >it . We have discussed cleaning out old bsps after 4.11. This would put the

smpfatal08 fails to build

2014-10-10 Thread Jennifer Averett
Smpfatal08 fails to build on the head with the following configuration: ../rtems/configure --target=sparc-rtems4.11 \ --enable-maintainer-mode --enable-rtemsbsp=leon3 --disable-networking \ --enable-tests --enable-rtems-debug --enable-smp CFLAGS_FOR_BUILD="-O0"\ --prefix=${HOME}/smp/bsp-inst

Re: [PATCH 2/8] Move Mongoose-V specific devices into BSP.

2014-10-10 Thread Cudmore, Alan P. (GSFC-5820)
If it helps, I have not heard of anyone using the Mongoose V in years. If it's still around and being used in a new project, I'm not aware of it . Alan On 10/9/14 3:50 PM, "Joel Sherrill" wrote: > >On 10/9/2014 2:47 PM, Gedare Bloom wrote: >> I didn't read this, but you should consider doing s

Prototype for Init in confdefs.h

2014-10-10 Thread Sebastian Huber
Hello, what was the reason for this change? commit d8b74dbebd341073f0c5b03e589d3fcd349745d1 Author: Chris Johns Date: Tue Apr 28 06:39:24 2009 + 2009-04-28 Chris Johns * sapi/include/confdefs.h: Add a prototype for Init with C linkage and define Init ta

[PATCH] score: Rework global construction

2014-10-10 Thread Sebastian Huber
Ensure that the global construction is performed in the context of the first initialization thread. On SMP this was not guaranteed in the previous implementation. --- cpukit/posix/src/pthreadinitthreads.c | 17 +++- cpukit/rtems/src/taskinitusers.c | 13 ++- cpukit/