audk/MdeModulePkg/Core/Pei
klu2 3b428adef9 Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2.
1, Implement EFI_PEI_FIRMWARE_VOLUME_PPI for FFS2 format as build-in supporting FV format in PeiCore.
2, Reduce the assumption of memory-mapped FV in PeiCore. PeiCore should access FV via EFI_PEI_FIRMWARE_VOLUME_PPI interface but not cast FvHandle/FileHandle to EFI_FIRMWARE_VOLUME_HEADER/EFI_FV_FILE_HEADER directly.
3, Reduce AllFv[] and AllFvCount in PEI_CORE_INSTANCE structure. Original PEI_CORE_INSTANCE use AllFv[] and Fv[] array to manage discovered FV and dispatched FV. But not need to make thing too complex. Now PEI_CORE_FV_HANDLE array of Fv[] will take responsibility to manage all FV instance and status.
4, Fix the bug use PeiDispatcher use wrong index for PeiFfsFindNextVolume(), 
5, Fix the bug in PeiFfsFindNextVolume(), if instance is not found, *VolumeHandle should be set to NULL but not VolumeHandle was set to NULL.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9407 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-11 03:27:39 +00:00
..
BootMode Remove some useless EDK_RELEASE_VERSION, EFI_SPECIFICATION_VERSION ,and review VALID_ARCHITECTURES in inf files with DSC file. 2008-12-03 09:08:05 +00:00
Dependency * MdeModulePkg/Core/Pei/Dependency/Dependency.h 2009-02-12 17:15:08 +00:00
Dispatcher Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2. 2009-11-11 03:27:39 +00:00
FwVol Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2. 2009-11-11 03:27:39 +00:00
Hob Use #include "XXX.h" for module internal header files. 2008-10-31 04:35:02 +00:00
Image For now PEI Core LoadImage() service to always call LoadAndRelocatePeCoffImage() even for XIP PEIMs.However the AllocatePage invoked in S3 path will make system assert. The patch is to fix it. 2009-10-26 06:54:55 +00:00
Memory updated to use the term “temporary memory” but not CAR 2009-04-08 08:14:09 +00:00
PeiMain Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2. 2009-11-11 03:27:39 +00:00
Ppi updated to use the term “temporary memory” but not CAR 2009-04-08 08:14:09 +00:00
Reset Use #include "XXX.h" for module internal header files. 2008-10-31 04:35:02 +00:00
Security Global variables have been moved backward ahead of functions. 2008-12-03 08:52:39 +00:00
StatusCode Use #include "XXX.h" for module internal header files. 2008-10-31 04:35:02 +00:00
PeiMain.h Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2. 2009-11-11 03:27:39 +00:00
PeiMain.inf Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2. 2009-11-11 03:27:39 +00:00