2 * linux/arch/blackfin/mcount.S
4 * Copyright (C) 2006 Analog Devices Inc.
6 * 2007/04/12 Save index, length, modify and base registers. --rpm
9 #include <linux/linkage.h>
10 #include <asm/blackfin.h>
14 .align 4 /* just in case */
33 [--sp] = ( r7:0, p5:0 );
36 p1.L = _ipipe_trace_enable;
37 p1.H = _ipipe_trace_enable;
43 [sp + 0xc] = r0; /* v */
44 r0 = 0x0; /* type: IPIPE_TRACE_FN */
46 p0 = [fp]; /* p0: Prior FP */
47 r2 = [p0 + 4]; /* r2: Prior RETS */
52 ( r7:0, p5:0 ) = [sp++];