summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-01-02 22:41:18 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-01-02 22:41:18 +0000
commita6c0f6f8f8f718ebd2fc9226c5757facf0af63c7 (patch)
treec24749d1eb048fd8927b26d5d9c409eb457b9c8b /sys/arch/amd64/include
parentf35df32a210d94d1704f65b4124bf231cf0eeea4 (diff)
Let the EFI bootloader make a copy of the EFI System Resource Table (ESRT)
and pass it to the kernel. ok jca@, patrick@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/biosvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h
index 1abd944d63f..7a59d457606 100644
--- a/sys/arch/amd64/include/biosvar.h
+++ b/sys/arch/amd64/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.29 2022/11/29 21:41:39 guenther Exp $ */
+/* $OpenBSD: biosvar.h,v 1.30 2023/01/02 22:41:17 kettenis Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -218,11 +218,13 @@ typedef struct _bios_efiinfo {
uint32_t fb_reserved_mask;
uint32_t flags;
#define BEI_64BIT 0x00000001 /* 64-bit EFI implementation */
+#define BEI_ESRT 0x00000002 /* ESRT table */
uint32_t mmap_desc_ver;
uint32_t mmap_desc_size;
uint32_t mmap_size;
uint64_t mmap_start;
uint64_t system_table;
+ uint64_t config_esrt;
} __packed bios_efiinfo_t;
#define BOOTARG_UCODE 12