diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 07:01:14 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 07:01:14 +0000 |
commit | 555e76f83f0ccf60434d3c72720f0a79f5ff4639 (patch) | |
tree | 5c3dc4c8e986579c1ecc39f442dbc7353fba831d /MdeModulePkg/Universal/BdsDxe | |
parent | 940a892b9a89e34b594219526ce878e62fce5057 (diff) | |
download | edk2-platforms-555e76f83f0ccf60434d3c72720f0a79f5ff4639.tar.xz |
Refine MdeModulePkg to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6575 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c | 12 | ||||
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BootMaint/Data.c | 28 | ||||
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/FrontPage.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/String.c | 2 |
4 files changed, 24 insertions, 20 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c index 709720c200..48f750d444 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c @@ -18,10 +18,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "FrontPage.h"
EFI_DEVICE_PATH_PROTOCOL EndDevicePath[] = {
- END_DEVICE_PATH_TYPE,
- END_ENTIRE_DEVICE_PATH_SUBTYPE,
- END_DEVICE_PATH_LENGTH,
- 0
+ {
+ END_DEVICE_PATH_TYPE,
+ END_ENTIRE_DEVICE_PATH_SUBTYPE,
+ {
+ END_DEVICE_PATH_LENGTH,
+ 0
+ }
+ }
};
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/Data.c b/MdeModulePkg/Universal/BdsDxe/BootMaint/Data.c index 00ef410229..5a22e77a9a 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/Data.c +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/Data.c @@ -38,7 +38,7 @@ UINT16 TerminalType[] = { ///
BM_MENU_OPTION FsOptionMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -47,7 +47,7 @@ BM_MENU_OPTION FsOptionMenu = { ///
BM_MENU_OPTION ConsoleInpMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -56,7 +56,7 @@ BM_MENU_OPTION ConsoleInpMenu = { ///
BM_MENU_OPTION ConsoleOutMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -65,7 +65,7 @@ BM_MENU_OPTION ConsoleOutMenu = { ///
BM_MENU_OPTION ConsoleErrMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -74,7 +74,7 @@ BM_MENU_OPTION ConsoleErrMenu = { ///
BM_MENU_OPTION BootOptionMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -83,7 +83,7 @@ BM_MENU_OPTION BootOptionMenu = { ///
BM_MENU_OPTION DriverOptionMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -92,7 +92,7 @@ BM_MENU_OPTION DriverOptionMenu = { ///
BM_MENU_OPTION LegacyFDMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -101,7 +101,7 @@ BM_MENU_OPTION LegacyFDMenu = { ///
BM_MENU_OPTION LegacyHDMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -110,7 +110,7 @@ BM_MENU_OPTION LegacyHDMenu = { ///
BM_MENU_OPTION LegacyCDMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -119,7 +119,7 @@ BM_MENU_OPTION LegacyCDMenu = { ///
BM_MENU_OPTION LegacyNETMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -128,7 +128,7 @@ BM_MENU_OPTION LegacyNETMenu = { ///
BM_MENU_OPTION LegacyBEVMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -137,7 +137,7 @@ BM_MENU_OPTION LegacyBEVMenu = { ///
BM_MENU_OPTION DirectoryMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
@@ -146,13 +146,13 @@ BM_MENU_OPTION DirectoryMenu = { ///
BM_MENU_OPTION DriverMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
BM_MENU_OPTION TerminalMenu = {
BM_MENU_OPTION_SIGNATURE,
- NULL,
+ {NULL},
0
};
diff --git a/MdeModulePkg/Universal/BdsDxe/FrontPage.h b/MdeModulePkg/Universal/BdsDxe/FrontPage.h index f774351d4c..aaefbd565a 100644 --- a/MdeModulePkg/Universal/BdsDxe/FrontPage.h +++ b/MdeModulePkg/Universal/BdsDxe/FrontPage.h @@ -43,7 +43,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define FRONT_PAGE_FORMSET_GUID \
{ \
- 0x9e0c30bc, 0x3f06, 0x4ba6, 0x82, 0x88, 0x9, 0x17, 0x9b, 0x85, 0x5d, 0xbe \
+ 0x9e0c30bc, 0x3f06, 0x4ba6, {0x82, 0x88, 0x9, 0x17, 0x9b, 0x85, 0x5d, 0xbe} \
}
#define FRONT_PAGE_CALLBACK_DATA_SIGNATURE EFI_SIGNATURE_32 ('F', 'P', 'C', 'B')
diff --git a/MdeModulePkg/Universal/BdsDxe/String.c b/MdeModulePkg/Universal/BdsDxe/String.c index b78b22f97e..d1c6651977 100644 --- a/MdeModulePkg/Universal/BdsDxe/String.c +++ b/MdeModulePkg/Universal/BdsDxe/String.c @@ -19,7 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. EFI_HII_HANDLE gStringPackHandle;
EFI_GUID mBdsStringPackGuid = {
- 0x7bac95d3, 0xddf, 0x42f3, 0x9e, 0x24, 0x7c, 0x64, 0x49, 0x40, 0x37, 0x9a
+ 0x7bac95d3, 0xddf, 0x42f3, {0x9e, 0x24, 0x7c, 0x64, 0x49, 0x40, 0x37, 0x9a}
};
/**
|