+++ /dev/null
-/** @file\r
-\r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name: \r
-\r
- DataHubGen.h\r
-\r
-Abstract:\r
-\r
-**/\r
-\r
-#ifndef _SMBIOS_GEN_H_\r
-#define _SMBIOS_GEN_H_\r
-\r
-#include <FrameworkDxe.h>\r
-#include <IndustryStandard/SmBios.h>\r
-\r
-#include <Guid/HobList.h>\r
-#include <Guid/SmBios.h>\r
-#include <Guid/DataHubRecords.h>\r
-\r
-#include <Protocol/Smbios.h>\r
-#include <Protocol/FrameworkHii.h>\r
-#include <Protocol/HiiDatabase.h>\r
-\r
-#include <Library/BaseLib.h>\r
-#include <Library/UefiLib.h>\r
-#include <Library/HobLib.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
-#include <Library/HiiLib.h>\r
-#include <Library/DebugLib.h>\r
-#include <Library/BaseMemoryLib.h>\r
-#include <Library/MemoryAllocationLib.h>\r
-#include <Library/UefiHiiServicesLib.h>\r
-\r
-#define PRODUCT_NAME L"DUET"\r
-#define PRODUCT_VERSION L"Beta"\r
-\r
-#define FIRMWARE_PRODUCT_NAME (PRODUCT_NAME L": ")\r
-#ifdef EFI32\r
-#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ")\r
-#else // EFIX64\r
-#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.UEFI)" PRODUCT_VERSION L": ")\r
-#endif\r
-\r
-SMBIOS_STRUCTURE_POINTER\r
-GetSmbiosTableFromType (\r
- IN SMBIOS_TABLE_ENTRY_POINT *Smbios,\r
- IN UINT8 Type,\r
- IN UINTN Index\r
- );\r
-\r
-CHAR8 *\r
-GetSmbiosString (\r
- IN SMBIOS_STRUCTURE_POINTER SmbiosTable,\r
- IN SMBIOS_TABLE_STRING String\r
- );\r
-\r
-/**\r
- Logs SMBIOS record.\r
-\r
- @param Smbios Pointer to SMBIOS protocol instance.\r
- @param Buffer Pointer to the data buffer.\r
-\r
-**/\r
-VOID\r
-LogSmbiosData (\r
- IN EFI_SMBIOS_PROTOCOL *Smbios,\r
- IN UINT8 *Buffer\r
- );\r
-\r
-#endif\r