X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkCompatibilityPkg%2FFoundation%2FLibrary%2FEfiCommonLib%2FIa32%2FEfiCopyMem.asm;h=275e29b0c59e5ae35674f610070bcca28a1073e1;hp=7cf8b7f630789226f818ecf9b4e2e311515d7268;hb=3e99020dbf0a159e34b84e7ae9125f2e368d5390;hpb=4ea9375a2d02a43671437e0d3d808d85afb30afa diff --git a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/EfiCopyMem.asm b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/EfiCopyMem.asm index 7cf8b7f630..275e29b0c5 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/EfiCopyMem.asm +++ b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/EfiCopyMem.asm @@ -73,16 +73,16 @@ EfiCommonLibCopyMem PROC mov eax, esi add eax, ecx ; Source + Count cmp eax, edi - jle _StartByteCopy + jbe _StartByteCopy mov eax, edi add eax, ecx ; Dest + Count cmp eax, esi - jle _StartByteCopy + jbe _StartByteCopy cmp esi, edi je _CopyMemDone - jl _CopyOverlapped ; too bad -- overlaps + jb _CopyOverlapped ; too bad -- overlaps ; Pick up misaligned start bytes to get destination pointer 4-byte aligned _StartByteCopy: