summaryrefslogtreecommitdiff
path: root/EmulatorPkg
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2012-12-22 00:44:04 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2012-12-22 00:44:04 +0000
commit6c76e4fa39ab720ba4911fcc2a626afee176e28a (patch)
treeab67ac14eb057d04e780188195a5147f5b189ec5 /EmulatorPkg
parent9f4b48a15d2dce4ae243920cdc83d46cc0eb4896 (diff)
downloadedk2-platforms-6c76e4fa39ab720ba4911fcc2a626afee176e28a.tar.xz
Fix structure init issues.
signed-off-by:afish@apple.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14014 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg')
-rw-r--r--EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h6
-rw-r--r--EmulatorPkg/Library/EmuBdsLib/PlatformData.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h
index cf2bb3e81c..a099fecda0 100644
--- a/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h
+++ b/EmulatorPkg/Library/EmuBdsLib/BdsPlatform.h
@@ -42,8 +42,10 @@ extern EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[];
{ \
END_DEVICE_PATH_TYPE,\
END_ENTIRE_DEVICE_PATH_SUBTYPE,\
- END_DEVICE_PATH_LENGTH,\
- 0\
+ { \
+ END_DEVICE_PATH_LENGTH,\
+ 0\
+ }\
}
diff --git a/EmulatorPkg/Library/EmuBdsLib/PlatformData.c b/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
index 37e35f5e06..977da6a28d 100644
--- a/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
+++ b/EmulatorPkg/Library/EmuBdsLib/PlatformData.c
@@ -32,6 +32,7 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
0
},
{
+ {
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,
{
@@ -39,7 +40,8 @@ EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
(UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
},
EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
- 0
+ },
+ 0
},
gEndEntire
};