[PATCH] KDB for ppc64 - write to OF stdout instead of console
Ananth N Mavinakayanahalli
ananth at in.ibm.com
Wed May 19 23:57:00 EST 2004
On Wed, May 19, 2004 at 02:49:10PM +0200, Segher Boessenkool wrote:
Hi Segher,
> >Patch inlined removes KDB's dependency on consoles completely for I/O.
> >With this patch, we use the OF stdout for both input and output.
>
> OF stdout is not necessarily the same thing as OF stdin
> (and, in fact, very often isn't) -- please use stdin for
> input?
Well, my mistake in stating OF stdout. Rather -
- KDB used console->write() rather than udbg_write() to print data.
The patch changes _just_ that (makes it similar to xmon).
- Reading in data has always been through ppc_md.udbg_getc_poll()
which should take care of the stdin problem. (Pls correct me if
I am wrong! :))
Thanks,
Ananth
--
Ananth Narayan
Linux Technology Center,
IBM Software Lab, INDIA
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list