summaryrefslogtreecommitdiff
path: root/MdePkg/Library/PeimEntryPoint
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-28 09:07:50 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-28 09:07:50 +0000
commit0308e20dc67c63e48211b140558ae3bd13a1cbf5 (patch)
tree7516a4e2ed18c99eacba9ede87dda6aca1193415 /MdePkg/Library/PeimEntryPoint
parenta41a173f8619b0d3f0f3859814351790bd9b77a1 (diff)
downloadedk2-platforms-0308e20dc67c63e48211b140558ae3bd13a1cbf5.tar.xz
1. build.py's changes : include XXXEntryPointLib.h into the corresponding autogen.c files of various modules to avoid the inconsistence between the interface definition of library class and the implementation of autogen.c
2. code base changes : modify some interface definitions to follow the lastest Mde Library Spec. 3. PeiCore changes : remove the return value of PeiCore() which is meaningless as PeiCore will never reach the end of procedure.replace it with VOID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6271 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeimEntryPoint')
-rw-r--r--MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
index 8a2c71a3dd..6ea991984e 100644
--- a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
+++ b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c
@@ -31,8 +31,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
EFIAPI
_ModuleEntryPoint (
- IN EFI_PEI_FILE_HANDLE *FfsHeader,
- IN EFI_PEI_SERVICES **PeiServices
+ IN EFI_PEI_FILE_HANDLE FileHandle,
+ IN CONST EFI_PEI_SERVICES **PeiServices
)
{
if (_gPeimRevision != 0) {
@@ -45,12 +45,12 @@ _ModuleEntryPoint (
//
// Call constructor for all libraries
//
- ProcessLibraryConstructorList (FfsHeader, PeiServices);
+ ProcessLibraryConstructorList (FileHandle, PeiServices);
//
// Call the driver entry point
//
- return ProcessModuleEntryPointList (FfsHeader, PeiServices);
+ return ProcessModuleEntryPointList (FileHandle, PeiServices);
}
@@ -66,9 +66,9 @@ _ModuleEntryPoint (
EFI_STATUS
EFIAPI
EfiMain (
- IN EFI_PEI_FILE_HANDLE *FfsHeader,
- IN EFI_PEI_SERVICES **PeiServices
+ IN EFI_PEI_FILE_HANDLE FileHandle,
+ IN CONST EFI_PEI_SERVICES **PeiServices
)
{
- return _ModuleEntryPoint (FfsHeader, PeiServices);
+ return _ModuleEntryPoint (FileHandle, PeiServices);
}