Home
last modified time | relevance | path

Searched refs:esp (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/Ia32/
DGasket.S32 movl %esp, %ebp
33 subl $24, %esp // sub extra 16 from the stack for alignment
34 and $-16, %esp // stack needs to end in 0xFFFFFFF0 before call
36 movl %eax, 4(%esp)
38 movl %eax, (%esp)
49 movl %esp, %ebp
50 subl $24, %esp // sub extra 16 from the stack for alignment
51 and $-16, %esp // stack needs to end in 0xFFFFFFF0 before call
53 movl %eax, 4(%esp)
55 movl %eax, (%esp)
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/Ia32/
DEbcLowLevel.S24 mov %esp,%ebp
25 mov 0xc(%esp),%ecx
26 mov 0x14(%esp),%eax
27 mov 0x10(%esp),%edx
29 sub %eax,%esp
30 mov %esp,%ebx
41 mov %ebp,%esp
42 mov %ebp,%esp
51 mov %esp, %ebp
54 sub $0x40, %esp
[all …]
DEbcLowLevel.asm55 mov ebp, esp ; standard function prolog
59 mov ecx, dword ptr [esp + 0Ch]
63 mov eax, dword ptr [esp + 14h]
64 mov edx, dword ptr [esp + 10h]
66 sub esp, eax
67 mov ebx, esp
82 ; equals the original esp, so set them equal
83 mov esp, ebp
86 mov esp, ebp
140 mov ebp, esp
[all …]
DEbcLowLevel.nasm47 mov ebp, esp ; standard function prolog
51 mov ecx, dword [esp + 0xC]
55 mov eax, dword [esp + 0x14]
56 mov edx, dword [esp + 0x10]
58 sub esp, eax
59 mov ebx, esp
74 ; equals the original esp, so set them equal
75 mov esp, ebp
78 mov esp, ebp
132 mov ebp, esp
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIo2Dxe/Ia32/
DIoFifo.asm31 mov dx, [esp + 8]
32 mov ecx, [esp + 12]
33 mov edi, [esp + 16]
51 mov dx, [esp + 8]
52 mov ecx, [esp + 12]
53 mov edi, [esp + 16]
71 mov dx, [esp + 8]
72 mov ecx, [esp + 12]
73 mov edi, [esp + 16]
91 mov dx, [esp + 8]
[all …]
DIoFifo.nasm30 mov dx, [esp + 8]
31 mov ecx, [esp + 12]
32 mov edi, [esp + 16]
50 mov dx, [esp + 8]
51 mov ecx, [esp + 12]
52 mov edi, [esp + 16]
70 mov dx, [esp + 8]
71 mov ecx, [esp + 12]
72 mov edi, [esp + 16]
90 mov dx, [esp + 8]
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/Ia32/
Dllrem.c56 sub esp, 8 in _allrem() local
57 push esp in _allrem() local
62 mov eax, [esp + 28] in _allrem()
64 mov eax, [esp + 28] in _allrem()
70 mov eax, [esp + 28] in _allrem()
72 mov eax, [esp + 28] in _allrem()
83 mov eax, [esp + 20] in _allrem()
84 mov edx, [esp + 24] in _allrem()
89 add esp, 28 in _allrem()
Dullrem.c56 sub esp, 8 in _aullrem() local
57 push esp in _aullrem() local
62 mov eax, [esp + 28] in _aullrem()
64 mov eax, [esp + 28] in _aullrem()
70 mov eax, [esp + 28] in _aullrem()
72 mov eax, [esp + 28] in _aullrem()
83 mov eax, [esp + 20] in _aullrem()
84 mov edx, [esp + 24] in _aullrem()
89 add esp, 28 in _aullrem()
Dulldvrm.c62 sub esp, 8 in _aulldvrm() local
63 push esp in _aulldvrm() local
68 mov eax, [esp + 28] in _aulldvrm()
70 mov eax, [esp + 28] in _aulldvrm()
76 mov eax, [esp + 28] in _aulldvrm()
78 mov eax, [esp + 28] in _aulldvrm()
90 mov ecx, [esp + 20] in _aulldvrm()
91 mov ebx, [esp + 24] in _aulldvrm()
96 add esp, 28 in _aulldvrm()
Dlldvrm.c62 sub esp, 8 in _alldvrm() local
63 push esp in _alldvrm() local
68 mov eax, [esp + 28] in _alldvrm()
70 mov eax, [esp + 28] in _alldvrm()
76 mov eax, [esp + 28] in _alldvrm()
78 mov eax, [esp + 28] in _alldvrm()
90 mov ecx, [esp + 20] in _alldvrm()
91 mov ebx, [esp + 24] in _alldvrm()
96 add esp, 28 in _alldvrm()
Dumoddi3.S54 sub $8, %esp
55 push %esp
60 movl 28(%esp), %eax
62 movl 28(%esp), %eax
68 movl 28(%esp), %eax
70 movl 28(%esp), %eax
81 movl 20(%esp), %eax
82 movl 24(%esp), %edx
87 add $28, %esp
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/
DExceptionHandlerAsm.asm62 sub esp, 8 ; reserve room for filling exception data later
63 push [esp + 8]
64 xchg ecx, [esp] ; get vector number
67 push [esp] ; addition push if exception data needed
69 xchg ecx, [esp] ; restore ecx
102 xchg ecx, [esp]
136 xchg ecx, [esp+4]
163 xchg ecx, [esp]
167 mov ebp, esp
190 and esp, 0fffffff0h
[all …]
DExceptionHandlerAsm.nasm59 sub esp, 8 ; reserve room for filling exception data later
60 push dword [esp + 8]
61 xchg ecx, [esp] ; get vector number
64 push dword [esp] ; addition push if exception data needed
66 xchg ecx, [esp] ; restore ecx
100 xchg ecx, [esp]
134 xchg ecx, [esp+4]
161 xchg ecx, [esp]
165 mov ebp, esp
188 and esp, 0xfffffff0
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DEnablePaging64.S41 movl $LongStart, (%esp)
55 movl (%esp), %ebx # mov rbx, [esp]
57 movl 8(%esp), %ecx # mov rcx, [esp + 8]
59 movl 0x10(%esp), %edx # mov rdx, [esp + 10h]
61 movl 0x18(%esp), %esp # mov rsp, [esp + 18h]
63 addl $0x-20, %esp # add rsp, -20h
DEnablePaging64.asm39 mov [esp], @F ; offset for far retf, seg is the 1st arg
53 mov ebx, [esp] ; mov rbx, [esp]
55 mov ecx, [esp + 8] ; mov rcx, [esp + 8]
57 mov edx, [esp + 10h] ; mov rdx, [esp + 10h]
59 mov esp, [esp + 18h] ; mov rsp, [esp + 18h]
61 add esp, -20h ; add rsp, -20h
DDivU64x64Remainder.S37 movl 16(%esp), %ecx
40 movl 20(%esp), %ecx
43 movl %ecx, 16(%esp)
50 mov 20(%esp), %edx
51 mov 16(%esp), %eax
54 mov 24(%esp), %ebx
63 movl 28(%esp), %ecx
64 mull 24(%esp)
67 mov 32(%esp), %ecx
77 sub 24(%esp), %eax
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DEnablePaging64.S39 movl $LongStart, (%esp) # offset for far retf, seg is the 1st arg
53 movl (%esp), %ebx # mov rbx, [esp]
55 movl 8(%esp), %ecx # mov rcx, [esp + 8]
57 movl 0x10(%esp), %edx # mov rdx, [esp + 10h]
59 movl 0x18(%esp), %esp # mov rsp, [esp + 18h]
61 addl $-0x20, %esp # add rsp, -20h
DEnablePaging64.asm41 mov DWORD PTR [esp], @F ; offset for far retf, seg is the 1st arg
55 mov ebx, [esp] ; mov rbx, [esp]
57 mov ecx, [esp + 8] ; mov rcx, [esp + 8]
59 mov edx, [esp + 10h] ; mov rdx, [esp + 10h]
61 mov esp, [esp + 18h] ; mov rsp, [esp + 18h]
63 add esp, -20h ; add rsp, -20h
DEnablePaging64.nasm40 mov DWORD [esp], .0 ; offset for far retf, seg is the 1st arg
54 mov ebx, [esp] ; mov rbx, [esp]
56 mov ecx, [esp + 8] ; mov rcx, [esp + 8]
58 mov edx, [esp + 0x10] ; mov rdx, [esp + 10h]
60 mov esp, [esp + 0x18] ; mov rsp, [esp + 18h]
62 add esp, -0x20 ; add rsp, -20h
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiException.nasm290 mov ebp, esp
296 and esp, 0xfffffff0
297 sub esp, 12
329 sub esp, 8
330 sidt [esp]
331 mov eax, [esp + 2]
332 xchg eax, [esp]
334 mov [esp+4], eax
336 sub esp, 8
337 sgdt [esp]
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibMmx/Ia32/
DSetMem.nasm38 mov al, [esp + 16]
42 mov ecx, [esp + 12] ; ecx <- Count
43 mov edi, [esp + 8] ; edi <- Buffer
48 add esp, -0x10
49 movq [esp], mm0 ; save mm0
50 movq [esp + 8], mm1 ; save mm1
59 movq mm0, [esp] ; restore mm0
60 movq mm1, [esp + 8] ; restore mm1
61 add esp, 0x10 ; stack cleanup
65 mov eax, [esp + 8] ; eax <- Buffer as return value
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/Ia32/
DStack.nasm44 mov ebx, [esp + 20] ; Save the first parameter
45 mov ecx, [esp + 24] ; Save the second parameter
49 ; Then, Fixup the esp point to permanent memory
51 mov eax, esp
54 mov edx, [esp] ; copy pushed register's value to permanent memory
56 mov edx, [esp + 4]
58 mov edx, [esp + 8]
60 mov edx, [esp + 12]
62 mov edx, [esp + 16] ; Update return address into permanent memory
64 mov esp, eax ; From now, esp is pointed to permanent memory
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/Ia32/
DCpuAsm.S30 movl 4(%esp), %ecx
31 subl $0x10, %esp
33 movl %eax, (%esp)
34 movw %cx, 4(%esp)
35 .byte 0xFF, 0x2C, 0x24 # jmp *(%esp) note:(FWORD jmp)
37 addl $0x10, %esp
48 movl 4(%esp), %ecx
DCpuAsm.asm30 mov ecx, [esp+4]
31 sub esp, 0x10
33 mov [esp], eax
34 mov [esp+4], cx
35 jmp fword ptr [esp]
37 add esp, 0x10
48 mov ecx, [esp+4]
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/
DStack.nasm44 mov ebx, [esp + 20] ; Save the first parameter
45 mov ecx, [esp + 24] ; Save the second parameter
49 ; Then, Fixup the esp point to permanent memory
51 mov eax, esp
54 mov edx, dword [esp] ; copy pushed register's value to permanent memory
56 mov edx, dword [esp + 4]
58 mov edx, dword [esp + 8]
60 mov edx, dword [esp + 12]
62 mov edx, dword [esp + 16] ; Update this function's return address into permanent memory
64 mov esp, eax ; From now, esp is pointed to permanent memory

12345678910>>...29