summaryrefslogtreecommitdiff
path: root/sys/boot/common/bootstrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/bootstrap.h')
-rw-r--r--sys/boot/common/bootstrap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/common/bootstrap.h b/sys/boot/common/bootstrap.h
index f6eab3d0829fe..516b8a5864610 100644
--- a/sys/boot/common/bootstrap.h
+++ b/sys/boot/common/bootstrap.h
@@ -109,10 +109,10 @@ struct console
const char *c_name;
const char *c_desc;
int c_flags;
-#define C_PRESENTIN (1<<0)
-#define C_PRESENTOUT (1<<1)
-#define C_ACTIVEIN (1<<2)
-#define C_ACTIVEOUT (1<<3)
+#define C_PRESENTIN (1<<0) /* console can provide input */
+#define C_PRESENTOUT (1<<1) /* console can provide output */
+#define C_ACTIVEIN (1<<2) /* user wants input from console */
+#define C_ACTIVEOUT (1<<3) /* user wants output to console */
void (* c_probe)(struct console *cp); /* set c_flags to match hardware */
int (* c_init)(int arg); /* reinit XXX may need more args */
void (* c_out)(int c); /* emit c */