[RFC] Debugging with a HW probe.
Jimi Xenidis
jimix at watson.ibm.com
Mon Aug 14 05:10:00 EST 2006
On Aug 7, 2006, at 7:06 PM, Olof Johansson wrote:
> > --- a/include/asm-powerpc/xmon.h
> > +++ b/include/asm-powerpc/xmon.h
> > @@ -8,5 +8,12 @@ extern int xmon(struct pt_regs *excp);
> > extern void xmon_printf(const char *fmt, ...);
> > extern void xmon_init(int);
> >
> > +/*
> > + * Support Processor Attention Instruction introduced in POWER
> > + * architecture processors as of RS64, tho may not be supported by
> > + * POWER 3.
> > + */
> > +#define ATTN() asm volatile(".long 0x00000200; nop")
>
> At least my toolchain understands "attn ; nop"?
looks like it was added in 2003:
2003-06-10 Gary Hade <garyhade at us.ibm.com>
Alan Modra <amodra at bigpond.net.au>
* ppc-opc.c (DQ, RAQ, RSQ, RTQ): Define.
(insert_dq, extract_dq, insert_raq, insert_rtq, insert_rsq): New.
(powerpc_opcodes): Add "attn", "lq" and "stq".
am happy to put in symbolically.
More information about the Linuxppc-dev
mailing list