Add a kernel log buffer
authorRonald G. Minnich <rminnich@google.com>
Mon, 13 Jan 2014 21:56:47 +0000 (13:56 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 23:49:35 +0000 (15:49 -0800)
commitc4c2b9019ea5779305adca329c32ace7c02bd9e7
tree6b7a538821538afa4d4a094c2fcd8562dbf09fca
parentc44f975b64dd15716a0af96456544805d47122fb
Add a kernel log buffer

This is handy when your laptop keeps overrunning your screen.

cat '#c/kmesg' > '#r/xyz' to put it somewhere.

If you just cat it, it never ends. Sorry. I tried.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/arch/x86/console.c
kern/drivers/dev/cons.c