struct core32 is now in MI headers.

This commit is contained in:
eeh 1999-12-30 16:22:12 +00:00
parent 2c1410f883
commit 0e853e8d4a

@ -1,4 +1,4 @@
/* $NetBSD: pcb.h,v 1.3 1999/11/06 20:13:50 eeh Exp $ */
/* $NetBSD: pcb.h,v 1.4 1999/12/30 16:22:12 eeh Exp $ */
/*
* Copyright (c) 1992, 1993
@ -160,37 +160,6 @@ struct md_coredump {
struct fpstate64 md_fpstate;
};
/*
* A core file consists of a header followed by a number of segments.
* Each segment is preceeded by a `coreseg' structure giving the
* segment's type, the virtual address where the bits resided in
* process address space and the size of the segment.
*
* The core header specifies the lengths of the core header itself and
* each of the following core segment headers to allow for any machine
* dependent alignment requirements.
*/
struct core32 {
u_int32_t c_midmag; /* magic, id, flags */
u_int16_t c_hdrsize; /* Size of this header (machdep algn) */
u_int16_t c_seghdrsize; /* Size of a segment header */
u_int32_t c_nseg; /* # of core segments */
char c_name[MAXCOMLEN+1]; /* Copy of p->p_comm */
u_int32_t c_signo; /* Killing signal */
u_int c_ucode; /* Hmm ? */
u_int c_cpusize; /* Size of machine dependent segment */
u_int c_tsize; /* Size of traditional text segment */
u_int c_dsize; /* Size of traditional data segment */
u_int c_ssize; /* Size of traditional stack segment */
};
struct coreseg32 {
u_int32_t c_midmag; /* magic, id, flags */
u_int c_addr; /* Virtual address of segment */
u_int c_size; /* Size of this segment */
};
#ifdef _KERNEL
extern struct pcb *cpcb;
#else