diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2023-02-23 19:48:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2023-02-23 19:48:23 +0000 |
commit | 4ca89ee078d7814e763d9fe45a5893e726032e4f (patch) | |
tree | 90f170446adb3af0500515ee30fee6f83a8ab432 /sys/stand/boot/cmd.h | |
parent | 9a17c74c7944052ae6405993a3f46aab37c9599d (diff) |
Remove dangerous user-settable "addr" variable from MI boot loader, and
only compile tty-related code (stty command, tty variable) on platforms
where it makes sense for the boot loader to control it, rather than the
PROM/firmware/whatever.
Diffstat (limited to 'sys/stand/boot/cmd.h')
-rw-r--r-- | sys/stand/boot/cmd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.h b/sys/stand/boot/cmd.h index 494d0bce6f3..5045f052b8b 100644 --- a/sys/stand/boot/cmd.h +++ b/sys/stand/boot/cmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.h,v 1.18 2019/05/10 12:49:58 claudio Exp $ */ +/* $OpenBSD: cmd.h,v 1.19 2023/02/23 19:48:22 miod Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -45,7 +45,6 @@ struct cmd_state { char image[MAXPATHLEN - 16]; /* image */ int boothowto; /* howto */ char *conf; /* /etc/boot.conf normally */ - void *addr; /* load here */ int timeout; char path[MAXPATHLEN]; /* buffer for pathname compose */ |