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

2014-10-07 Thread Sebastian Huber
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 implement that for qemu-system-or32 (openrisc)? This is target dependent. Some targets implement the registers of the reset

Re: HEAD fails on building pc386 BSP.

2014-10-07 Thread Sebastian Huber
On 07/10/14 23:00, Karel Gardas wrote: Hello, I'm trying to build HEAD with latest toolchain available from ftp's SOURCES directory (RSB is not working yet for me) on Solaris 11 and while I configured pc386 BSP with: ~/vcs/rtems/configure --target=i386-rtems4.11 --prefix=/export/home/karel/sfw

HEAD fails on building pc386 BSP.

2014-10-07 Thread Karel Gardas
Hello, I'm trying to build HEAD with latest toolchain available from ftp's SOURCES directory (RSB is not working yet for me) on Solaris 11 and while I configured pc386 BSP with: ~/vcs/rtems/configure --target=i386-rtems4.11 --prefix=/export/home/karel/sfw/rtems-4.11-2014-10-07/bsps/pc386-qe

ISR Disable/Enable on Moxie

2014-10-07 Thread Joel Sherrill
Hi In reviewing the warnings in the build logs, I realized that the Moxies port does not implement _ISR_Disable or _ISR_Enable. Anthony, could you provide the little bit of code needed for this? It appears to just be writing a 1 to special register 1 but you know better than anyone. :) Thanks.

[PATCH 2/2] capture: Begin splitting global and percpu information

2014-10-07 Thread Jennifer Averett
This patch is not to be committed but is for discussion purposes. Adding percpu instances will be implemented prior to committing. --- cpukit/libmisc/capture/capture.c | 243 +++ cpukit/libmisc/capture/captureimpl.h | 19 ++- 2 files changed, 171 insertions(+),

[PATCH 1/2] capture: Move logging of task record to occur after filter check.

2014-10-07 Thread Jennifer Averett
--- cpukit/libmisc/capture/capture.c| 39 +-- cpukit/libmisc/capture/capture.h| 24 +++- cpukit/libmisc/capture/capture_user_extension.c | 51 + 3 files changed, 78 insertions(+), 36 deletions(-) diff --git a/cpukit/l

[PATCH 3/7] bsps: Add Termios console driver initialization

2014-10-07 Thread Sebastian Huber
Add a simple Termios console driver using a table for statically registered devices used in console_initialize() and dynamic installation via console_device_install(). --- c/src/lib/libbsp/Makefile.am | 1 + c/src/lib/libbsp/preinstall.am| 4 + c/src/li

[PATCH 4/7] libchip/serial: Add alternative NS16550 driver

2014-10-07 Thread Sebastian Huber
Use the Termios device API. --- c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am | 7 +- .../arm/altera-cyclone-v/console/console-config.c | 159 +++-- c/src/lib/libbsp/arm/lpc176x/Makefile.am | 7 +- .../libbsp/arm/lpc176x/console/console-config.c| 168 +++-- c/src/lib/libbsp

[PATCH 7/7] ppp: Nothing to transmit hint for Termios driver

2014-10-07 Thread Sebastian Huber
--- cpukit/libnetworking/net/ppp_tty.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cpukit/libnetworking/net/ppp_tty.c b/cpukit/libnetworking/net/ppp_tty.c index 85a336c..1051048 100644 --- a/cpukit/libnetworking/net/ppp_tty.c +++ b/cpukit/libnetworking/net/ppp_

[PATCH 6/7] libchip/serial: Task driven mode for NS16550

2014-10-07 Thread Sebastian Huber
--- c/src/libchip/serial/ns16550-context.c | 130 ++--- c/src/libchip/serial/ns16550.h | 2 + 2 files changed, 120 insertions(+), 12 deletions(-) diff --git a/c/src/libchip/serial/ns16550-context.c b/c/src/libchip/serial/ns16550-context.c index 0b5d1b05..00a

[PATCH 2/7] termios: Partially hide rtems_termios_tty

2014-10-07 Thread Sebastian Huber
Move interrupt lock to device context and expose only this structure to the read, write and set attributes device handler. This makes these device handler independent of the general Termios infrastructure suitable for direct use in printk() support. --- c/src/lib/libbsp/arm/tms570/console/tms570-

[PATCH 1/7] termios: Separate flow control from normal handler

2014-10-07 Thread Sebastian Huber
--- c/src/lib/libbsp/arm/tms570/console/tms570-sci.c | 5 +-- c/src/lib/libbsp/sparc/leon3/console/console.c | 2 + cpukit/libcsupport/include/rtems/termiostypes.h | 35 - cpukit/libcsupport/src/termios.c | 23 +++ doc/bsp_howto/console.t

[PATCH 5/7] libchip/serial: Fix NS16550 for pppstart()

2014-10-07 Thread Sebastian Huber
Call rtems_termios_dequeue_characters() only in case all characters of the last write handler invocation have been transmitted. This avoids problems with pppstart() since the start line discipline does not know how many characters have been dequeued and assumes the maximum. --- c/src/libchip/seri

Re: [PATCH 2/3] LEON3 SMP: support static interrupt affinity

2014-10-07 Thread Daniel Hellstrom
On 10/07/2014 03:51 PM, Gedare Bloom wrote: On Tue, Oct 7, 2014 at 5:10 AM, Daniel Hellstrom wrote: --- c/src/lib/libbsp/sparc/leon3/include/bsp.h | 11 +++ c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 38 2 files changed, 43 insertions(+), 6 deletio

How to send a shutdown signal to QEMU from RTEMS?

2014-10-07 Thread Hesham Moustafa
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 implement that for qemu-system-or32 (openrisc)? Regards, Hesham ___ devel mailing list devel@rtems.org http://lists.rtems.org/

[PATCH] LEON3: use interrupt layer in clock driver

2014-10-07 Thread Daniel Hellstrom
Manupilating the interrupt control registers directly instead of going through the interrupt layer can be deceiving. --- c/src/lib/libbsp/shared/include/fatal.h |1 + c/src/lib/libbsp/sparc/leon3/clock/ckinit.c | 23 --- 2 files changed, 21 insertions(+), 3 deletions(

[PATCH 1/3] SPARC BSPs: added CPU aware interrupt ctrl operations

2014-10-07 Thread Daniel Hellstrom
The LEON2 and ERC32 maps the new macros to CPU0 since they do not support SMP. With the LEON3 a specific CPU's interrupt controller registers can be modified using macros. --- c/src/lib/libbsp/sparc/erc32/include/erc32.h | 14 ++- c/src/lib/libbsp/sparc/leon2/include/leon.h | 12 ++ c

[PATCH 2/3] LEON3 SMP: support static interrupt affinity

2014-10-07 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/leon3/include/bsp.h | 11 +++ c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 38 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.

[PATCH 3/3] SPARC BSPs: irq-shared.c code style clean-up

2014-10-07 Thread Daniel Hellstrom
--- c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 54 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c b/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c index af1ce44..757208e 100644 --- a/c/src/lib/libbsp