summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Pei/PeiMain.inf
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 03:27:39 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 03:27:39 +0000
commit3b428adef9078ceb47d33dddffe1d3e140efb9dd (patch)
treeba464591cf1c02d6da314048836e40154204360b /MdeModulePkg/Core/Pei/PeiMain.inf
parent941b356972581e1c24e0b8ea2ce1f01fd89c5bd3 (diff)
downloadedk2-3b428adef9078ceb47d33dddffe1d3e140efb9dd.tar.gz
edk2-3b428adef9078ceb47d33dddffe1d3e140efb9dd.tar.bz2
edk2-3b428adef9078ceb47d33dddffe1d3e140efb9dd.zip
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
Diffstat (limited to 'MdeModulePkg/Core/Pei/PeiMain.inf')
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.inf9
1 files changed, 5 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf
index 7a95ce0ae3..a60c76054f 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.inf
+++ b/MdeModulePkg/Core/Pei/PeiMain.inf
@@ -4,7 +4,7 @@
# 2) Dispatch PEIM from discovered FV.
# 3) Handoff control to DxeIpl to load DXE core and enter DXE phase.
#
-# Copyright (c) 2006 - 2008, Intel Corporation
+# Copyright (c) 2006 - 2009, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -42,6 +42,7 @@
Image/Image.c
Hob/Hob.c
FwVol/FwVol.c
+ FwVol/FwVol.h
Dispatcher/Dispatcher.c
Dependency/Dependency.c
Dependency/Dependency.h
@@ -70,9 +71,9 @@
[Guids]
- gPeiAprioriFileNameGuid ## CONSUMES ## GUID
- gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
-
+ gPeiAprioriFileNameGuid ## CONSUMES ## GUID
+ gEfiFirmwareFileSystem2Guid ## CONSUMES ## FV
+
[Ppis]
gEfiPeiStatusCodePpiGuid ## SOMETIMES_CONSUMES (PeiReportStatusService is not ready if this PPI doesn't exist)
gEfiPeiResetPpiGuid ## SOMETIMES_CONSUMES (PeiResetService is not ready if this PPI doesn't exist)