Replace the FlashMapHob with PCD defined in FDF on Nt32 platform. Currently, the tool can not generate correct PCD value in FDF, so in the patch, we still define the flash layout PCDs in DSC for short term.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3544 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1
2007-08-03 08:52:48 +00:00
parent c8db3056ec
commit 6d3aa33ed0
12 changed files with 116 additions and 341 deletions

View File

@@ -25,7 +25,7 @@
#
################################################################################
[FD.Fv_Recovery]
BaseAddress = 0x0|PcdFdBaseAddress #The base address of the FLASH Device.
BaseAddress = 0x0|PcdWinNtFdBaseAddress #The base address of the FLASH Device.
Size = 0x002a0000 #The size in bytes of the FLASH Device
ErasePolarity = 1
BlockSize = 0x10000
@@ -47,11 +47,11 @@ NumBlocks = 0x2a
#
################################################################################
0x00000000|0x00280000
PcdFlashFvRecoveryBase|PcdFlashFvRecoverySize
PcdWinNtFlashFvRecoveryBase|PcdWinNtFlashFvRecoverySize
FV = FvRecovery
0x00280000|0x0000c000
PcdFlashNvStorageBase|PcdFlashNvStorageSize
PcdWinNtFlashNvStorageVariableBase|PcdFlashNvStorageVariableSize
DATA = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -67,10 +67,10 @@ DATA = {
}
0x0028c000|0x00002000
PcdFlashNvStorageEventLogBase|PcdFlashNvStorageEventLogSize
PcdWinNtFlashNvStorageEventLogBase|PcdWinNtFlashNvStorageEventLogSize
0x0028e000|0x00002000
PcdFlashNvStorageFtwWorkingBase|PcdFlashNvStorageFtwWorkingSize
PcdWinNtFlashNvStorageFtwWorkingBase|PcdFlashNvStorageFtwWorkingSize
DATA = {
0x8d, 0x2b, 0xf1, 0xff, 0x96, 0x76, 0x8b, 0x4c,
0xa9, 0x85, 0x27, 0x47, 0x07, 0x5b, 0x4f, 0x50,
@@ -79,7 +79,7 @@ DATA = {
}
0x00290000|0x00010000
PcdFlashNvStorageFtwSpareBase|PcdFlashNvStorageFtwSpareBase
PcdWinNtFlashNvStorageFtwSpareBase|PcdFlashNvStorageFtwSpareSize
################################################################################
#