summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2023-12-29 20:38:12 +0100
committerMichael Brown2023-12-29 20:38:47 +0100
commitfa62213231a882eb6bbcefa7ad1106bdb9aaeae2 (patch)
treed21bf32e896b29ee636268c8d8d46562eab7533d /src/include
parent[intel] Add PCI ID for I219-LM (23) (diff)
downloadipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.tar.gz
ipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.tar.xz
ipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/smbios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/smbios.h b/src/include/ipxe/smbios.h
index 42278fb2..077a67a8 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,