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>
37 lines
744 B
C
37 lines
744 B
C
/** @file
|
|
This driver installs SMBIOS information for OVMF
|
|
|
|
Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>
|
|
Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef SMBIOS_PLATFORM_DXE_H_
|
|
#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
|
|
|
|
**/
|
|
UINT8 *
|
|
GetQemuSmbiosTables (
|
|
VOID
|
|
);
|
|
|
|
#endif
|