diff options
author | zwei4 <david.wei@intel.com> | 2017-05-11 14:14:48 +0800 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2017-05-11 14:14:48 +0800 |
commit | 9085457c819add4d580882a047f49c22859833ac (patch) | |
tree | f9791adebee1a60954dd8513d95a6897ebe7ec94 /Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c | |
parent | b48d585a213b1dbb925ac108fe7235cd087bc5c0 (diff) | |
download | edk2-platforms-9085457c819add4d580882a047f49c22859833ac.tar.xz |
Fix some GCC build errors.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c index 8f619da558..dd9808c0b6 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/PlatformData.c @@ -2,7 +2,7 @@ Defined the platform specific device path which will be used by
platform Bbd to perform the platform policy connect.
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -117,13 +117,17 @@ EFI_DEVICE_PATH_PROTOCOL* gPlatformAllPossiblePciVgaConsole [] = { //
LEGACY_HD_DEVICE_PATH gLegacyHd = {
{
- BBS_DEVICE_PATH,
- BBS_BBS_DP,
- (UINT8) (sizeof (BBS_BBS_DEVICE_PATH)),
- (UINT8) ((sizeof (BBS_BBS_DEVICE_PATH)) >> 8),
+ {
+ BBS_DEVICE_PATH,
+ BBS_BBS_DP,
+ {
+ (UINT8) (sizeof (BBS_BBS_DEVICE_PATH)),
+ (UINT8) ((sizeof (BBS_BBS_DEVICE_PATH)) >> 8)
+ }
+ },
BBS_TYPE_HARDDRIVE,
0,
- 0
+ {0}
},
gEndEntire
};
@@ -133,13 +137,17 @@ LEGACY_HD_DEVICE_PATH gLegacyHd = { //
LEGACY_HD_DEVICE_PATH gLegacyCdrom = {
{
- BBS_DEVICE_PATH,
- BBS_BBS_DP,
- (UINT8) (sizeof (BBS_BBS_DEVICE_PATH)),
- (UINT8) ((sizeof (BBS_BBS_DEVICE_PATH)) >> 8),
+ {
+ BBS_DEVICE_PATH,
+ BBS_BBS_DP,
+ {
+ (UINT8) (sizeof (BBS_BBS_DEVICE_PATH)),
+ (UINT8) ((sizeof (BBS_BBS_DEVICE_PATH)) >> 8),
+ }
+ },
BBS_TYPE_CDROM,
0,
- 0
+ {0}
},
gEndEntire
};
|