diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-12-29 19:38:12 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-12-29 19:38:47 +0000 |
commit | fa62213231a882eb6bbcefa7ad1106bdb9aaeae2 (patch) | |
tree | d21bf32e896b29ee636268c8d8d46562eab7533d /src/include/ipxe | |
parent | 119c415ee47aaef2717104fea493377aa9a65874 (diff) | |
download | ipxe-fa62213231a882eb6bbcefa7ad1106bdb9aaeae2.tar.gz |
[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/ipxe')
-rw-r--r-- | src/include/ipxe/smbios.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |