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
diff --git a/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c b/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c
index b58b855..d8eb7c9 100644
--- a/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c
+++ b/Nt32Pkg/Library/DxeNt32PeCoffLib/DxeNt32PeCoffLib.c
@@ -218,7 +218,7 @@
 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 e4e6225..ea1276f 100644
--- a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c
+++ b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c
@@ -252,7 +252,7 @@
 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 997585c..91ce7f6 100644
--- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c
+++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c
@@ -248,7 +248,7 @@
 RETURN_STATUS

 EFIAPI

 PeCoffLoaderUnloadImage (

-  IN PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext

+  IN OUT PE_COFF_LOADER_IMAGE_CONTEXT         *ImageContext

   )

 {

   return mPeiEfiPeiPeCoffLoader->UnloadImage (mPeiEfiPeiPeCoffLoader, ImageContext);