]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h
EDK II Packages: Add Contributions.txt and License.txt files
[mirror_edk2.git] / OvmfPkg / SmbiosPlatformDxe / SmbiosPlatformDxe.h
CommitLineData
fb511817 1/** @file\r
2 This driver installs SMBIOS information for OVMF\r
3\r
4 Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>\r
5 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
6\r
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef _SMBIOS_PLATFORM_DXE_H_\r
18#define _SMBIOS_PLATFORM_DXE_H_\r
19\r
20#include <PiDxe.h>\r
21\r
22#include <Protocol/Smbios.h>\r
23#include <IndustryStandard/SmBios.h>\r
24#include <Library/DebugLib.h>\r
25#include <Library/BaseLib.h>\r
26#include <Library/BaseMemoryLib.h>\r
27#include <Library/UefiBootServicesTableLib.h>\r
28\r
29\r
30/**\r
31 Locates the Xen SMBIOS data if it exists\r
32\r
33 @return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data\r
34\r
35**/\r
36SMBIOS_TABLE_ENTRY_POINT *\r
37GetXenSmbiosTables (\r
38 VOID\r
39 );\r
40\r
41\r
42/**\r
43 Validates the SMBIOS entry point structure\r
44\r
45 @param EntryPointStructure SMBIOS entry point structure\r
46\r
47 @retval TRUE The entry point structure is valid\r
48 @retval FALSE The entry point structure is not valid\r
49\r
50**/\r
51BOOLEAN\r
52IsEntryPointStructureValid (\r
53 IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructure\r
54 );\r
55\r
56#endif\r