1 /* $Id: user.h,v 1.5 1998/02/23 01:49:22 rth Exp $
2 * asm-sparc/user.h: Core file definitions for the Sparc.
4 * Keep in sync with reg.h. Actually, we could get rid of this
5 * one, since we won't a.out core dump that much anyways - miguel.
6 * Copyright (C) 1995 (davem@caip.rutgers.edu)
11 #include <asm/a.out.h>
13 unsigned long psr, pc, npc, y;
14 unsigned long regs[15];
17 struct sunos_fpqueue {
24 unsigned long regs[32];
30 unsigned long fpq_count;
31 struct sunos_fpqueue fpq[16];
35 struct sunos_fp fpstatus;
38 /* The SunOS core file header layout. */
42 struct sunos_regs regs;
45 size_t u_tsize; /* all of these in bytes! */
50 unsigned long sigcode; /* Special sigcontext subcode, if any */
55 #define HOST_TEXT_START_ADDR (u.start_code)
56 #define HOST_DATA_START_ADDR (u.uexec.a_data)
57 #define HOST_STACK_END_ADDR (- u.u_ssize * NBPG)
58 #define SUNOS_CORE_MAGIC 0x080456
60 #endif /* !(_SPARC_USER_H) */