2011-08-14 00:54:37 +02:00
|
|
|
/** @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>
|
|
|
|
|
2019-04-04 01:06:33 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-08-14 00:54:37 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
2021-05-26 22:14:39 +02:00
|
|
|
#ifndef SMBIOS_PLATFORM_DXE_H_
|
|
|
|
#define SMBIOS_PLATFORM_DXE_H_
|
2011-08-14 00:54:37 +02:00
|
|
|
|
2021-05-26 22:14:43 +02:00
|
|
|
/**
|
|
|
|
Install all structures from the given SMBIOS structures block
|
|
|
|
|
|
|
|
@param TableAddress SMBIOS tables starting address
|
|
|
|
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
InstallAllStructures (
|
2021-12-05 23:54:09 +01:00
|
|
|
IN UINT8 *TableAddress
|
2021-05-26 22:14:43 +02:00
|
|
|
);
|
|
|
|
|
2021-12-10 15:41:55 +01:00
|
|
|
/**
|
|
|
|
Locates and extracts the QEMU SMBIOS data if present in fw_cfg
|
|
|
|
|
|
|
|
@return Address of extracted QEMU SMBIOS data
|
|
|
|
|
|
|
|
**/
|
|
|
|
UINT8 *
|
|
|
|
GetQemuSmbiosTables (
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2011-08-14 00:54:37 +02:00
|
|
|
#endif
|