/*	@(#)reboot.h	13.2 (Tolerant) 91/03/04	*/

/*
 * Arguments to reboot system call.
 * These are passed to boot program in r7,
 * and on to init.
 */
#define	RB_AUTOBOOT	0	/* flags for system auto-booting itself */

#define	RB_ASKNAME	0x01	/* ask for file name to reboot from */
#define	RB_SINGLE	0x02	/* reboot to single user only */
#define	RB_NOSYNC	0x04	/* dont sync before reboot */
#define	RB_HALT		0x08	/* don't reboot, just halt */
#define	RB_INITNAME	0x10	/* name given for /etc/init */
#define	RB_GLOBAL	0x20	/* pass to all sbbs on the net */
#define RB_DUMP		0x40	/* user requested panic (force a dump) */

#define	RB_PANIC	0	/* reboot due to panic */
#define	RB_BOOT		1	/* reboot due to boot() */

/*
 * Special RC International arguments to reboot system call; if either
 * of RB_READY or RB_NOTREADY is present, only the front-panel ready
 * light will be changed and the system will not stop or reboot.
 * RB_READY and RB_NOTREADY is currently not implemented
 * RB_POWERDOWN is used together with RB_HALT to power the pu down 
 */
#define RB_POWERDOWN	0x20000000	/* Power down after halt */
#define RB_READY	0x40000000	/* ready light steady - not impl. */
#define RB_NOTREADY	0x80000000	/* ready light winking - not impl. */

