search for: serial_print

Displaying 4 results from an estimated 4 matches for "serial_print".

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 |...
2013 Jul 12
0
[PATCH 001/001] core/serial: Add support for serial output functions.
...rial: Add support 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 |...
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.
...r.com> wrote: > 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()? &gt...