summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Library
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 05:18:34 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 05:18:34 +0000
commitf0ba8fda369980905c1577c5e8492815050af802 (patch)
treed7842f5db2557aaf2a6c97679505dc4ef9165193 /Nt32Pkg/Library
parent8bd22b8aaa4f5d82e6d9493cb369c8bdc74878fe (diff)
downloadedk2-platforms-f0ba8fda369980905c1577c5e8492815050af802.tar.xz
Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6754 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Library')
-rw-r--r--Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c
index 80796020f2..997585cd46 100644
--- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c
+++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c
@@ -36,8 +36,8 @@ EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader;
The constructor must be called after PeCofferLoader guid structure is installed.
It will ASSERT() if PeCofferLoader guid structure is not installed.
- @param FfsHeader Pointer to FFS header the loaded driver.
- @param PeiServices Pointer to the PEI services.
+ @param FileHandle Handle of the file being invoked.
+ @param PeiServices Describes the list of possible PEI Services.
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
@@ -45,8 +45,8 @@ EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader;
EFI_STATUS
EFIAPI
PeiNt32PeCoffLibConstructor (
- IN EFI_FFS_FILE_HEADER *FfsHeader,
- IN EFI_PEI_SERVICES **PeiServices
+ IN EFI_PEI_FILE_HANDLE FileHandle,
+ IN CONST EFI_PEI_SERVICES **PeiServices
)
{
EFI_STATUS Status;
@@ -64,7 +64,7 @@ PeiNt32PeCoffLibConstructor (
// GuidHob is not ready, try to locate PeCoffLoader guid structure.
//
Status = (*PeiServices)->LocatePpi (
- (CONST EFI_PEI_SERVICES **)PeiServices,
+ PeiServices,
&gEfiPeiPeCoffLoaderGuid,
0,
NULL,