patch-2.3.50 linux/include/asm-sh/user.h
Next file: linux/include/asm-sparc/pgtable.h
Previous file: linux/include/asm-sh/unistd.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Sun Mar 5 09:33:55 2000
- Orig file:
v2.3.49/linux/include/asm-sh/user.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.49/linux/include/asm-sh/user.h linux/include/asm-sh/user.h
@@ -2,6 +2,7 @@
#define __ASM_SH_USER_H
#include <linux/types.h>
+#include <asm/processor.h>
#include <asm/ptrace.h>
#include <asm/page.h>
@@ -27,8 +28,18 @@
* current->start_stack, so we round each of these in order to be able
* to write an integer number of pages.
*/
+
+struct user_fpu_struct {
+ unsigned long fp_regs[NUM_FPU_REGS];
+ unsigned long xf_regs[NUM_FPU_REGS];
+ unsigned long fpscr;
+ unsigned long fpul;
+};
+
struct user {
struct pt_regs regs; /* entire machine state */
+ struct user_fpu_struct fpu; /* Math Co-processor registers. */
+ int u_fpvalid; /* True if math co-processor being used. */
size_t u_tsize; /* text size (pages) */
size_t u_dsize; /* data size (pages) */
size_t u_ssize; /* stack size (pages) */
@@ -37,6 +48,7 @@
unsigned long start_stack; /* stack starting address */
long int signal; /* signal causing core dump */
struct regs * u_ar0; /* help gdb find registers */
+ struct user_fpu_struct* u_fpstate; /* Math Co-processor pointer. */
unsigned long magic; /* identifies a core file */
char u_comm[32]; /* user command name */
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)