]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/Library/DuetBdsLib/BdsPlatform.h
Add missing braces around initializer.
[mirror_edk2.git] / DuetPkg / Library / DuetBdsLib / BdsPlatform.h
index 173f77bc1bd2f4f195322a0680f300c37ce887a1..4abb7b7f632a121c6b8c435faaa60b900b3ff0b6 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2012, 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
@@ -45,13 +45,13 @@ Abstract:
 \r
 #include <Protocol/PciIo.h>\r
 \r
-#include <Guid/Logo.h>\r
 #include <Guid/Acpi.h>\r
 #include <Guid/SmBios.h>\r
 #include <Guid/Mps.h>\r
 #include <Guid/HobList.h>\r
 #include <Guid/PciExpressBaseAddress.h>\r
 #include <Guid/GlobalVariable.h>\r
+#include <Guid/LdrMemoryDescriptor.h>\r
 \r
 extern BDS_CONSOLE_CONNECT_ENTRY  gPlatformConsole[];\r
 extern EFI_DEVICE_PATH_PROTOCOL   *gPlatformConnectSequence[];\r
@@ -73,11 +73,13 @@ extern VENDOR_DEVICE_PATH         gTerminalTypeDeviceNode;
 \r
 #define PCI_DEVICE_PATH_NODE(Func, Dev) \\r
   { \\r
-    HARDWARE_DEVICE_PATH, \\r
-    HW_PCI_DP, \\r
     { \\r
-      (UINT8) (sizeof (PCI_DEVICE_PATH)), \\r
-      (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8) \\r
+      HARDWARE_DEVICE_PATH, \\r
+      HW_PCI_DP, \\r
+      { \\r
+        (UINT8) (sizeof (PCI_DEVICE_PATH)), \\r
+        (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8) \\r
+      } \\r
     }, \\r
     (Func), \\r
     (Dev) \\r