aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/reboot.h')
-rw-r--r--sys/sys/reboot.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/sys/sys/reboot.h b/sys/sys/reboot.h
index 492b554..805eab8 100644
--- a/sys/sys/reboot.h
+++ b/sys/sys/reboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reboot.h,v 1.18 2019/04/01 07:00:52 tedu Exp $ */
+/* $OpenBSD: reboot.h,v 1.19 2020/05/23 00:40:53 deraadt Exp $ */
/* $NetBSD: reboot.h,v 1.9 1996/04/22 01:23:25 christos Exp $ */
/*
@@ -41,22 +41,23 @@
*/
#define RB_AUTOBOOT 0 /* flags for system auto-booting itself */
-#define RB_ASKNAME 0x0001 /* ask for file name to reboot from */
-#define RB_SINGLE 0x0002 /* reboot to single user only */
-#define RB_NOSYNC 0x0004 /* dont sync before reboot */
-#define RB_HALT 0x0008 /* don't reboot, just halt */
-#define RB_INITNAME 0x0010 /* name given for /etc/init (unused) */
-#define RB_DFLTROOT 0x0020 /* use compiled-in rootdev */
-#define RB_KDB 0x0040 /* give control to kernel debugger */
-#define RB_RDONLY 0x0080 /* mount root fs read-only */
-#define RB_DUMP 0x0100 /* dump kernel memory before reboot */
-#define RB_MINIROOT 0x0200 /* mini-root present in memory at boot time */
-#define RB_CONFIG 0x0400 /* change configured devices */
-#define RB_TIMEBAD 0x0800 /* don't call resettodr() in boot() */
-#define RB_POWERDOWN 0x1000 /* attempt to power down machine */
-#define RB_SERCONS 0x2000 /* use serial console if available */
-#define RB_USERREQ 0x4000 /* boot() called at user request (e.g. ddb) */
-#define RB_RESET 0x8000 /* just reset, no cleanup */
+#define RB_ASKNAME 0x00001 /* ask for file name to reboot from */
+#define RB_SINGLE 0x00002 /* reboot to single user only */
+#define RB_NOSYNC 0x00004 /* dont sync before reboot */
+#define RB_HALT 0x00008 /* don't reboot, just halt */
+#define RB_INITNAME 0x00010 /* name given for /etc/init (unused) */
+#define RB_DFLTROOT 0x00020 /* use compiled-in rootdev */
+#define RB_KDB 0x00040 /* give control to kernel debugger */
+#define RB_RDONLY 0x00080 /* mount root fs read-only */
+#define RB_DUMP 0x00100 /* dump kernel memory before reboot */
+#define RB_MINIROOT 0x00200 /* mini-root present in memory at boot time */
+#define RB_CONFIG 0x00400 /* change configured devices */
+#define RB_TIMEBAD 0x00800 /* don't call resettodr() in boot() */
+#define RB_POWERDOWN 0x01000 /* attempt to power down machine */
+#define RB_SERCONS 0x02000 /* use serial console if available */
+#define RB_USERREQ 0x04000 /* boot() called at user request (e.g. ddb) */
+#define RB_RESET 0x08000 /* just reset, no cleanup */
+#define RB_GOODRANDOM 0x10000 /* excellent random seed loaded */
/*
* Constants for converting boot-style device number to type,