blob: ac11a1df689a035297307d0b73f8ebf635f42743 [file] [log] [blame]
Dmitry V. Levin5503dd22015-02-13 02:12:14 +00001extern struct pt_regs sparc_regs;
2/* Indexes into the pt_regs.u_reg[] array -- UREG_XX from kernel are all off
3 * by 1 and use Ix instead of Ox. These work for both 32 and 64 bit Linux. */
4#define U_REG_G1 0
5#define U_REG_O0 7
6#define U_REG_O1 8
Dmitry V. Levindb199362015-03-04 17:52:42 +00007#define U_REG_FP 13