Home
last modified time | relevance | path

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

123

/openbmc/qemu/pc-bios/optionrom/
H A Dpvh.S69 mov %esp, %ebx
70 add %ebx, %ecx
77 mov (prot_jump), %ebx
78 add %eax, %ebx
79 movl %ebx, %gs:GS_PROT_JUMP
86 movl (gdt_desc+2), %ebx
87 add %eax, %ebx
88 movl %ebx, %gs:GS_GDT_DESC + 2
99 xor %ebx, %ebx
104 cmp $128, %ebx
[all …]
H A Dmultiboot.S46 mov %esp, %ebx
47 add %ebx, %ecx
54 mov (prot_jump), %ebx
55 add %eax, %ebx
56 movl %ebx, %gs:GS_PROT_JUMP
63 movl (gdt_desc+2), %ebx
64 add %eax, %ebx
65 movl %ebx, %gs:GS_GDT_DESC + 2
91 xor %ebx, %ebx
122 test %ebx, %ebx
[all …]
H A Dlinuxboot.S39 mov %eax, %ebx
40 shr $4, %ebx
55 mov %eax, %ebx
57 sub %eax, %ebx
58 sub $16, %ebx
59 mov %ebx, %esp
68 xor %ebx, %ebx
H A Dkvmvapic.S126 mov %eax, %ebx
128 xchg %eax, %ebx
176 push %ebx
191 mov %eax, %ebx
196 lock cmpxchg %ebx, vapic(%edx) ; fixup
206 rol $8, %ebx
212 pop %ebx
237 movzbl vapic, %ebx ; fixup
279 push %ebx
285 mov %eax, %ebx
[all …]
/openbmc/qemu/tests/tcg/i386/system/
H A Dboot.S56 xor %ebx,%ebx
58 mov idt_00(,%ebx,8),%eax
60 movw $0x8,idt_00+2(,%ebx,8)
61 movw $0x8E00,idt_00+4(,%ebx,8)
62 movw %ax,idt_00+6(,%ebx,8)
63 add $1,%ebx
64 cmp $32,%ebx
/openbmc/u-boot/arch/x86/lib/
H A Dcrt0_ia32_efi.S23 movl %eax,%ebx
26 addl $_DYNAMIC-0b,%ebx # %ebx = _DYNAMIC
28 pushl %ebx # pass _DYNAMIC as second argument
31 popl %ebx
32 popl %ebx
H A Dbios.c25 asmlinkage void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx,
28 asmlinkage void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx,
63 .ebx = M.x86.R_EBX, in int_exception_handler()
285 u32 ebx, u32 edx, u32 ecx, u32 eax, in interrupt_handler() argument
300 eax, ebx, ecx, edx); in interrupt_handler()
315 M.x86.R_EBX = ebx; in interrupt_handler()
339 *(volatile u32 *)&ebx = M.x86.R_EBX; in interrupt_handler()
H A Dbios.h87 asmlinkage void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx,
90 asmlinkage void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx,
/openbmc/qemu/common-user/host/i386/
H A Dsafe-syscall.inc.S35 push %ebx
37 .cfi_rel_offset ebx, 0
52 mov 12+16(%esp), %ebx /* the syscall arguments */
86 pop %ebx
89 .cfi_restore ebx
111 1: pop %ebx
113 .cfi_restore ebx
/openbmc/qemu/target/i386/hvf/
H A Dx86_cpuid.c62 uint32_t eax, ebx, ecx, edx; in hvf_get_supported_cpuid() local
65 host_cpuid(func, idx, &eax, &ebx, &ecx, &edx); in hvf_get_supported_cpuid()
87 ebx = 0; in hvf_get_supported_cpuid()
93 ebx &= CPUID_7_0_EBX_FSGSBASE | CPUID_7_0_EBX_BMI1 | in hvf_get_supported_cpuid()
108 ebx &= ~CPUID_7_0_EBX_INVPCID; in hvf_get_supported_cpuid()
115 ebx = 0; in hvf_get_supported_cpuid()
124 eax = ebx = ecx = edx = 0; in hvf_get_supported_cpuid()
161 eax = ebx = ecx = 0; in hvf_get_supported_cpuid()
171 return ebx; in hvf_get_supported_cpuid()
/openbmc/u-boot/arch/x86/cpu/
H A Dsipi_vector.S47 movl $gdtaddr, %ebx
48 subl $ap_start16, %ebx
50 data32 lgdt (%ebx)
99 mov idt_ptr, %ebx
100 lidt (%ebx)
172 mov msr_count, %ebx
173 test %ebx, %ebx
181 dec %ebx
H A Dcall32.S22 mov %edx, %ebx
58 mov %ebx, %ecx
/openbmc/u-boot/arch/x86/include/asm/
H A Dcpu.h62 uint32_t ebx; member
79 "=S" (result.ebx), in cpuid()
99 "=S" (result.ebx), in cpuid_ext()
125 unsigned int eax, ebx; in cpuid_ebx() local
131 : "=a" (eax), "=S" (ebx) in cpuid_ebx()
134 return ebx; in cpuid_ebx()
H A Dptrace.h29 long ebx; member
50 long ebx; member
/openbmc/qemu/target/i386/
H A Dhost-cpu.c94 uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; in host_cpu_fill_model_id() local
98 host_cpuid(0x80000002 + i, 0, &eax, &ebx, &ecx, &edx); in host_cpu_fill_model_id()
100 memcpy(str + i * 16 + 4, &ebx, 4); in host_cpu_fill_model_id()
109 uint32_t eax, ebx, ecx, edx; in host_cpu_vendor_fms() local
111 host_cpuid(0x0, 0, NULL, &ebx, &ecx, &edx); in host_cpu_vendor_fms()
112 x86_cpu_vendor_words2str(vendor, ebx, edx, ecx); in host_cpu_vendor_fms()
118 host_cpuid(0x1, 0, &eax, &ebx, &ecx, &edx); in host_cpu_vendor_fms()
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/
H A Dtestcpuid.py262 …desc.append("Masks: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
69 …desc.append("Common bits: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
70 …desc.append("Mask of common bits: {eax:#010x} {ebx:#010x} {ecx:#010x} {edx:#010x}".for…
74 …desc.append("Register value: eax={eax:#010x} ebx={ebx:#010x} ecx={ecx:#010x} edx={edx:#010x}".for…
/openbmc/qemu/target/i386/kvm/
H A Dkvm-cpu.c75 host_cpuid(5, 0, &cpu->mwait.eax, &cpu->mwait.ebx, in kvm_cpu_realizefn()
139 uint32_t eax, ebx, ecx, edx; in kvm_cpu_xsave_init() local
157 host_cpuid(0xd, i, &eax, &ebx, &ecx, &edx); in kvm_cpu_xsave_init()
160 esa->offset = ebx; in kvm_cpu_xsave_init()
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dsetjmp.S32 movl %ebx, (%edx)
53 movl (%edx), %ebx
H A Dcall64.S26 mov %eax, %ebx
38 leal (%ebx), %eax
/openbmc/qemu/hw/i386/
H A Dsgx.c92 uint32_t eax, ebx, ecx, edx; in sgx_calc_host_epc_sections() local
96 host_cpuid(0x12, i + 2, &eax, &ebx, &ecx, &edx); in sgx_calc_host_epc_sections()
159 uint32_t eax, ebx, ecx, edx; in qmp_query_sgx_capabilities() local
170 host_cpuid(0x7, 0, &eax, &ebx, &ecx, &edx); in qmp_query_sgx_capabilities()
172 info->sgx = ebx & (1U << 2) ? true : false; in qmp_query_sgx_capabilities()
175 host_cpuid(0x12, 0, &eax, &ebx, &ecx, &edx); in qmp_query_sgx_capabilities()
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-code16.S20 mov $0x12345678, %ebx
34 mov $0x12345678, %ebx
/openbmc/qemu/target/i386/tcg/
H A Dmisc_helper.c52 uint32_t eax, ebx, ecx, edx; in helper_cpuid() local
57 &eax, &ebx, &ecx, &edx); in helper_cpuid()
59 env->regs[R_EBX] = ebx; in helper_cpuid()
/openbmc/u-boot/drivers/bios_emulator/
H A Dbiosemu.c250 M.x86.R_EBX = regs->e.ebx; in BE_callRealMode()
276 regs->e.ebx = M.x86.R_EBX; in BE_callRealMode()
301 M.x86.R_EBX = in->e.ebx; in BE_int86()
318 out->e.ebx = M.x86.R_EBX; in BE_int86()
341 M.x86.R_EBX = in->e.ebx; in BE_int86x()
362 out->e.ebx = M.x86.R_EBX; in BE_int86x()
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dcar.S55 mov %eax, %ebx
62 mov %ebx, %eax
/openbmc/qemu/bsd-user/i386/
H A Dtarget_syscall.h26 long ebx; member
103 abi_long ebx; member

123