summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2021-05-26 22:14:43 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-06-04 16:01:50 +0000
commit9d84e74ca0d94aec5ff8be0ac1ac644fc1632dd8 (patch)
treeaa0e16db83cd3a0b26aec08537a2ec7e6e40c007 /OvmfPkg
parenta8ab14424eb50c31a932b5eef909f4d882990301 (diff)
downloadedk2-9d84e74ca0d94aec5ff8be0ac1ac644fc1632dd8.tar.gz
edk2-9d84e74ca0d94aec5ff8be0ac1ac644fc1632dd8.tar.bz2
edk2-9d84e74ca0d94aec5ff8be0ac1ac644fc1632dd8.zip
OvmfPkg/SmbiosPlatformDxe: declare InstallAllStructures() in header file
Add an extern declaration for the InstallAllStructures() function to the "SmbiosPlatformDxe.h" header file. (The leading comment block and the prototype are simply copied from "SmbiosPlatformDxe.c".) Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210526201446.12554-41-lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
index 7a0bdbb291..0ae2556fe8 100644
--- a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
+++ b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
@@ -12,6 +12,17 @@
#define SMBIOS_PLATFORM_DXE_H_
/**
+ Install all structures from the given SMBIOS structures block
+
+ @param TableAddress SMBIOS tables starting address
+
+**/
+EFI_STATUS
+InstallAllStructures (
+ IN UINT8 *TableAddress
+ );
+
+/**
Locates and extracts the QEMU SMBIOS table data if present in fw_cfg
@return Address of extracted QEMU SMBIOS data