xref: /original-bsd/sys/sys/reboot.h (revision c43e4352)
1 /*	reboot.h	6.1	83/07/29	*/
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	0x01	/* ask for file name to reboot from */
11 #define	RB_SINGLE	0x02	/* reboot to single user only */
12 #define	RB_NOSYNC	0x04	/* dont sync before reboot */
13 #define	RB_HALT		0x08	/* don't reboot, just halt */
14 #define	RB_INITNAME	0x10	/* name given for /etc/init */
15 
16 #define	RB_PANIC	0	/* reboot due to panic */
17 #define	RB_BOOT		1	/* reboot due to boot() */
18