summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei
AgeCommit message (Collapse)AuthorFilesLines
2008-08-01Increase size of function addresses printed in DEBUG messages from 10 to 11 ↵mdkinney2-3/+3
characters git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5602 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23Code scrub for PeiCore module.klu211-95/+91
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5558 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21change lower case to upper case to pass Unix builderic_tian1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5531 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-19Fix a bug that PeiCore might fail to fix up Ppi pointer in CAR. qhuang83-11/+11
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5527 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17Change first char in filename to uppercase klu21-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5509 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17Change first char in filename to uppercase klu21-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5508 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-17Change first char in filename to uppercase klu21-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5507 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16Fix function comment to follows doxygen format.klu214-1854/+1103
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5499 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-14TempRamSupportPpi is architectural required for IA32/x64/IPF.klu21-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5462 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08Remove window EOLklu21-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5425 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08PeiCore should fixup heap/stack pointer according to heap's/stack's base ↵klu21-7/+12
address separately. After this check-in, PeiCore will do not make any assumption of heap/stack layout in CAR. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5421 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-29If the last PEIM dispatched in Pre-Memory PEI is the last PEIM in the BFV, ↵mdkinney1-0/+5
then no PEIMs will be dispatched in Post Memory PEI. Reset CurrentPeimCount on the transition from Pre-Memory PEI to Post-Memory PEI git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5313 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14Change MAX_PPI_DESCRIPTORS to FixedPcd PcdPeiCoreMaxPpiSupported, the ↵lgao43-8/+7
default value is 64. Maybe other platform requires more than 64 Ppi and set this Pcd value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5061 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03Remove unused gEfiPeiSecurityPpiGuid for PeiMain and DxeIpllgao41-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4990 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03Added necessary dependent packagesjwang361-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4989 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03PrivateInMem->CurrentPeimCount should not be incremented when memory is ↵klu21-5/+0
discovered, line 376 judgment has guarantee that the PEIM who discovery the memory would not be dispatched twice. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4988 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19Modify all file header to follow doxygen formatklu214-28/+28
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4917 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10Fix GCC building issue.klu23-7/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4808 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07Add comment for initialization value of CARklu22-5/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4806 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07For Itanium platform, the switch CAR action has been moved to SecCore ↵klu27-361/+0
according to PI specification, so I clean up the PeiCore to remove stack related code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4803 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07Correct the visit point's type, it should be UINT32 but not UINTNklu21-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4801 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06Remove commented out code.klu21-34/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06The calculating action for CAR usage should be put before calling temporary ↵klu22-29/+24
ram support PPI, because the CAR is unvaiable after switch stack from temporary memory to permenent memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4795 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29Merge Temporary Ram support patch.klu26-320/+443
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-03Fix bug in latest check-in of "Make sure the base address of stack base and ↵klu21-4/+11
base address of hob start is in page alignment in InstallPeiMemory() interface." git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4666 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31Roll back the updating of 4646 as it will cause the Richford SoftSDV boot ↵zliu31-11/+4
failure git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4648 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31Make sure the base address of stack base and base address of hob start is in ↵klu21-4/+11
page alignment in InstallPeiMemory() interface. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4646 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26Fixed the bug that the PPI descriptor number defined in PeiCore.h is not ↵vanjeff1-27/+27
enough to hold all the PPI and PPI notifies. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4435 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10MdeModule cleanup for PI:klu25-18/+20
1) PeiMain: - Use PCD for bundle of status code which definitions are put into MdePkg.dec file. 2) DxeMain: - Use PCD for bundle of status code which definitions are put into MdePkg.dec file. - Do not produce SectionExtraction protocol which is belong to IntelFramework specification. - Update many macro for PI specifications. 3) DxeIpl - Use PCD for bundle of status code which definitions are put into MdePkg.dec file. 4) Add SectionExtractionDxe module (IntelFrameworkModulePkg) - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-06Enable PeiCore to dispatch the encapsulated fv images with depex expression. ↵lgao45-88/+339
This feature can process the different fv images in the different boot path, which is useful for boot performance and image size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4366 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04Roll back wrong check in, peimain and dxe main still dependent on ↵klu21-1/+2
intelframeworkpkg yet. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4354 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04Remove useful dependency package's relationshipklu21-1/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4353 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-29remove building of EFI_SEC_PLATFORM_INFORMATION_PPI GUIDed HOB from PEI ↵qwang123-36/+0
core. Platform module is a better place for size and performance consideration. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4344 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-191) Make PEI PI File system service to skip PAD fileqwang122-67/+2
2) Remove some unused code git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4302 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-15Add a feature flag to allow platform developer to decide if TE or PE32 ↵qwang122-6/+18
section should be searched in PEI dispatcher. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4298 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-081) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may ↵qwang124-16/+19
not be ready, we flag that more Peims need to be dispatched. 2) Set the stack to be cacheable before the stack switch occurs so that IPF recovery path will be run from cacheble memory for code, data and stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4288 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01Should use MaxCarTop but *not* CarTop to computer the usage of stackklu21-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4259 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01Print entry point address by using 0x%10p for the above 4G address.lgao41-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4256 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31Print real entry point for IPF image.lgao42-8/+21
Print DxeCore Entry point and image address. Set FileHandle = NULL when not found FFS file in PeiService PeiFfsFindNextFile. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4254 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31Fix the issue that CAR size is shown as negative number.klu21-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4249 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26Add one judge whether TeImage or PeImage has reloc section when relocate ↵lgao41-0/+7
TeImage or PeImage into memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24ASSERT_EFI_ERROR (FALSE) should be ASSERT (FALSE)qwang121-1/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4208 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22Fix alignment requirement when Load IPF TeImage into memory.lgao41-0/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4197 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19Fix a bug which does not run PeiCore from memory after shadowing it. qwang121-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4186 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18Fix a bug:qwang123-0/+36
PI spec Vol 1, 7.3.1 specifies that this same information reported by EFI_SEC_PLATFORM_INFORMATION_PPI will be placed in a GUIDed HOB with the PPI GUID as the HOB GUID for HOB consumer phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4166 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18The BaseAddress and Length should be align PAGE according to PI ↵klu21-1/+1
specification for EFI_MEMORY_ALLOCATION_HOB git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16Remove comments for removed parameter.klu22-7/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4123 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-151) add gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported and ↵qwang124-16/+18
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv to replace the MACRO definitions. 2) Fix a bug in Pei dispatcher to suppoprt PEI Apriori file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4116 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10Increase max FVs from 4 to 6.mdkinney1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4083 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-100) Change the PEI core behavior to not install FV HOB for each FV INFO PPI ↵qwang121-1/+0
installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core. 1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase. 2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4066 6f19259b-4bc3-4df7-8a09-765794883524