X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FPeiMain.h;h=e71ae78b0439e96b877daa269bb6c4b93f8ae1ed;hp=023114750d5b4b054ff88605fb25141a28f20f52;hb=14e8823a34c01cf6d75b37c959fb2cae91caf771;hpb=3a63377f2b683e2159a7b9dea04166987d899022 diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h index 023114750d..e71ae78b04 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.h +++ b/MdeModulePkg/Core/Pei/PeiMain.h @@ -45,6 +45,7 @@ Revision History #include #include #include +#include extern EFI_GUID gEfiPeiCorePrivateGuid; @@ -1161,6 +1162,24 @@ Returns: --*/ ; +/** + This routine enable a PEIM to register itself to shadow when PEI Foundation + discovery permanent memory. + + @param FileHandle File handle of a PEIM. + + @retval EFI_NOT_FOUND The file handle doesn't point to PEIM itself. + @retval EFI_ALREADY_STARTED Indicate that the PEIM has been registered itself. + @retval EFI_SUCCESS Successfully to register itself. + +**/ +EFI_STATUS +EFIAPI +PeiRegisterForShadow ( + IN EFI_PEI_FILE_HANDLE FileHandle + ) +; + /** Transfers control to a function starting with a new stack.