Blackfin: add an early shadow console
authorRobin Getz <robin.getz@analog.com>
Mon, 6 Jul 2009 14:53:19 +0000 (14:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:43 +0000 (21:31 -0400)
commit3f871feaf3390c6d6e578818f867917c2e4738a2
tree3b7ebc72793903361bb4b108bd829b21ede3fc01
parent53e18df745b6f833df07ead62ded09ebae3b0303
Blackfin: add an early shadow console

Add a memory based shadow console to keep a copy of the printk buffer in a
location which can be found externally.  This allows bootloaders to locate
and utilize the log buffer in case of silent (early/resume/etc...) crashes.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/early_printk.h
arch/blackfin/kernel/Makefile
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/shadow_console.c [new file with mode: 0644]