summaryrefslogtreecommitdiffstats
path: root/src/interface/smbios/smbios.c
diff options
context:
space:
mode:
authorMichael Brown2021-03-03 00:43:21 +0100
committerMichael Brown2021-03-03 00:59:48 +0100
commit2a2909cd1f55b2110bf8ef48b65816c9fae4637f (patch)
tree789e0c1c0b3e93b03bf6e43fbc7462b6496e2418 /src/interface/smbios/smbios.c
parent[linux] Use generic sysfs mechanism to read ACPI tables (diff)
downloadipxe-2a2909cd1f55b2110bf8ef48b65816c9fae4637f.tar.gz
ipxe-2a2909cd1f55b2110bf8ef48b65816c9fae4637f.tar.xz
ipxe-2a2909cd1f55b2110bf8ef48b65816c9fae4637f.zip
[linux] Use generic sysfs mechanism to read SMBIOS table
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/smbios/smbios.c')
-rw-r--r--src/interface/smbios/smbios.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interface/smbios/smbios.c b/src/interface/smbios/smbios.c
index 5bd76f16a..12a080da2 100644
--- a/src/interface/smbios/smbios.c
+++ b/src/interface/smbios/smbios.c
@@ -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;
+}