]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/DataHubGenDxe/DataHubGen.h
Make sure FIQ debugger stuff can work.
[mirror_edk2.git] / DuetPkg / DataHubGenDxe / DataHubGen.h
index 5ac2add1fbdbb120475cd6f548f6c816cd776bdc..8697897703244a1a4a1dcdd738bdfd9b47494f5e 100644 (file)
@@ -1,6 +1,6 @@
-/*++\r
+/** @file\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2010, Intel Corporation                                                         \r
 All rights reserved. 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
@@ -15,27 +15,27 @@ Module Name:
 \r
 Abstract:\r
 \r
---*/\r
+**/\r
 \r
 #ifndef _DATA_HUB_GEN_H_\r
 #define _DATA_HUB_GEN_H_\r
 \r
 #include <FrameworkDxe.h>\r
-#include <IndustryStandard/Smbios.h>\r
+#include <IndustryStandard/SmBios.h>\r
 \r
 #include <Guid/HobList.h>\r
-#include <Guid/Smbios.h>\r
-#include <Guid/DataHubProducer.h>\r
+#include <Guid/SmBios.h>\r
 #include <Guid/DataHubRecords.h>\r
 \r
-#include <Protocol/Datahub.h>\r
+#include <Protocol/DataHub.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/FrameworkHiiLib.h>\r
+#include <Library/HiiLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
@@ -45,22 +45,14 @@ Abstract:
 \r
 #define   FIRMWARE_PRODUCT_NAME         (PRODUCT_NAME L": ")\r
 #ifdef EFI32\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
 #define   FIRMWARE_BIOS_VERSIONE        (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ")\r
-#else\r
-#define   FIRMWARE_BIOS_VERSIONE        (PRODUCT_NAME L"(IA32.EFI)"  PRODUCT_VERSION L": ")\r
-#endif\r
 #else  // EFIX64\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
 #define   FIRMWARE_BIOS_VERSIONE        (PRODUCT_NAME L"(X64.UEFI)"  PRODUCT_VERSION L": ")\r
-#else\r
-#define   FIRMWARE_BIOS_VERSIONE        (PRODUCT_NAME L"(X64.EFI)"   PRODUCT_VERSION L": ")\r
-#endif\r
 #endif\r
 \r
 SMBIOS_STRUCTURE_POINTER\r
 GetSmbiosTableFromType (\r
-  IN VOID                  *Smbios,\r
+  IN SMBIOS_TABLE_ENTRY_POINT  *Smbios,\r
   IN UINT8                 Type,\r
   IN UINTN                 Index\r
   );\r