mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[smbios] Provide SMBIOS version number via smbios_version()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -77,6 +77,8 @@ static int bios_find_smbios ( struct smbios *smbios ) {
|
||||
smbios->address = phys_to_user ( u.entry.smbios_address );
|
||||
smbios->len = u.entry.smbios_len;
|
||||
smbios->count = u.entry.smbios_count;
|
||||
smbios->version =
|
||||
SMBIOS_VERSION ( u.entry.major, u.entry.minor );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user