diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-20 22:36:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-05-20 22:36:34 +0000 |
commit | fbeb82e76b47d9b664f28df8429022494d0fa4b3 (patch) | |
tree | 1510ed4234d94b2e6e418fc45dded9c5c825b093 /sys | |
parent | 0b6303b32de4c136c24f443d492b30c717d44df4 (diff) |
add bios_bootmac_t and BOOTARG_BOOTMAC
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/include/biosvar.h | 7 | ||||
-rw-r--r-- | sys/arch/i386/include/biosvar.h | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h index 94a67ffad78..c881b648ad7 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.6 2006/05/08 22:51:18 gwk Exp $ */ +/* $OpenBSD: biosvar.h,v 1.7 2006/05/20 22:36:33 deraadt Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -198,6 +198,11 @@ typedef struct _bios_consdev { int conspeed; } bios_consdev_t; +#define BOOTARG_BOOTMAC 7 +typedef struct _bios_bootmac { + char mac[6]; +} bios_bootmac_t; + #if defined(_KERNEL) || defined (_STANDALONE) #ifdef _LOCORE diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h index a2001b25735..119e09a5b86 100644 --- a/sys/arch/i386/include/biosvar.h +++ b/sys/arch/i386/include/biosvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: biosvar.h,v 1.47 2006/05/09 15:16:58 tom Exp $ */ +/* $OpenBSD: biosvar.h,v 1.48 2006/05/20 22:36:33 deraadt Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -197,6 +197,11 @@ typedef struct _bios_consdev { #define BOOTARG_SMPINFO 6 /* struct mp_float[] */ +#define BOOTARG_BOOTMAC 7 +typedef struct _bios_bootmac { + char mac[6]; +} bios_bootmac_t; + #if defined(_KERNEL) || defined (_STANDALONE) #ifdef _LOCORE |