user.h 638 字节
Newer Older
1
struct user_fpregs {
R
Rich Felker 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
	struct fp_reg {
		unsigned sign1:1;
		unsigned unused:15;
		unsigned sign2:1;
		unsigned exponent:14;
		unsigned j:1;
		unsigned mantissa1:31;
		unsigned mantissa0:32;
	} fpregs[8];
	unsigned fpsr:32;
	unsigned fpcr:32;
	unsigned char ftype[8];
	unsigned int init_flag;
};

17
struct user_regs {
R
Rich Felker 已提交
18 19 20
	unsigned long uregs[18];
};

21 22 23 24 25 26 27 28 29 30 31 32
struct user {
	struct user_regs regs;
	int u_fpvalid;
	unsigned long u_tsize, u_dsize, u_ssize;
	unsigned long start_code, start_stack;
	long signal;
	struct user_regs *u_ar0;
	unsigned long magic;
	char u_comm[32];
	int u_debugreg[8];
	struct user_fpregs u_fp;
	struct user_fpregs *u_fp0;
R
Rich Felker 已提交
33
};