• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #undef __WORDSIZE
2 #define __WORDSIZE 32
3 
4 struct user_m68kfp_struct {
5 	unsigned long fpregs[24], fpcntl[3];
6 };
7 
8 struct user_regs_struct {
9 	long d1, d2, d3, d4, d5, d6, d7;
10 	long a0, a1, a2, a3, a4, a5, a6;
11 	long d0, usp, orig_d0;
12 	short stkadj, sr;
13 	long pc;
14 	short fmtvec, __pad;
15 };
16 
17 struct user {
18 	struct user_regs_struct regs;
19 	int u_fpvalid;
20 	struct user_m68kfp_struct m68kfp;
21 	unsigned long u_tsize, u_dsize, u_ssize, start_code, start_stack;
22 	long signal;
23 	int reserved;
24 	unsigned long u_ar0;
25 	struct user_m68kfp_struct *u_fpstate;
26 	unsigned long magic;
27 	char u_comm[32];
28 };
29 
30 #define ELF_NGREG 20
31 typedef unsigned long elf_greg_t;
32 typedef elf_greg_t elf_gregset_t[ELF_NGREG];
33 typedef struct user_m68kfp_struct elf_fpregset_t;
34 
35 #define NBPG			4096
36 #define UPAGES			1
37 #define HOST_TEXT_START_ADDR	(u.start_code)
38 #define HOST_STACK_END_ADDR	(u.start_stack + u.u_ssize * NBPG)
39