[linux] Use generic sysfs mechanism to read SMBIOS table

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2021-03-02 23:43:21 +00:00
parent 6816006808
commit 2a2909cd1f
3 changed files with 88 additions and 65 deletions

View File

@@ -255,3 +255,13 @@ int smbios_version ( void ) {
return smbios.version;
}
/**
* Clear SMBIOS entry point descriptor
*
*/
void smbios_clear ( void ) {
/* Clear address */
smbios.address = UNULL;
}