mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
f0ba8fda36
commit
a55caa5335
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue