linux/arch/powerpc/xmon
Michael Ellerman b2bb65f680 powerpc/xmon: Fallback to printk() in xmon_printf() if udbg is not setup
It is possible to configure a kernel which has xmon enabled, but has no
udbg backend to provide IO. This can make xmon rather confusing, as it
produces no output, blocks for two seconds, and then returns.

As a last resort we can instead try to printk(), which may deadlock or
otherwise crash, but tries quite hard not to.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-11-15 13:00:02 +11:00
..
ansidecl.h
dis-asm.h
Makefile powerpc/xmon: Merge start.c into nonstdio.c 2012-11-15 12:59:46 +11:00
nonstdio.c powerpc/xmon: Fallback to printk() in xmon_printf() if udbg is not setup 2012-11-15 13:00:02 +11:00
nonstdio.h powerpc/xmon: Merge start.c into nonstdio.c 2012-11-15 12:59:46 +11:00
ppc-dis.c
ppc-opc.c bug.h: add include of it to various implicit C users 2012-02-29 17:15:08 -05:00
ppc.h
spu-dis.c
spu-insns.h
spu-opc.c bug.h: add include of it to various implicit C users 2012-02-29 17:15:08 -05:00
spu.h
xmon.c powerpc/xmon: Fiddle xmon_depth_to_print logic in xmon_show_stack() 2012-11-15 12:59:59 +11:00