]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix structure init issues.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 22 Dec 2012 00:44:04 +0000 (00:44 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 22 Dec 2012 00:44:04 +0000 (00:44 +0000)
signed-off-by:afish@apple.com

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14014 6f19259b-4bc3-4df7-8a09-765794883524

EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h
EmulatorPkg/Library/EmuBdsLib/PlatformData.c

index cf2bb3e81c028a6c5176971f993b8c691494d17b..a099fecda0ad9c453fb304daca639cc26fd0aa39 100644 (file)
@@ -42,8 +42,10 @@ extern EFI_DEVICE_PATH_PROTOCOL   *gPlatformDriverOption[];
   { \\r
     END_DEVICE_PATH_TYPE,\\r
     END_ENTIRE_DEVICE_PATH_SUBTYPE,\\r
-    END_DEVICE_PATH_LENGTH,\\r
-    0\\r
+    { \\r
+      END_DEVICE_PATH_LENGTH,\\r
+      0\\r
+    }\\r
   }\r
 \r
 \r
index 37e35f5e06f0ee42fc80b36a4d2239ceecff5a7e..977da6a28d2abed7cd0b09f12801cb102ac52aec 100644 (file)
@@ -32,6 +32,7 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
     0\r
   },\r
   {\r
+    {\r
       HARDWARE_DEVICE_PATH,\r
       HW_VENDOR_DP,\r
       {\r
@@ -39,7 +40,8 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
         (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
       },\r
       EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,\r
-      0\r
+    },\r
+    0\r
   },\r
   gEndEntire\r
 };\r