X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FPeiCoreEntryPoint.h;h=00105f5d0b5a7c786c54c1839e2949430d532b59;hb=c7d265a94a3ee2517430e4f19f5b24482e5e7132;hp=76afc594cb8dcab147a573c054c50ec9c2e7528e;hpb=1a5589a183b11fcfa54a0c4b5496d80f233b1ceb;p=mirror_edk2.git diff --git a/MdePkg/Include/Library/PeiCoreEntryPoint.h b/MdePkg/Include/Library/PeiCoreEntryPoint.h index 76afc594cb..00105f5d0b 100644 --- a/MdePkg/Include/Library/PeiCoreEntryPoint.h +++ b/MdePkg/Include/Library/PeiCoreEntryPoint.h @@ -16,19 +16,35 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define __MODULE_ENTRY_POINT_H__ /** + Enrty point to PEI core. - @param PeiStartupDescriptor Pointer of start up information. - - @return Status returned by entry points of core and drivers. + @param SecCoreData Points to a data structure containing + information about the PEI core's + operating environment, such as the size + and location of temporary RAM, the stack + location and the BFV location. The type + EFI_SEC_PEI_HAND_OFF is + + @param PpiList Points to a list of one or more PPI + descriptors to be installed initially by + the PEI core. An empty PPI list consists + of a single descriptor with the end-tag + EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST. + As part of its initialization phase, the + PEI Foundation will add these SEC-hosted + PPIs to its PPI database such that both + the PEI Foundation and any modules can + leverage the associated service calls + and/or code in these early PPIs. **/ -EFI_STATUS -EFIAPI -_ModuleEntryPoint ( +VOID +EFIAPI +_ModuleEntryPoint( IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData, IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList - ); +); /** Wrapper of enrty point to PEI core. @@ -38,7 +54,7 @@ _ModuleEntryPoint ( @return Status returned by entry points of core and drivers. **/ -EFI_STATUS +VOID EFIAPI EfiMain ( IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData, @@ -69,7 +85,7 @@ ProcessLibraryConstructorList ( @return Status returned by entry points of drivers. **/ -EFI_STATUS +VOID EFIAPI ProcessModuleEntryPointList ( IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,