diff options
author | 2009-04-30 01:16:56 +0000 | |
---|---|---|
committer | 2009-04-30 01:16:56 +0000 | |
commit | c350d4dc73baf76c85286bb8dc623eb9dc9bd54c (patch) | |
tree | 12526c788272f04fce71d103bc700c78e7753ec1 /sys/arch/amd64/include/biosvar.h | |
parent | add another settable variable called db_console which the MD parts of a (diff) | |
download | wireguard-openbsd-c350d4dc73baf76c85286bb8dc623eb9dc9bd54c.tar.xz wireguard-openbsd-c350d4dc73baf76c85286bb8dc623eb9dc9bd54c.zip |
pass db_console from the bootloader to the kernel, and then use it to
set ddb.console real early.
requested by art@
no problem! deraadt@
Diffstat (limited to 'sys/arch/amd64/include/biosvar.h')
-rw-r--r-- | sys/arch/amd64/include/biosvar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h index 95a86283986..6d0db3f8b2b 100644 --- a/sys/arch/amd64/include/biosvar.h +++ b/sys/arch/amd64/include/biosvar.h @@ -1,5 +1,5 @@ /* XXX - DSR */ -/* $OpenBSD: biosvar.h,v 1.9 2008/09/01 17:30:55 deraadt Exp $ */ +/* $OpenBSD: biosvar.h,v 1.10 2009/04/30 01:16:56 dlg Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -202,6 +202,11 @@ typedef struct _bios_bootmac { char mac[6]; } __packed bios_bootmac_t; +#define BOOTARG_DDB 8 +typedef struct _bios_ddb { + int db_console; +} __packed bios_ddb_t; + #if defined(_KERNEL) || defined (_STANDALONE) #ifdef _LOCORE |