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
This commit is contained in:
andrewfish 2012-12-22 00:44:04 +00:00
parent 9f4b48a15d
commit 6c76e4fa39
2 changed files with 7 additions and 3 deletions

View File

@ -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\
}\
}

View File

@ -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
};