blob: 4dcae3bb1fce591839333eabda9416b9980faf96 [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