[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 ++-

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\

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) alan.p.cudm...@nasa.gov 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.

[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

[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

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 heshamelmat...@gmail.com 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

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

[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

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

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 chr...@rtems.org Date: Tue Apr 28 06:39:24 2009 + 2009-04-28