Files
system76-edk2/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
Sebastien Boeuf d8ef774346 OvmfPkg: Retrieve SMBIOS from Cloud Hypervisor
Add a fallback on the SMBIOS code to find the SMBIOS table for Cloud
Hypervisor if it couldn't be found for Qemu through fw_cfg.

Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-12-11 14:26:05 +00:00

48 lines
918 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 data if present in fw_cfg
@return Address of extracted QEMU SMBIOS data
**/
UINT8 *
GetQemuSmbiosTables (
VOID
);
/**
Locates and extracts Cloud Hypervisor SMBIOS data
@return Address of extracted Cloud Hypervisor SMBIOS data
**/
UINT8 *
GetCloudHvSmbiosTables (
VOID
);
#endif