f78541dcec
The merged version follows the ppc64 version pretty closely mostly, and in fact ARCH=ppc64 now uses the arch/powerpc/xmon version. The main difference for ppc64 is that the 'p' command to call show_state (which was always pretty dodgy) has been replaced by the ppc32 'p' command, which calls a given procedure (so in fact the old 'p' command behaviour can be achieved with 'p $show_state'). Signed-off-by: Paul Mackerras <paulus@samba.org>
13 lines
207 B
C
13 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
|