mirror of https://github.com/acidanthera/audk.git
Fix bug in .S files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@952 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3e50a75cd2
commit
f23c214dca
|
@ -42,7 +42,6 @@ _InternalMemCompareMem:
|
|||
movzbl -1(%esi), %eax
|
||||
movzbl -1(%edi), %edx
|
||||
subl %edx, %eax
|
||||
subl %edx, %eax
|
||||
pop %edi
|
||||
pop %esi
|
||||
ret
|
||||
|
|
|
@ -85,6 +85,6 @@ L2:
|
|||
movsb
|
||||
cld
|
||||
movl 12(%esp), %eax
|
||||
pop %esi
|
||||
pop %edi
|
||||
pop %edi
|
||||
pop %esi
|
||||
ret
|
||||
|
|
|
@ -53,6 +53,6 @@ L0:
|
|||
movsb # Copy bytes backward
|
||||
cld
|
||||
movl 12(%esp),%eax # eax <- Destination as return value
|
||||
pop %edi
|
||||
pop %esi
|
||||
pop %edi
|
||||
pop %esi
|
||||
ret
|
||||
|
|
|
@ -39,4 +39,5 @@ _InternalMemScanMem8:
|
|||
repne scasb
|
||||
leal -1(%edi),%eax
|
||||
cmovnz %ecx, %eax
|
||||
pop %edi
|
||||
ret
|
||||
|
|
|
@ -33,4 +33,5 @@ _InternalMemSetMem:
|
|||
rep
|
||||
stosb
|
||||
movl 8(%esp),%eax
|
||||
pop %edi
|
||||
ret
|
||||
|
|
|
@ -42,7 +42,6 @@ _InternalMemCompareMem:
|
|||
movzbl -1(%esi), %eax
|
||||
movzbl -1(%edi), %edx
|
||||
subl %edx, %eax
|
||||
subl %edx, %eax
|
||||
pop %edi
|
||||
pop %esi
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue