2 This driver installs SMBIOS information for OVMF
4 Copyright (c) 2011, Bei Guan <gbtju85@gmail.com>
5 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
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
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.
17 #ifndef _SMBIOS_PLATFORM_DXE_H_
18 #define _SMBIOS_PLATFORM_DXE_H_
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>
31 Locates the Xen SMBIOS data if it exists
33 @return SMBIOS_TABLE_ENTRY_POINT Address of Xen SMBIOS data
36 SMBIOS_TABLE_ENTRY_POINT
*
43 Validates the SMBIOS entry point structure
45 @param EntryPointStructure SMBIOS entry point structure
47 @retval TRUE The entry point structure is valid
48 @retval FALSE The entry point structure is not valid
52 IsEntryPointStructureValid (
53 IN SMBIOS_TABLE_ENTRY_POINT
*EntryPointStructure