[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RTEMS pty driver
- Date: Tue, 15 Jan 2002 19:16:33 -0800
- From: strauman at SLAC.Stanford.EDU (Till Straumann)
- Subject: RTEMS pty driver
I had a problem with my application because
the stdout stream had its error flag (__SERR)
set on entry to my Initialization task.
I tracked it down and found that your pty
( $Id: pty.c,v 1.1 2001/08/09 22:06:51 joel Exp $ )
#define printk printf
However, pty_initialize() (which calls printk) ends
up calling printf() at driver initialization time when it
is not yet safe to use stdio (at least on some BSPs).
Shouldn't the driver use the true printk() ?