aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-26 19:02:30 +0100
committerMichael Brown <mcb30@ipxe.org>2012-03-26 19:02:30 +0100
commit64d17dbd509d15ddf41bfc5d5b88d53b5af98155 (patch)
tree11cedaa6c5bb817f4094c71eb397bda266736b97 /src/include/ipxe
parente024cd39a877ea1b37b9004dbd8f33448418cb36 (diff)
downloadipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.zip
ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.gz
ipxe-64d17dbd509d15ddf41bfc5d5b88d53b5af98155.tar.bz2
[console] Exclude text-based UI output from logfile-based consoles
The output from text-based user interfaces such as the "config" command is not generally meaningful for logfile-based consoles such as syslog and vmconsole. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/console.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/ipxe/console.h b/src/include/ipxe/console.h
index f70dd71..5ff9388 100644
--- a/src/include/ipxe/console.h
+++ b/src/include/ipxe/console.h
@@ -117,8 +117,12 @@ struct console_driver {
/** Debug messages */
#define CONSOLE_USAGE_DEBUG 0x0002
+/** Text-based user interface */
+#define CONSOLE_USAGE_TUI 0x0004
+
/** All console usages */
-#define CONSOLE_USAGE_ALL ( CONSOLE_USAGE_STDOUT | CONSOLE_USAGE_DEBUG )
+#define CONSOLE_USAGE_ALL \
+ ( CONSOLE_USAGE_STDOUT | CONSOLE_USAGE_DEBUG | CONSOLE_USAGE_TUI )
/** @} */