shithub: riscv

ref: d57aad453176b4de9e46cc543777f642efdacf30
dir: /sparc64/include/ureg.h/

View raw version

/*
 * sparc64 registers.
 * Currently just 32-bit registers (also somewhat compatible with
 * the sparc32 ureg).
 */
struct Ureg
{
	ulong	r0;			/* unnecessary; just for symmetry */
	union{
		ulong	sp;		/* r1 */
		ulong	usp;		/* r1 */
		ulong	r1;
	};
	ulong	r2;
	ulong	r3;
	ulong	r4;
	ulong	r5;
	ulong	r6;
	ulong	r7;
	ulong	r8;
	ulong	r9;
	ulong	r10;
	ulong	r11;
	ulong	r12;
	ulong	r13;
	ulong	r14;
	ulong	r15;
	ulong	r16;
	ulong	r17;
	ulong	r18;
	ulong	r19;
	ulong	r20;
	ulong	r21;
	ulong	r22;
	ulong	r23;
	ulong	r24;
	ulong	r25;
	ulong	r26;
	ulong	r27;
	ulong	r28;
	ulong	r29;
	ulong	r30;
	ulong	r31;
	ulong	y;
	ulong	tt;
	ulong	pstate;
	ulong	npc;
	ulong	pc;
	ulong	pad;	/* so structure is double word aligned */
};