diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-14 09:01:34 +0000 |
commit | f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a (patch) | |
tree | 2937d148454e21adf29de0090e13b2fe9838711b /MdePkg/Library/BasePeCoffLib | |
parent | 6aab82140b20fab408f79dd428555b5d03370f72 (diff) | |
download | edk2-platforms-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.tar.xz |
Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BasePeCoffLib
MdePkg/Library/CpuLib
MdePkg/Library/DxeMemoryLib
MdePkg/Library/DxePiLib
MdePkg/Library/PeiIoLib
MdePkg/Library/PeiMemoryLib
MdePkg/Library/UefiBootServicesTableLib
MdePkg/Library/UefiLib
MdePkg/Library/UefiRuntimeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5464 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePeCoffLib')
4 files changed, 8 insertions, 4 deletions
diff --git a/MdePkg/Library/BasePeCoffLib/Ebc/PeCoffLoaderEx.c b/MdePkg/Library/BasePeCoffLib/Ebc/PeCoffLoaderEx.c index 3faaab85e5..b9ac46b0d6 100644 --- a/MdePkg/Library/BasePeCoffLib/Ebc/PeCoffLoaderEx.c +++ b/MdePkg/Library/BasePeCoffLib/Ebc/PeCoffLoaderEx.c @@ -75,7 +75,7 @@ PeCoffLoaderImageFormatSupported ( @param FixupData Pointer to a buffer to log the fixups.
@param Adjust The offset to adjust the fixup.
- @return Status code.
+ @return Always return UNSUPPORTED.
**/
RETURN_STATUS
diff --git a/MdePkg/Library/BasePeCoffLib/Ia32/PeCoffLoaderEx.c b/MdePkg/Library/BasePeCoffLib/Ia32/PeCoffLoaderEx.c index 20ff513d81..ee118bfef8 100644 --- a/MdePkg/Library/BasePeCoffLib/Ia32/PeCoffLoaderEx.c +++ b/MdePkg/Library/BasePeCoffLib/Ia32/PeCoffLoaderEx.c @@ -75,7 +75,7 @@ PeCoffLoaderImageFormatSupported ( @param FixupData Pointer to a buffer to log the fixups.
@param Adjust The offset to adjust the fixup.
- @return Status code.
+ @return Always return UNSUPPORTED.
**/
RETURN_STATUS
diff --git a/MdePkg/Library/BasePeCoffLib/Ipf/PeCoffLoaderEx.c b/MdePkg/Library/BasePeCoffLib/Ipf/PeCoffLoaderEx.c index dc94da9aed..2f0b9b850c 100644 --- a/MdePkg/Library/BasePeCoffLib/Ipf/PeCoffLoaderEx.c +++ b/MdePkg/Library/BasePeCoffLib/Ipf/PeCoffLoaderEx.c @@ -71,7 +71,8 @@ @param FixupData Pointer to a buffer to log the fixups.
@param Adjust The offset to adjust the fixup.
- @return Status code.
+ @retval RETURN_SUCCESS Succeed to fix the relocation entry.
+ @retval RETURN_UNSUPPOTED Unrecoganized relocation entry.
**/
RETURN_STATUS
@@ -227,6 +228,7 @@ PeCoffLoaderRelocateImageEx ( @param Machine Machine type from the PE Header.
@return TRUE if this PE/COFF loader can load the image
+ @return FALSE unrecoganized machine type of image.
**/
BOOLEAN
@@ -254,6 +256,8 @@ PeCoffLoaderImageFormatSupported ( @retval RETURN_SUCCESS Data is read from FileOffset from the Handle into
the buffer.
+ @retval RETURN_UNSUPPORTED Un-recoganized relocation entry
+ type.
**/
RETURN_STATUS
PeHotRelocateImageEx (
diff --git a/MdePkg/Library/BasePeCoffLib/x64/PeCoffLoaderEx.c b/MdePkg/Library/BasePeCoffLib/x64/PeCoffLoaderEx.c index 3126ca8c2b..937d103d78 100644 --- a/MdePkg/Library/BasePeCoffLib/x64/PeCoffLoaderEx.c +++ b/MdePkg/Library/BasePeCoffLib/x64/PeCoffLoaderEx.c @@ -75,7 +75,7 @@ PeCoffLoaderImageFormatSupported ( @param FixupData Pointer to a buffer to log the fixups.
@param Adjust The offset to adjust the fixup.
- @return Status code.
+ @return EFI_UNSUPPORTED.
**/
RETURN_STATUS
|