From 2469c867a164210ce96143517059f21db7f1fd17 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Wed, 25 May 1994 09:21:21 +0000 Subject: The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman --- sys/amd64/include/reg.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'sys/amd64/include/reg.h') diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h index d20f8d0..2a1f061 100644 --- a/sys/amd64/include/reg.h +++ b/sys/amd64/include/reg.h @@ -74,23 +74,33 @@ * use whichver order, defined above, is correct, so that it * is all invisible to the user. */ -struct regs { +struct reg { unsigned int r_es; unsigned int r_ds; unsigned int r_edi; unsigned int r_esi; unsigned int r_ebp; + unsigned int r_isp; unsigned int r_ebx; unsigned int r_edx; unsigned int r_ecx; unsigned int r_eax; + unsigned int r_trapno; + unsigned int r_err; unsigned int r_eip; unsigned int r_cs; unsigned int r_eflags; unsigned int r_esp; unsigned int r_ss; - unsigned int r_fs; - unsigned int r_gs; +}; + +/* + * Register set accessible via /proc/$pid/fpreg + */ +struct fpreg { +#if 0 + int fpr_xxx; /* not implemented */ +#endif }; #endif /* _MACHINE_REG_H_ */ -- cgit v1.1