Re: [DOC] Debugging early kernel hangs

From: James Sutherland (jas88@cam.ac.uk)
Date: Mon Sep 25 2000 - 02:26:46 EST


On Mon, 25 Sep 2000, Russell King wrote:

> James Sutherland writes:
> > On Sat, 23 Sep 2000, Russell King wrote:
> > > And I'll try to make the point a second time that everything does not have
> > > a character-based screen to write to.
> >
> > So what? For platforms which have a nice easy way to stick ASCII on
> > screen, use this. For other platforms, find some other approach - if you
> > have a nice easy serial port handy, try feeding the characters there.
>
> So what? It shouldn't be called "VIDEO_CHAR" then - calling it that
> describes ONE implementation only, not what it is actually doing.
> Something more like DEBUGCH(char) or whatever is a better choice because
> it describes what the intention of it is, rather than the implementation.

Yes, a better name could be found; I'd go for DUMP_CHAR() myself, I think.
The basic concept is great, it just needs a new name...

James.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:13 EST