diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-08 06:45:21 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-08 06:45:21 +0000 |
commit | f0388a0ef15c365a02b439f02cc41214e95de914 (patch) | |
tree | 4155f24cc8f6a224dd5a79aa3a3abcb19440c715 | |
parent | 0ce0d9ae9521f81d771ae476de0fea893f97f8a1 (diff) | |
download | edk2-platforms-f0388a0ef15c365a02b439f02cc41214e95de914.tar.xz |
fix the warning for structure initialization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2190 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | EdkUnixPkg/Pei/FlashMap/FlashMap.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/EdkUnixPkg/Pei/FlashMap/FlashMap.c b/EdkUnixPkg/Pei/FlashMap/FlashMap.c index 9c57f2e9c4..c68d365b00 100644 --- a/EdkUnixPkg/Pei/FlashMap/FlashMap.c +++ b/EdkUnixPkg/Pei/FlashMap/FlashMap.c @@ -61,8 +61,8 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { EFI_VARIABLE_STORE_LENGTH,
EFI_FLASH_AREA_SUBFV | EFI_FLASH_AREA_MEMMAPPED_FV,
EFI_FLASH_AREA_EFI_VARIABLES,
- 0, 0, 0,
- { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+ { 0, 0, 0},
+ { 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }
},
//
// FTW spare (backup) block
@@ -72,8 +72,8 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { EFI_WINNT_FTW_SPARE_BLOCK_LENGTH,
EFI_FLASH_AREA_SUBFV | EFI_FLASH_AREA_MEMMAPPED_FV,
EFI_FLASH_AREA_FTW_BACKUP,
- 0, 0, 0,
- { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+ { 0, 0, 0},
+ { 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }
},
//
// FTW private working (state) area
@@ -83,8 +83,8 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { EFI_FTW_WORKING_LENGTH,
EFI_FLASH_AREA_SUBFV | EFI_FLASH_AREA_MEMMAPPED_FV,
EFI_FLASH_AREA_FTW_STATE,
- 0, 0, 0,
- { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+ {0, 0, 0},
+ { 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }
},
//
// Recovery FV
@@ -94,8 +94,8 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { EFI_WINNT_FIRMWARE_LENGTH,
EFI_FLASH_AREA_FV | EFI_FLASH_AREA_MEMMAPPED_FV,
EFI_FLASH_AREA_RECOVERY_BIOS,
- 0, 0, 0,
- { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+ {0, 0, 0},
+ { 0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }
},
//
// System Non-Volatile Storage FV
@@ -105,7 +105,7 @@ static EFI_FLASH_AREA_DATA mFlashAreaData[] = { EFI_WINNT_RUNTIME_UPDATABLE_LENGTH + EFI_WINNT_FTW_SPARE_BLOCK_LENGTH,
EFI_FLASH_AREA_FV | EFI_FLASH_AREA_MEMMAPPED_FV,
EFI_FLASH_AREA_GUID_DEFINED,
- 0, 0, 0,
+ {0, 0, 0},
EFI_SYSTEM_NV_DATA_HOB_GUID
},
};
|