From fa62213231a882eb6bbcefa7ad1106bdb9aaeae2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 29 Dec 2023 19:38:12 +0000 Subject: [smbios] Support scanning for the 64-bit SMBIOS3 entry point Support scanning for the 64-bit SMBIOS3 entry point in addition to the 32-bit SMBIOS2 entry point. Prefer use of the 32-bit entry point if present, since this is guaranteed to be within accessible memory. Signed-off-by: Michael Brown --- src/include/ipxe/smbios.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/smbios.h b/src/include/ipxe/smbios.h index 42278fb24..077a67a85 100644 --- a/src/include/ipxe/smbios.h +++ b/src/include/ipxe/smbios.h @@ -227,6 +227,8 @@ struct smbios { extern int find_smbios ( struct smbios *smbios ); extern int find_smbios_entry ( userptr_t start, size_t len, struct smbios_entry *entry ); +extern int find_smbios3_entry ( userptr_t start, size_t len, + struct smbios3_entry *entry ); extern int find_smbios_structure ( unsigned int type, unsigned int instance, struct smbios_structure *structure ); extern int read_smbios_structure ( struct smbios_structure *structure, -- cgit v1.2.3-55-g7522