mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-02 13:03:28 +01:00
48 lines
918 B
C
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
|