#242 closed enhancement (fixed)

printf/printk conflict when both to serial line

Reported by: Eric Norum Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: bsps Version: unknown
Severity: minor Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

I'm using a PC-104 card with no video output. I found that things would lock up if a printk was followed closely by a printf when BSPConsolePort = BSP_UART_COM2 and BSPPrintkPort = BSP_UART_COM1. I propose the following change to c/src/lib/libbsp/i386/shared/comm/uart.c. With this change in place, printf/printk calls can be intermingled with no apparent problems.

Release:
CVS

Attachments (1)

uart.patch (896 bytes) - added by Eric Norum on Dec 3, 2006 at 1:31:12 PM.
uart.patch

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Jul 16, 2002 at 9:30:31 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: patch applied. Thank you.

Changed on Dec 3, 2006 at 1:31:12 PM by Eric Norum

Attachment: uart.patch added

uart.patch

Note: See TracTickets for help on using tickets.