summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeimEntryPoint
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-12 08:51:16 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-12 08:51:16 +0000
commitf6d2bcc6fa8161d20ff2b3601c94c566b5a9bc35 (patch)
tree7674a5922cf8f69d57c6653e8ce51d08b8c87b28 /MdePkg/Library/PeimEntryPoint
parent963dbb30018c6420a9b27778e05e5eed74b23173 (diff)
downloadedk2-f6d2bcc6fa8161d20ff2b3601c94c566b5a9bc35.tar.gz
edk2-f6d2bcc6fa8161d20ff2b3601c94c566b5a9bc35.tar.bz2
edk2-f6d2bcc6fa8161d20ff2b3601c94c566b5a9bc35.zip
Update EntryPoint library header
Remove UefiTcgPlatform.h from Uefi Directory to IndustryStandard Change EFI_OPTIONAL_POINTER to EFI_OPTIONAL_PTR aligned to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7014 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeimEntryPoint')
-rw-r--r--MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
index a03c377059..59503e4b77 100644
--- a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
+++ b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
@@ -20,10 +20,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
/**
- Image entry point of Peim.
+ The entry point of PE/COFF Image for a PEIM.
+
+ This function is the entry point for a PEIM. This function must call ProcessLibraryConstructorList()
+ and ProcessModuleEntryPointList(). The return value from ProcessModuleEntryPointList() is returned.
+ If _gPeimRevision is not zero and PeiServices->Hdr.Revision is less than _gPeimRevison, then ASSERT().
@param FileHandle Handle of the file being invoked.
- Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
@param PeiServices Describes the list of possible PEI Services.
@retval EFI_SUCCESS The PEIM executed normally.
@@ -57,9 +60,10 @@ _ModuleEntryPoint (
/**
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
+
+ This function is required to call _ModuleEntryPoint() passing in FileHandle and PeiServices.
@param FileHandle Handle of the file being invoked.
- Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().
@param PeiServices Describes the list of possible PEI Services.
@retval EFI_SUCCESS The PEIM executed normally.