shithub: riscv

ref: ad26b06c8f2bd574d39d74a3fc47cfadbd0bfca0
dir: /amd64/include/ureg.h/

View raw version
struct Ureg {
	u64int	ax;
	u64int	bx;
	u64int	cx;
	u64int	dx;
	u64int	si;
	u64int	di;
	u64int	bp;
	u64int	r8;
	u64int	r9;
	u64int	r10;
	u64int	r11;
	u64int	r12;
	u64int	r13;
	u64int	r14;
	u64int	r15;

	u16int	ds;
	u16int	es;
	u16int	fs;
	u16int	gs;

	u64int	type;
	u64int	error;				/* error code (or zero) */
	u64int	pc;				/* pc */
	u64int	cs;				/* old context */
	u64int	flags;				/* old flags */
	u64int	sp;				/* sp */
	u64int	ss;				/* old stack segment */
};