fca5dcd483
This factors out the common bits of arch/powerpc/xmon/start_*.c into a new nonstdio.c, and removes some stuff that was supposed to make xmon's I/O routines somewhat stdio-like but was never used. It also makes the parsing of the xmon= command line option common, so that ppc32 can now use xmon={off,on,early} also. Signed-off-by: Paul Mackerras <paulus@samba.org>
12 lines
207 B
C
12 lines
207 B
C
#ifndef __PPC_XMON_H
|
|
#define __PPC_XMON_H
|
|
#ifdef __KERNEL__
|
|
|
|
struct pt_regs;
|
|
|
|
extern int xmon(struct pt_regs *excp);
|
|
extern void xmon_printf(const char *fmt, ...);
|
|
extern void xmon_init(int);
|
|
|
|
#endif
|
|
#endif
|