mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
SysCall: Fixed bug in IA32 CallInstallMultipleProtocolInterfaces().
This commit is contained in:
parent
99d5d6b5a9
commit
93743d58e1
@ -65,17 +65,17 @@ ASM_PFX(CallInstallMultipleProtocolInterfaces):
|
|||||||
mov ebp, esp
|
mov ebp, esp
|
||||||
|
|
||||||
; Prepare stack for call.
|
; Prepare stack for call.
|
||||||
mov eax, [ebp + 2 * 4] ; eax = ArgList
|
mov eax, [ebp + 3 * 4] ; eax = ArgList
|
||||||
mov ecx, [ebp + 3 * 4] ; ecx = ArgListSize
|
mov ecx, [ebp + 4 * 4] ; ecx = ArgListSize
|
||||||
lea eax, [eax + ecx * 4]
|
lea eax, [eax + ecx * 4]
|
||||||
copy:
|
copy:
|
||||||
sub eax, 4
|
sub eax, 4
|
||||||
push dword [eax]
|
push dword [eax]
|
||||||
sub ecx, 1
|
sub ecx, 1
|
||||||
jnz copy
|
jnz copy
|
||||||
push dword [ebp + 4]
|
push dword [ebp + 2 * 4]
|
||||||
|
|
||||||
call [ebp + 4 * 4]
|
call [ebp + 5 * 4]
|
||||||
|
|
||||||
; Step over Function arguments.
|
; Step over Function arguments.
|
||||||
mov esp, ebp
|
mov esp, ebp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user