[PATCH] LEON3: fix console close handling

2014-06-26 Thread Daniel Hellstrom
On SMP rtems_interrupt_lock_context must be used. Most tests fail with a NULL pointer exception when exiting, except on NGMP where main memory is at 0x. --- c/src/lib/libbsp/sparc/leon3/console/console.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

How to add -std=gnu++11 to CXXFLAGS?

2014-06-26 Thread Sebastian Huber
Hello, for SMP support we need atomic operations. We use the ones provided by the C11 and C++11 standards. For this it is necessary to use -std=gnu++11 as a GCC option since otherwise an include of atomic yields to compile time errors. Does anyone know how to add this option to the CXXFLAGS

[PATCH] score: Workaround for GCC 4.9 for atomic ops

2014-06-26 Thread Sebastian Huber
The GCC 4.9 ships its own stdatomic.h which is not C++ compatible. The suggested solution was to include atomic in case C++ is used. This works at least with GCC 4.9. See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60940 ---

Re: Rtems-test with qemu integration for pc386

2014-06-26 Thread Krzysztof Mięsowicz
I checked this behaviour more, and it seems that when I run test through rtems-test command and it invokes this qemu-system-i386 command through execute module, it waits after test completion for key press. When I'm starting qemu-system-i386... simply from command line or through shell script,

Re: Rtems-test with qemu integration for pc386

2014-06-26 Thread Gedare Bloom
On Thu, Jun 26, 2014 at 5:26 PM, Chris Johns chr...@rtems.org wrote: On 27/06/2014 4:09 am, Joel Sherrill wrote: See pc386/configure.ac for this RTEMS_BSP_CLEANUP_OPTIONS(1, 1) dnlargument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET dnlargument 2 indicates the