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