#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/mm.h>
#include <linux/reboot.h>
#include <linux/delay.h>
#include <linux/kallsyms.h>
#include <linux/kmsg_dump.h>
#include <linux/cpumask.h>
#include <linux/export.h>
#include <linux/sysrq.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/bug.h>
#include <asm/ptrace.h>
#include <asm/string.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/xmon.h>
#include <asm/processor.h>
#include <asm/pgtable.h>
#include <asm/mmu.h>
#include <asm/mmu_context.h>
#include <asm/cputable.h>
#include <asm/rtas.h>
#include <asm/sstep.h>
#include <asm/irq_regs.h>
#include <asm/spu.h>
#include <asm/spu_priv1.h>
#include <asm/setjmp.h>
#include <asm/reg.h>
#include <asm/debug.h>
#include "nonstdio.h"
#include "dis-asm.h"
Go to the source code of this file.
#define BP_NUM |
( |
|
bp | ) |
((bp) - bpts + 1) |
#define FCS |
( |
|
fcs, |
|
|
|
c |
|
) |
| (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) |
#define GETWORD |
( |
|
v | ) |
(((v)[0] << 24) + ((v)[1] << 16) + ((v)[2] << 8) + (v)[3]) |
Value:((
'0' <= (
c) && (
c) <=
'9') \
|| (
'a' <= (
c) && (
c) <=
'z') \
|| (
'A' <= (
c) && (
c) <=
'Z'))
Definition at line 185 of file xmon.c.
#define isspace |
( |
|
c | ) |
(c == ' ' || c == '\t' || c == 10 || c == 13 || c == 0) |
Value:((
'0' <= (
c) && (
c) <=
'9') \
|| (
'a' <= (
c) && (
c) <=
'f') \
|| (
'A' <= (
c) && (
c) <=
'F'))
Definition at line 2109 of file xmon.c.
Value:((
'0' <= (
c) && (
c) <=
'9') \
|| (
'a' <= (
c) && (
c) <=
'f') \
|| (
'A' <= (
c) && (
c) <=
'F'))
Definition at line 2109 of file xmon.c.
#define MAX_DUMP (128 * 1024) |
#define scanhex xmon_scanhex |
#define skipbl xmon_skipbl |
#define SURVEILLANCE_TOKEN 9000 |
#define SWAP |
( |
|
a, |
|
|
|
b, |
|
|
|
t |
|
) |
| ((t) = (a), (a) = (b), (b) = (t)) |
typedef int(* instruction_dump_func)(unsigned long inst, unsigned long addr) |
early_param |
( |
"xmon" |
, |
|
|
early_parse_xmon |
|
|
) |
| |
void print_address |
( |
unsigned long |
addr | ) |
|
int scanhex |
( |
unsigned long * |
valp | ) |
|