diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 06:20:21 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 06:20:21 +0000 |
commit | 42ef7fcd1a61162946dc4cd3980d7b3afdf76b95 (patch) | |
tree | 95d6a2a37b28ce7ed3288fbca833a14e61f83c04 /EdkModulePkg/EdkModulePkg.spd | |
parent | 7f492c4322d1ebc0b73eb61ac8a0c824bea1e2d3 (diff) | |
download | edk2-platforms-42ef7fcd1a61162946dc4cd3980d7b3afdf76b95.tar.xz |
Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg PeiVariable, RuntimeDxeVariabe, and Ftw module needs these PCDs.
PcdFlashNvStorageVariableBase
PcdFlashNvStorageVariableSize
PcdFlashNvStorageFtwSpareBase
PcdFlashNvStorageFtwSpareSize
PcdFlashNvStorageFtwWorkingBase
PcdFlashNvStorageFtwWorkingSize
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1454 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/EdkModulePkg.spd')
-rw-r--r-- | EdkModulePkg/EdkModulePkg.spd | 76 |
1 files changed, 54 insertions, 22 deletions
diff --git a/EdkModulePkg/EdkModulePkg.spd b/EdkModulePkg/EdkModulePkg.spd index cf6a991761..6359d649e8 100644 --- a/EdkModulePkg/EdkModulePkg.spd +++ b/EdkModulePkg/EdkModulePkg.spd @@ -995,28 +995,6 @@ <HelpText>Maximun number of performance log entries during PEI phase.</HelpText>
</PcdEntry>
<PcdEntry>
- <C_Name>PcdFlashFvBaseArray</C_Name>
- <Token>0x31000001</Token>
- <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
- <DatumType>VOID*</DatumType>
- <ValidUsage>DYNAMIC</ValidUsage>
- <DefaultValue>{}</DefaultValue>
- <HelpText>This PCD is a array of EFI_PHYSICAL_ADDERSS of each Firmware Volume on the - platform. FVB driver will make use of this PCD entry to install EFI_FIRMWARE_BLOCK_PROTOCOL - on every FV specified.</HelpText>
- </PcdEntry>
- <PcdEntry>
- <C_Name>PcdFlashFvBaseArrayElementNumber</C_Name>
- <Token>0x32000002</Token>
- <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
- <DatumType>UINT8</DatumType>
- <ValidUsage>DYNAMIC</ValidUsage>
- <DefaultValue>3</DefaultValue>
- <HelpText>This PCD is a number element in the array defined by PcdFlashFvBaseArray in - gEfiGenericPlatformTokenSpaceGuid. Normally, we have 3 firmware volumes: - FV_MAIN, FV_RECOVERY, NV_STORAGE.</HelpText>
- </PcdEntry>
- <PcdEntry>
<C_Name>PcdPeiPcdDatabaseSetEnabled</C_Name>
<Token>0x00010030</Token>
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
@@ -1052,5 +1030,59 @@ <DefaultValue>FALSE</DefaultValue>
<HelpText>This feature flag can be used to enable or disable the PCD service PEIM to handle DynamicEX PCD. If a platform has no module to use DynamicEX in PEI phase. This flag can be set to DISABLE to save size.</HelpText>
</PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageVariableBase</C_Name>
+ <Token>0x30000001</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0xFFFB0000</DefaultValue>
+ <HelpText>Base address of the variable section in NV firmware volume.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageVariableSize</C_Name>
+ <Token>0x30000002</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0x0000A000</DefaultValue>
+ <HelpText>Size of the variable section in NV firmware volume..</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageFtwSpareBase</C_Name>
+ <Token>0x30000013</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0xFFFC0000</DefaultValue>
+ <HelpText>Base address of the FTW spare block section in NV firmware volume.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageFtwSpareSize</C_Name>
+ <Token>0x30000014</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0x00010000</DefaultValue>
+ <HelpText>Size of the FTW spare block section in NV firmware volume.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageFtwWorkingBase</C_Name>
+ <Token>0x30000010</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0xFFFBE000</DefaultValue>
+ <HelpText>Base address of the FTW working block section in NV firmware volume.</HelpText>
+ </PcdEntry>
+ <PcdEntry>
+ <C_Name>PcdFlashNvStorageFtwWorkingSize</C_Name>
+ <Token>0x30000011</Token>
+ <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
+ <DatumType>UINT32</DatumType>
+ <ValidUsage>FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC</ValidUsage>
+ <DefaultValue>0x00002000</DefaultValue>
+ <HelpText>Size of the FTW working block section in NV firmware volume.</HelpText>
+ </PcdEntry>
</PcdDeclarations>
</PackageSurfaceArea>
\ No newline at end of file |