summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot/cmd.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-26 17:50:09 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-26 17:50:09 +0000
commit39bc18ac3290db498ba2a6e3d30637f836947340 (patch)
treec51a4d1d3eb0e60ee753f74939d48dd8d35af766 /sys/arch/i386/stand/boot/cmd.h
parent6bdc1ce3a8ccaf3a9fec3bcb79ef0e745806e9f5 (diff)
boot.conf support
ttyname function in cons.c rdonly var 'tty' to view tty settings serial console soon
Diffstat (limited to 'sys/arch/i386/stand/boot/cmd.h')
-rw-r--r--sys/arch/i386/stand/boot/cmd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.h b/sys/arch/i386/stand/boot/cmd.h
index a806e1c05f7..7682af1dd25 100644
--- a/sys/arch/i386/stand/boot/cmd.h
+++ b/sys/arch/i386/stand/boot/cmd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.h,v 1.4 1997/04/21 20:03:31 mickey Exp $ */
+/* $OpenBSD: cmd.h,v 1.5 1997/04/26 17:50:07 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -36,14 +36,17 @@ struct cmd_table;
struct cmd_state {
char bootdev[16]; /* device */
char image[32]; /* image */
+ char *conf; /* /etc/boot.conf normally */
char cwd[MAXPATHLEN - 32 - 16];
void *addr; /* load here */
int timeout;
- char path[MAXPATHLEN]; /* buffer for pathname compose */
+ char path[MAXPATHLEN]; /* buffer for pathname compose */
const struct cmd_table *cmd;
int argc;
char *argv[8]; /* XXX i hope this is enough */
};
int getcmd __P((register struct cmd_state *));
+int read_conf __P((register struct cmd_state *));
+