diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 05:24:29 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 05:24:29 +0000 |
commit | a55caa53354b0bb6684f703ba62b403a74e85495 (patch) | |
tree | c0dcfe3e6a341a290298e07149f10e8d4677a6c3 /MdeModulePkg | |
parent | f0ba8fda369980905c1577c5e8492815050af802 (diff) | |
download | edk2-platforms-a55caa53354b0bb6684f703ba62b403a74e85495.tar.xz |
Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6755 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeIpl.h | 17 | ||||
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 13 | ||||
-rw-r--r-- | MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c | 8 |
3 files changed, 10 insertions, 28 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h index 839cd30d9e..ae3c451a88 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h +++ b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h @@ -267,21 +267,4 @@ Decompress ( OUT UINTN *OutputSize
);
-/**
- Initializes the Dxe Ipl PPI
-
- @param FfsHandle The handle of FFS file.
- @param PeiServices General purpose services available to
- every PEIM.
- @return EFI_SUCESS
-
-**/
-EFI_STATUS
-EFIAPI
-PeimInitializeDxeIpl (
- IN EFI_PEI_FILE_HANDLE FfsHandle,
- IN CONST EFI_PEI_SERVICES **PeiServices
- );
-
-
#endif
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c index 3382cd409b..d2f7521bcd 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c +++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c @@ -59,17 +59,16 @@ CONST EFI_PEI_PPI_DESCRIPTOR gEndOfPeiSignalPpi = { /**
Initializes the Dxe Ipl PPI
- @param FfsHandle The handle of FFS file.
- @param PeiServices General purpose services available to
- every PEIM.
- @return EFI_SUCESS
+ @param FileHandle Handle of the file being invoked.
+ @param PeiServices Describes the list of possible PEI Services.
+ @return EFI_SUCESS
**/
EFI_STATUS
EFIAPI
PeimInitializeDxeIpl (
- IN EFI_PEI_FILE_HANDLE FfsHandle,
- IN CONST EFI_PEI_SERVICES **PeiServices
+ IN EFI_PEI_FILE_HANDLE FileHandle,
+ IN CONST EFI_PEI_SERVICES **PeiServices
)
{
EFI_STATUS Status;
@@ -81,7 +80,7 @@ PeimInitializeDxeIpl ( BootMode = GetBootModeHob ();
if (BootMode != BOOT_ON_S3_RESUME) {
- Status = PeiServicesRegisterForShadow (FfsHandle);
+ Status = PeiServicesRegisterForShadow (FileHandle);
if (Status == EFI_SUCCESS) {
//
// EFI_SUCESS means the first time call register for shadow
diff --git a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c index 39b2fdc70d..3e16403d79 100644 --- a/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c +++ b/MdeModulePkg/Universal/MemoryTest/BaseMemoryTestPei/BaseMemoryTest.c @@ -30,8 +30,8 @@ EFI_PEI_PPI_DESCRIPTOR PpiListPeiBaseMemoryTest = { This function is the entry point of BaseMemoryTestPei PEIM.
It installs the PEI_BASE_MEMORY_TEST_PPI.
- @param FfsHeader Pointer to FFS File Header.
- @param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
+ @param FileHandle Handle of the file being invoked.
+ @param PeiServices Describes the list of possible PEI Services.
@retval EFI_SUCCESS PEI_BASE_MEMORY_TEST_PPI is successfully installed.
@retval Others PEI_BASE_MEMORY_TEST_PPI is not successfully installed.
@@ -40,8 +40,8 @@ EFI_PEI_PPI_DESCRIPTOR PpiListPeiBaseMemoryTest = { EFI_STATUS
EFIAPI
PeiBaseMemoryTestInit (
- IN EFI_FFS_FILE_HEADER *FfsHeader,
- IN CONST EFI_PEI_SERVICES **PeiServices
+ IN EFI_PEI_FILE_HANDLE FileHandle,
+ IN CONST EFI_PEI_SERVICES **PeiServices
)
{
return PeiServicesInstallPpi (&PpiListPeiBaseMemoryTest);
|