]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
UefiCpuPkg CpuCommFeaturesLib: Fix GP fault issue about ProcTrace
[mirror_edk2.git] / OvmfPkg / SmbiosPlatformDxe / SmbiosPlatformDxe.h
1 /** @file
2 This driver installs SMBIOS information for OVMF
3
4 Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>
5 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef _SMBIOS_PLATFORM_DXE_H_
12 #define _SMBIOS_PLATFORM_DXE_H_
13
14 #include <PiDxe.h>
15
16 #include <Protocol/Smbios.h>
17 #include <IndustryStandard/SmBios.h>
18 #include <Library/DebugLib.h>
19 #include <Library/BaseLib.h>
20 #include <Library/BaseMemoryLib.h>
21 #include <Library/UefiBootServicesTableLib.h>
22 #include <Library/MemoryAllocationLib.h>
23
24
25 /**
26 Locates the Xen SMBIOS data if it exists
27
28 @return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data
29
30 **/
31 SMBIOS_TABLE_ENTRY_POINT *
32 GetXenSmbiosTables (
33 VOID
34 );
35
36
37 /**
38 Locates and extracts the QEMU SMBIOS table data if present in fw_cfg
39
40 @return Address of extracted QEMU SMBIOS data
41
42 **/
43 UINT8 *
44 GetQemuSmbiosTables (
45 VOID
46 );
47
48 #endif