Home
last modified time | relevance | path

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

12345678910

/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.nasm34 push 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
44 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.nasm49 push ebx
56 mov ebx, dword [esp + 24] ; ecx:ebx <- divisor
60 shrd ebx, ecx, 1
63 div ebx
64 mov ebx, eax ; ebx <- quotient
67 imul ecx, ebx ; ecx <- quotient * divisor[32..63]
77 dec ebx ; adjust quotient by -1
88 mov eax, ebx ; eax <- quotient
92 pop ebx
DDivU64x64Remainder.asm50 _@DivRemU64x64 PROC PRIVATE 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
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()
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
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()
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
DRRotU64.S35 push %ebx
39 shrdl %cl, %eax, %ebx
41 roll %cl, %ebx
42 shrdl %cl, %ebx, %edx
47 pop %ebx
DLRotU64.S35 push %ebx
39 shldl %cl, %edx, %ebx
41 rorl %cl, %ebx
42 shldl %cl, %ebx, %eax
47 pop %ebx
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiEntry.S77 movl %cr0, %ebx
79 andl $0x9ffafff3, %ebx
81 orl $0x23, %ebx
82 movl %ebx, %cr0
166 movl %cr0, %ebx
167 orl $0x080010023, %ebx # enable paging + WP + NE + MP + PE
168 movl %ebx, %cr0
169 leal DSC_OFFSET(%edi),%ebx
170 movw DSC_DS(%ebx),%ax
172 movw DSC_OTHERSEG(%ebx),%ax
[all …]
DSmiEntry.asm84 mov ebx, cr0
86 and ebx, 9ffafff3h
88 or ebx, 23h
89 mov cr0, ebx
173 mov ebx, cr0
174 or ebx, 080010023h ; enable paging + WP + NE + MP + PE
175 mov cr0, ebx
176 lea ebx, [edi + DSC_OFFSET]
177 mov ax, [ebx + DSC_DS]
179 mov ax, [ebx + DSC_OTHERSEG]
[all …]
DSmiEntry.nasm72 mov ebx, cr0
73 and ebx, 0x9ffafff3
74 or ebx, 0x23
75 mov cr0, ebx
160 mov ebx, cr0
161 or ebx, 0x80010023 ; enable paging + WP + NE + MP + PE
162 mov cr0, ebx
163 lea ebx, [edi + DSC_OFFSET]
164 mov ax, [ebx + DSC_DS]
166 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 …]
/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

12345678910