X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FSwapBytes64.S;h=f08177d97b87af64d0d447cbfc3b4d0f061f7290;hb=57246fe073e7946e03387576fca76eba86b51694;hp=8c3864d8640fbda03c0e6c272ad6110e138ec6c2;hpb=85ea851e6a3df3f5021e9e038d6b4162c66b394c;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S index 8c3864d864..f08177d97b 100644 --- a/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S +++ b/MdePkg/Library/BaseLib/Ia32/SwapBytes64.S @@ -31,8 +31,8 @@ #------------------------------------------------------------------------------ .globl ASM_PFX(InternalMathSwapBytes64) ASM_PFX(InternalMathSwapBytes64): - movl 8(%esp), %eax - movl 4(%esp), %edx + movl 8(%esp), %eax # eax <- upper 32 bits + movl 4(%esp), %edx # edx <- lower 32 bits bswapl %eax bswapl %edx ret