xref: /original-bsd/sys/sys/reboot.h (revision 3aaceb89)
1 /*	reboot.h	4.2	81/02/19	*/
2 
3 /*
4  * Arguments to reboot system call.
5  * These are passed to boot program in r11,
6  * and on to init.
7  */
8 #define	RB_AUTOBOOT	0	/* flags for system auto-booting itself */
9 
10 #define	RB_ASKNAME	1	/* ask for file name to reboot from */
11 #define	RB_SINGLE	2	/* reboot to single user only */
12 #define	RB_NOSYNC	4	/* dont sync before reboot */
13 #define	RB_HALT		8	/* don't reboot, just halt */
14 
15 #define	RB_PANIC	0	/* reboot due to panic */
16 #define	RB_BOOT		1	/* reboot due to boot() */
17