diff options
author | 2015-09-03 15:52:16 +0000 | |
---|---|---|
committer | 2015-09-03 15:52:16 +0000 | |
commit | c6a916fdec0d0296b1e6c64f3fa9f0931ca76c0b (patch) | |
tree | be377688278e4feadf9dc16509c114ebcba9c4e5 | |
parent | Properly cancel any pending USB abort task when aborting a transfer (diff) | |
download | wireguard-openbsd-c6a916fdec0d0296b1e6c64f3fa9f0931ca76c0b.tar.xz wireguard-openbsd-c6a916fdec0d0296b1e6c64f3fa9f0931ca76c0b.zip |
match amd64; bios_efi_info_t is required here as well, because acpidump
compiles on more than one platform.
-rw-r--r-- | sys/arch/i386/include/biosvar.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h index 9852bd8b45d..f51b2d020b5 100644 --- a/sys/arch/i386/include/biosvar.h +++ b/sys/arch/i386/include/biosvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: biosvar.h,v 1.63 2015/07/17 21:36:56 mlarkin Exp $ */ +/* $OpenBSD: biosvar.h,v 1.64 2015/09/03 15:52:16 deraadt Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -222,6 +222,21 @@ typedef struct _bios_bootsr { u_int8_t maskkey[BOOTSR_CRYPTO_MAXKEYBYTES]; } __packed bios_bootsr_t; +#define BOOTARG_EFIINFO 11 +typedef struct _bios_efiinfo { + uint64_t config_acpi; + uint64_t config_smbios; + uint64_t fb_addr; + uint64_t fb_size; + uint32_t fb_height; + uint32_t fb_width; + uint32_t fb_pixpsl; /* pixels per scan line */ + uint32_t fb_red_mask; + uint32_t fb_green_mask; + uint32_t fb_blue_mask; + uint32_t fb_reserved_mask; +} __packed bios_efiinfo_t; + #if defined(_KERNEL) || defined (_STANDALONE) #ifdef _LOCORE @@ -272,6 +287,7 @@ void bios32_cleanup(void); extern u_int bootapiver; extern bios_memmap_t *bios_memmap; +extern bios_efiinfo_t *bios_efiinfo; extern void *bios_smpinfo; extern bios_pciinfo_t *bios_pciinfo; |