[SeaBIOS] [PATCH] Introduce config option to select which IO port to send debug output on

Kevin O'Connor kevin at koconnor.net
Wed Feb 1 05:00:31 CET 2012


On Mon, Jan 30, 2012 at 05:23:19PM +0000, julian.pidancet at gmail.com wrote:
> --- a/src/output.c
> +++ b/src/output.c
> @@ -75,9 +75,9 @@ putc_debug(struct putcinfo *action, char c)
>  {
>      if (! CONFIG_DEBUG_LEVEL)
>          return;
> -    if (! CONFIG_COREBOOT)
> +    if (! CONFIG_DEBUG_IO)

Inverted test?

-Kevin

>          // Send character to debug port.
> -        outb(c, PORT_BIOS_DEBUG);
> +        outb(c, CONFIG_DEBUG_IO_PORT);
>      if (c == '\n')
>          debug_serial('\r');
>      debug_serial(c);



More information about the SeaBIOS mailing list