until the bootstrap populates the new structure.
Found the hard way by Hrvoje Popovski.
ok kettenis@
-/* $OpenBSD: exec_i386.c,v 1.7 2021/10/24 17:49:19 deraadt Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.8 2022/06/30 15:46:57 anton Exp $ */
/*
* Copyright (c) 1997-1998 Michael Shalayeff
dev_t bootdev = bootdev_dip->bootdev;
size_t ac = BOOTARG_LEN;
caddr_t av = (caddr_t)BOOTARG_OFF;
- bios_consdev_t cd;
+ bios_oconsdev_t cd;
extern int com_speed; /* from bioscons.c */
extern int com_addr;
bios_ddb_t ddb;
-/* $OpenBSD: exec_i386.c,v 1.35 2021/10/24 17:49:19 deraadt Exp $ */
+/* $OpenBSD: exec_i386.c,v 1.36 2022/06/30 15:46:57 anton Exp $ */
/*
* Copyright (c) 1997-1998 Michael Shalayeff
dev_t bootdev = bootdev_dip->bootdev;
size_t ac = BOOTARG_LEN;
caddr_t av = (caddr_t)BOOTARG_OFF;
- bios_consdev_t cd;
+ bios_oconsdev_t cd;
extern int com_speed; /* from bioscons.c */
extern int com_addr;
bios_ddb_t ddb;