CloverBootloader/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h

48 lines
918 B
C
Raw Normal View History

/** @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