X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxeIplPeim%2FIa32%2FImageRead.c;h=a303c90721946310b21000534fe27cc734860d9e;hp=bca3180aada568c6b6908f7c571032755a498dfe;hb=b98da1b1f9b726f580d05f8680455122ba924da6;hpb=f45af90b0195eb9712609d3af91d523edc371115 diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c index bca3180aad..a303c90721 100644 --- a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c +++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c @@ -14,10 +14,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "DxeIpl.h" - - - - /** Support routine for the PE/COFF Loader that reads a buffer from a PE/COFF file @@ -50,8 +46,6 @@ PeiImageRead ( // // This function assumes 32-bit alignment to increase performance // -// ASSERT (ALIGN_POINTER (Destination32, sizeof (UINT32)) == Destination32); -// ASSERT (ALIGN_POINTER (Source32, sizeof (UINT32)) == Source32); Length = *ReadSize; while (Length-- != 0) { @@ -72,7 +66,7 @@ PeiImageRead ( @param ImageContext A pointer to the structure of PE_COFF_LOADER_IMAGE_CONTEXT - @retval EFI_SUCCESS This function always return EFI_SUCCESS. + @retval EFI_SUCCESS This function always returns EFI_SUCCESS. **/ EFI_STATUS