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
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _SMBIOS_PLATFORM_DXE_H_
|
|
|
|
#define _SMBIOS_PLATFORM_DXE_H_
|
|
|
|
|
|
|
|
#include <PiDxe.h>
|
|
|
|
|
|
|
|
#include <Protocol/Smbios.h>
|
|
|
|
#include <IndustryStandard/SmBios.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
2014-05-20 18:33:19 +02:00
|
|
|
#include <Library/MemoryAllocationLib.h>
|
2011-08-14 00:54:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
Locates the Xen SMBIOS data if it exists
|
|
|
|
|
|
|
|
@return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data
|
|
|
|
|
|
|
|
**/
|
|
|
|
SMBIOS_TABLE_ENTRY_POINT *
|
|
|
|
GetXenSmbiosTables (
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2014-05-20 18:33:19 +02:00
|
|
|
/**
|
|
|
|
Locates and extracts the QEMU SMBIOS table 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
|