From 1f13f1c49a0a6babc98074f49e46920ada98cd38 Mon Sep 17 00:00:00 2001 From: gikidy Date: Thu, 4 Dec 2008 02:03:39 +0000 Subject: [PATCH] Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6826 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c | 2 +- Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c | 2 +- Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c b/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c index b58b85599a..d8eb7c9436 100644 --- a/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c +++ b/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c @@ -218,7 +218,7 @@ PeCoffLoaderRelocateImageForRuntime ( RETURN_STATUS EFIAPI PeCoffLoaderUnloadImage ( - IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext + IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ) { return mPeiEfiPeiPeCoffLoader->UnloadImage (mPeiEfiPeiPeCoffLoader, ImageContext); diff --git a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c index e4e6225193..ea1276fec9 100644 --- a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c @@ -252,7 +252,7 @@ PeCoffLoaderRelocateImageForRuntime ( RETURN_STATUS EFIAPI PeCoffLoaderUnloadImage ( - IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext + IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ) { if (mPeiEfiPeiPeCoffLoader == NULL) { diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c index 997585cd46..91ce7f6468 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c @@ -248,7 +248,7 @@ PeCoffLoaderRelocateImageForRuntime ( RETURN_STATUS EFIAPI PeCoffLoaderUnloadImage ( - IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext + IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext ) { return mPeiEfiPeiPeCoffLoader->UnloadImage (mPeiEfiPeiPeCoffLoader, ImageContext);