xref: /original-bsd/sys/pmax/include/pcb.h (revision 3705696b)
1 /*
2  * Copyright (c) 1988 University of Utah.
3  * Copyright (c) 1992, 1993
4  *	The Regents of the University of California.  All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * the Systems Programming Group of the University of Utah Computer
8  * Science Department and Ralph Campbell.
9  *
10  * %sccs.include.redist.c%
11  *
12  * from: Utah $Hdr: pcb.h 1.13 89/04/23$
13  *
14  *	@(#)pcb.h	8.1 (Berkeley) 06/10/93
15  */
16 
17 /*
18  * PMAX process control block
19  */
20 struct pcb
21 {
22 	int	pcb_regs[69];	/* saved CPU and floating point registers */
23 	label_t	pcb_context;	/* kernel context for resume */
24 	int	pcb_onfault;	/* for copyin/copyout faults */
25 	void	*pcb_segtab;	/* copy of pmap pm_segtab */
26 };
27 
28 /*
29  * The pcb is augmented with machine-dependent additional data for
30  * core dumps. For the PMAX, there is nothing to add.
31  */
32 struct md_coredump {
33 	long	md_pad[8];
34 };
35