aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-12-29 19:38:12 +0000
committerMichael Brown <mcb30@ipxe.org>2023-12-29 19:38:47 +0000
commitfa62213231a882eb6bbcefa7ad1106bdb9aaeae2 (patch)
treed21bf32e896b29ee636268c8d8d46562eab7533d /src/include/ipxe
parent119c415ee47aaef2717104fea493377aa9a65874 (diff)
downloadipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.zip
ipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.tar.gz
ipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.tar.bz2
[smbios] Support scanning for the 64-bit SMBIOS3 entry pointsmbios3
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/ipxe')
-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 42278fb..077a67a 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,