diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-02 20:48:19 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-02 20:48:19 +0000 |
commit | e8f1f777279c50e2764124939e190fc900e889b7 (patch) | |
tree | cd18fa096ec49483351b466b46ea1b42b38587c4 /sys/arch/i386/stand/boot/cmd.h | |
parent | 3eda24647132709cb951ff958966e14cab8a9a09 (diff) |
machine(MD) command set support
Diffstat (limited to 'sys/arch/i386/stand/boot/cmd.h')
-rw-r--r-- | sys/arch/i386/stand/boot/cmd.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.h b/sys/arch/i386/stand/boot/cmd.h index 706121d8f61..a3ecfcad048 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.8 1997/08/22 20:15:04 mickey Exp $ */ +/* $OpenBSD: cmd.h,v 1.9 1997/09/02 20:48:18 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -32,7 +32,17 @@ * */ -struct cmd_table; + +struct cmd_table { + char *cmd_name; + char cmd_type; +#define CMDT_CMD 0 +#define CMDT_VAR 1 +#define CMDT_SET 2 +#define CMDT_MDC 3 + int (*cmd_exec) __P((void)); +}; + struct cmd_state { char bootdev[16]; /* device */ char image[MAXPATHLEN - 16]; /* image */ |