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:
@ -267,21 +267,4 @@ Decompress (
|
|||||||
OUT UINTN *OutputSize
|
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
|
#endif
|
||||||
|
@ -59,16 +59,15 @@ CONST EFI_PEI_PPI_DESCRIPTOR gEndOfPeiSignalPpi = {
|
|||||||
/**
|
/**
|
||||||
Initializes the Dxe Ipl PPI
|
Initializes the Dxe Ipl PPI
|
||||||
|
|
||||||
@param FfsHandle The handle of FFS file.
|
@param FileHandle Handle of the file being invoked.
|
||||||
@param PeiServices General purpose services available to
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
every PEIM.
|
|
||||||
@return EFI_SUCESS
|
|
||||||
|
|
||||||
|
@return EFI_SUCESS
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PeimInitializeDxeIpl (
|
PeimInitializeDxeIpl (
|
||||||
IN EFI_PEI_FILE_HANDLE FfsHandle,
|
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@ -81,7 +80,7 @@ PeimInitializeDxeIpl (
|
|||||||
BootMode = GetBootModeHob ();
|
BootMode = GetBootModeHob ();
|
||||||
|
|
||||||
if (BootMode != BOOT_ON_S3_RESUME) {
|
if (BootMode != BOOT_ON_S3_RESUME) {
|
||||||
Status = PeiServicesRegisterForShadow (FfsHandle);
|
Status = PeiServicesRegisterForShadow (FileHandle);
|
||||||
if (Status == EFI_SUCCESS) {
|
if (Status == EFI_SUCCESS) {
|
||||||
//
|
//
|
||||||
// EFI_SUCESS means the first time call register for shadow
|
// 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.
|
This function is the entry point of BaseMemoryTestPei PEIM.
|
||||||
It installs the PEI_BASE_MEMORY_TEST_PPI.
|
It installs the PEI_BASE_MEMORY_TEST_PPI.
|
||||||
|
|
||||||
@param FfsHeader Pointer to FFS File Header.
|
@param FileHandle Handle of the file being invoked.
|
||||||
@param PeiServices An indirect pointer to the PEI Services Table published by the PEI Foundation.
|
@param PeiServices Describes the list of possible PEI Services.
|
||||||
|
|
||||||
@retval EFI_SUCCESS PEI_BASE_MEMORY_TEST_PPI is successfully installed.
|
@retval EFI_SUCCESS PEI_BASE_MEMORY_TEST_PPI is successfully installed.
|
||||||
@retval Others PEI_BASE_MEMORY_TEST_PPI is not successfully installed.
|
@retval Others PEI_BASE_MEMORY_TEST_PPI is not successfully installed.
|
||||||
@ -40,7 +40,7 @@ EFI_PEI_PPI_DESCRIPTOR PpiListPeiBaseMemoryTest = {
|
|||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
PeiBaseMemoryTestInit (
|
PeiBaseMemoryTestInit (
|
||||||
IN EFI_FFS_FILE_HEADER *FfsHeader,
|
IN EFI_PEI_FILE_HANDLE FileHandle,
|
||||||
IN CONST EFI_PEI_SERVICES **PeiServices
|
IN CONST EFI_PEI_SERVICES **PeiServices
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user