xref: /original-bsd/sys/tahoe/tahoe/rpb.h (revision 6ae514e1)
1*6ae514e1Skarels /*
2*6ae514e1Skarels  * Copyright (c) 1988 Regents of the University of California.
3*6ae514e1Skarels  * All rights reserved.  The Berkeley software License Agreement
4*6ae514e1Skarels  * specifies the terms and conditions for redistribution.
5*6ae514e1Skarels  *
6*6ae514e1Skarels  *	@(#)rpb.h	7.1 (Berkeley) 05/21/88
7*6ae514e1Skarels  */
8fb26a9fdSsam 
9fb26a9fdSsam /*
10fb26a9fdSsam  * The restart parameter block, which is a page in (very) low
11fb26a9fdSsam  * core which runs after a crash.  Currently, the restart
12fb26a9fdSsam  * procedure takes a dump.
13fb26a9fdSsam  */
14fb26a9fdSsam struct rpb {
15fb26a9fdSsam 	struct	rpb *rp_selfref;	/* self-reference */
16fb26a9fdSsam 	int	(*rp_dumprout)();	/* routine to be called */
17fb26a9fdSsam 	long	rp_checksum;		/* checksum of 31 words of dumprout */
18fb26a9fdSsam 	long	rp_flag;		/* set to 1 when dumprout runs */
19fb26a9fdSsam /* the dump stack grows from the end of the rpb page not to reach here */
20fb26a9fdSsam };
21fb26a9fdSsam #ifdef KERNEL
22fb26a9fdSsam extern	struct rpb rpb;
23fb26a9fdSsam #endif
24