Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 25 of 195) sorted by relevance

12345678

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/IA32/
DMpFuncs.S108 movl %eax, %ebx # ebx == apicid
114 movl (%eax), %ebx
115 shrl $24, %ebx # ebx == apicid
121 movl (%edi, %ebx, 4), %ecx
131 movl (%edi), %ebx
132 addl %ebx, %eax
141 movl (%edi), %ebx
143 testl %ebx,%ebx
145 call *%ebx # Call C function
165 movl 0x24(%ebp), %ebx
[all …]
DMpFuncs.asm98 mov ebx, eax ; ebx == apicid
105 mov ebx, dword ptr [eax]
106 shr ebx, 24 ; ebx == apicid
113 mov ecx, dword ptr [edi + 4 * ebx] ; ECX = CpuNumber
123 mov ebx, dword ptr [edi]
124 … add eax, ebx ; EAX = StackStart + StackSize * (CpuNumber + 1)
133 mov ebx, dword ptr [edi]
135 test ebx, ebx
137 call ebx ; Call C function
155 mov ebx, dword ptr [ebp+24h]
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DMultU64x64.S33 push %ebx
34 movl 8(%esp), %ebx # ebx <- M1[0..31]
36 movl %ebx, %ecx
38 imull 20(%esp), %ebx # ebx <- M1[0..31] * M2[32..63]
40 addl %edx, %ebx # carries are abandoned
42 addl %ebx, %edx # carries are abandoned
43 pop %ebx
DMultU64x64.asm34 InternalMathMultU64x64 PROC USES ebx
35 mov ebx, [esp + 8] ; ebx <- M1[0..31]
37 mov ecx, ebx
39 imul ebx, [esp + 20] ; ebx <- M1[0..31] * M2[32..63]
41 add ebx, edx ; carries are abandoned
43 add edx, ebx ; carries are abandoned
DMultU64x64.c40 mov ebx, dword ptr [Multiplicand + 0] in InternalMathMultU64x64()
42 mov ecx, ebx in InternalMathMultU64x64()
44 imul ebx, dword ptr [Multiplier + 4] in InternalMathMultU64x64()
46 add ebx, edx in InternalMathMultU64x64()
48 add edx, ebx in InternalMathMultU64x64()
DDivU64x64Remainder.S45 push %ebx
52 mov 24(%esp), %ebx # ecx:ebx <- divisor
56 shrdl $1, %ecx, %ebx
59 divl %ebx
60 movl %eax, %ebx # ebx <- quotient
63 imull %ebx, %ecx # ecx <- quotient * divisor[32..63]
73 decl %ebx # adjust quotient by -1
84 movl %ebx, %eax # eax <- quotient
88 pop %ebx
DDivU64x64Remainder.asm50 _@DivRemU64x64 PROC USES ebx esi edi
55 mov ebx, dword ptr [esp + 24] ; ecx:ebx <- divisor
59 shrd ebx, ecx, 1
62 div ebx
63 mov ebx, eax ; ebx <- quotient
66 imul ecx, ebx ; ecx <- quotient * divisor[32..63]
76 dec ebx ; adjust quotient by -1
87 mov eax, ebx ; eax <- quotient
DLRotU64.S33 push %ebx
37 shldl %cl, %edx, %ebx
39 rorl %cl, %ebx
40 shldl %cl, %ebx, %eax
47 pop %ebx
DRRotU64.S33 push %ebx
37 shrdl %cl, %eax, %ebx
39 roll %cl, %ebx
40 shrdl %cl, %ebx, %edx
47 pop %ebx
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia32/
DSearchForSecEntry.asm32 xor ebx, ebx
33 mov esi, ebx
40 add eax, ebx
149 mov ebx, dword [eax]
150 and ebx, 0x00ffffff
151 add eax, ebx
167 movzx ebx, word [eax + 0x3c]
168 add ebx, eax
171 cmp dword [ebx], `PE\x00\x00`
176 add eax, [ebx + 0x4 + 0x14 + 0x10]
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DMultU64x64.asm34 InternalMathMultU64x64 PROC USES ebx
35 mov ebx, [esp + 8] ; ebx <- M1[0..31]
37 mov ecx, ebx
39 imul ebx, [esp + 20] ; ebx <- M1[0..31] * M2[32..63]
41 add ebx, edx ; carries are abandoned
43 add edx, ebx ; carries are abandoned
DDivU64x64Remainder.c32 mov ebx, dword ptr [Divisor + 0] // ecx:ebx <- divisor in InternalMathDivRemU64x64()
36 shrd ebx, ecx, 1 in InternalMathDivRemU64x64()
39 div ebx in InternalMathDivRemU64x64()
40 mov ebx, eax // ebx <- quotient in InternalMathDivRemU64x64()
43 imul ecx, ebx in InternalMathDivRemU64x64()
53 dec ebx // adjust quotient by -1 in InternalMathDivRemU64x64()
64 mov eax, ebx // eax <- quotient in InternalMathDivRemU64x64()
DMultU64x64.S35 push %ebx
36 movl 8(%esp), %ebx
38 movl %ebx, %ecx
40 imull 20(%esp), %ebx
42 addl %edx, %ebx
44 addl %ebx, %edx
45 pop %ebx
DMultU64x64.c33 mov ebx, dword ptr [Multiplicand + 0] in InternalMathMultU64x64()
35 mov ecx, ebx in InternalMathMultU64x64()
37 imul ebx, dword ptr [Multiplier + 4] in InternalMathMultU64x64()
39 add ebx, edx in InternalMathMultU64x64()
41 add edx, ebx in InternalMathMultU64x64()
DDivU64x64Remainder.S47 push %ebx
54 mov 24(%esp), %ebx
58 shrdl $1, %ecx, %ebx
61 divl %ebx
62 movl %eax, %ebx
65 imull %ebx, %ecx
75 decl %ebx
86 movl %ebx, %eax
90 pop %ebx
DDivU64x64Remainder.asm50 _@DivRemU64x64 PROC USES ebx esi edi
55 mov ebx, dword ptr [esp + 24] ; ecx:ebx <- divisor
59 shrd ebx, ecx, 1
62 div ebx
63 mov ebx, eax ; ebx <- quotient
66 imul ecx, ebx ; ecx <- quotient * divisor[32..63]
76 dec ebx ; adjust quotient by -1
87 mov eax, ebx ; eax <- quotient
DLRotU64.S35 push %ebx
39 shldl %cl, %edx, %ebx
41 rorl %cl, %ebx
42 shldl %cl, %ebx, %eax
47 pop %ebx
DRRotU64.S35 push %ebx
39 shrdl %cl, %eax, %ebx
41 roll %cl, %ebx
42 shrdl %cl, %ebx, %edx
47 pop %ebx
DRRotU64.c28 shrd ebx, eax, cl in InternalMathRRotU64()
30 rol ebx, cl in InternalMathRRotU64()
31 shrd edx, ebx, cl in InternalMathRRotU64()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiEntry.S69 movl %cr0, %ebx
71 andl $0x9ffafff3, %ebx
73 orl $0x23, %ebx
74 movl %ebx, %cr0
125 movl %cr0, %ebx
126 orl $0x080010000, %ebx # enable paging + WP
127 movl %ebx, %cr0
128 leal DSC_OFFSET(%edi),%ebx
129 movw DSC_DS(%ebx),%ax
131 movw DSC_OTHERSEG(%ebx),%ax
[all …]
DSmiEntry.asm76 mov ebx, cr0
78 and ebx, 9ffafff3h
80 or ebx, 23h
81 mov cr0, ebx
131 mov ebx, cr0
132 or ebx, 080010000h ; enable paging + WP
133 mov cr0, ebx
134 lea ebx, [edi + DSC_OFFSET]
135 mov ax, [ebx + DSC_DS]
137 mov ax, [ebx + DSC_OTHERSEG]
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ia32/
DProcessorAsms.S36 # UINT32 ebx;
71 mov %ebx,(%ecx)
109 push %ebx
115 mov (%ecx),%ebx
125 pop %ebx
151 push %ebx
153 mov 0xc(%ebp),%ebx
157 push %ebx
160 pop %ebx
190 push %ebx
[all …]
DProcessorAsms.Asm90 mov (EFI_JUMP_BUFFER PTR [ecx])._ebx, ebx
125 push ebx
133 mov ebx, (EFI_JUMP_BUFFER PTR [ecx])._ebx
144 pop ebx
169 push ebx
171 mov ebx, Parameter
175 push ebx
179 pop ebx
205 push ebx
207 mov ebx, Parameter1
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenHypercallLib/Ia32/
Dhypercall.nasm12 ; Save only ebx, ecx is supposed to be a scratch register and needs to be
14 push ebx
18 mov ebx, [esp + 12]
23 pop ebx
/device/linaro/bootloader/edk2/EmulatorPkg/Sec/Ia32/
DSwitchRam.S36 # Save three register: eax, ebx, ecx
39 push %ebx
58 subl %ebx, %eax
85 subl %ebx, %eax
92 pop %ebx

12345678