search for: serial_put

Displaying 6 results from an estimated 6 matches for "serial_put".

Did you mean: serial_puts
2013 Jul 12
2
[PATCH 001/001] core/serial: Add support for serial output functions.
This patch adds support for serial output functions. It may be useful for debugging purposes since you can separate ordinary outputs from debugging dumps. Just add "serial.h", and use either serial_print or serial_puts as you would use printf and puts respectivelly. For QEMU, you only need to specify the option -serial stdio. If you use another VM, find how you can redirect the serial port to stdio. Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> --- core/include/serial.h | 66 +++++++++...
2013 Jul 12
0
[PATCH 001/001] core/serial: Add support for serial output functions.
...t for serial output functions. Second version fixes an initialization issue. ----- This patch adds support for serial output functions. It may be useful for debugging purposes since you can separate ordinary outputs from debugging dumps. Just add "serial.h", and use either serial_print or serial_puts as you would use printf and puts respectivelly. For QEMU, you only need to specify the option -serial stdio. If you use another VM, find how you can redirect the serial port to stdio. Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> --- core/include/serial.h | 66 +++++++++...
2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...y: Matt Wilson <msw@amazon.com> diff -r bd953fda6106 -r 20f6976e28a1 xen/drivers/char/console.c --- a/xen/drivers/char/console.c Fri Sep 28 10:59:41 2012 +0200 +++ b/xen/drivers/char/console.c Sat Sep 29 05:00:05 2012 +0000 @@ -264,6 +264,49 @@ static void sercon_puts(const char *s) serial_puts(sercon_handle, s); } +static void dump_console_ring_key(unsigned char key) +{ + uint32_t idx, len, sofar, c; + unsigned int order; + char *buf; + + printk("''%c'' pressed -> dumping console ring buffer (dmesg)\n", key); + + /* create a buffer in which...
2013 Jul 12
0
[PATCH 001/001] core/serial: Add support for serial output functions.
On 07/11/2013 10:16 PM, Raphael S.Carvalho wrote: > This patch adds support for serial output functions. > It may be useful for debugging purposes since you can separate ordinary outputs from debugging dumps. > Just add "serial.h", and use either serial_print or serial_puts as you would use printf and puts respectivelly. > > For QEMU, you only need to specify the option -serial stdio. > If you use another VM, find how you can redirect the serial port to stdio. > Hi, How does this differ from dprintf()? -hpa
2013 Jul 12
1
[PATCH 001/001] core/serial: Add support for serial output functions.
...> On 07/11/2013 10:16 PM, Raphael S.Carvalho wrote: >> This patch adds support for serial output functions. >> It may be useful for debugging purposes since you can separate ordinary outputs from debugging dumps. >> Just add "serial.h", and use either serial_print or serial_puts as you would use printf and puts respectivelly. >> >> For QEMU, you only need to specify the option -serial stdio. >> If you use another VM, find how you can redirect the serial port to stdio. >> > > Hi, > > How does this differ from dprintf()? > >...
2012 May 24
0
[PATCH RFC 2/9] console: prepare for non-COMn port support
...port->driver->putc( port, port->txbuf[mask_serial_txbuf_idx(port->txbufc++)]); } + if ( i && port->driver->flush ) + port->driver->flush(port); } spin_unlock(&port->tx_lock); @@ -175,6 +179,9 @@ void serial_putc(int handle, char c) __serial_putc(port, c); + if ( port->driver->flush ) + port->driver->flush(port); + spin_unlock_irqrestore(&port->tx_lock, flags); } @@ -206,6 +213,9 @@ void serial_puts(int handle, const char __serial_putc(port, c);...