Home
last modified time | relevance | path

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

123

/xen-4.10.0-shim-comet/tools/firmware/rombios/
A Dapmbios.S32 push ebx
33 mov ebx, eax
40 inc ebx
43 pop ebx
68 push ebx
88 pop ebx
101 mov eax,ebx
113 push ebx
119 pop ebx
120 push ebx
[all …]
A Dtcgbios.c74 regs.u.r32.ebx != TCG_MAGIC) {
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dcommon.c306 u32 eax, ebx, ecx, edx; in early_cpu_detect() local
312 *(u32 *)&c->x86_vendor_id[0] = ebx; in early_cpu_detect()
318 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in early_cpu_detect()
353 u32 eax, ebx, ecx, edx, tmp; in generic_identify() local
357 *(u32 *)&c->x86_vendor_id[0] = ebx; in generic_identify()
366 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in generic_identify()
376 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in generic_identify()
523 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff) argument
531 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local
588 u32 eax, ebx, ecx, edx; in detect_ht() local
[all …]
A Dintel_cacheinfo.c88 union _cpuid4_leaf_ebx ebx; in cpuid4_cache_lookup() local
92 cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup()
97 this_leaf->ebx = ebx; in cpuid4_cache_lookup()
100 (ebx.split.coherency_line_size + 1) * in cpuid4_cache_lookup()
101 (ebx.split.physical_line_partition + 1) * in cpuid4_cache_lookup()
102 (ebx.split.ways_of_associativity + 1); in cpuid4_cache_lookup()
108 unsigned int eax, ebx, ecx, edx; in find_num_cache_leaves() local
115 cpuid_count(4, i, &eax, &ebx, &ecx, &edx); in find_num_cache_leaves()
A Damd.c323 uint32_t eax, ebx, tmp; in amd_init_levelling() local
325 cpuid(0x00000007, &eax, &ebx, &tmp, &tmp); in amd_init_levelling()
329 ebx &= opt_cpuid_mask_l7s0_ebx; in amd_init_levelling()
332 cpuidmask_defaults._7ab0 &= ((uint64_t)eax << 32) | ebx; in amd_init_levelling()
504 u32 eax, ebx, ecx, edx; in amd_get_topology() local
506 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_get_topology()
507 c->compute_unit_id = ebx & 0xFF; in amd_get_topology()
508 c->x86_num_siblings = ((ebx >> 8) & 0x3) + 1; in amd_get_topology()
/xen-4.10.0-shim-comet/stubdom/grub/
A Dboot-x86_32.S74 movl _boot_target, %ebx
75 movl %ebx, %ebp /* also keep it in ebp for relative addressing */
88 movl _boot_target, %ebx
89 addl %ebx, %eax
96 leal (_boot_mmuext-_boot_page)(%ebp), %ebx
/xen-4.10.0-shim-comet/docs/misc/
A Dpvrdtscp.c58 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in hvm_cpuid() argument
61 asm("cpuid" : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) in hvm_cpuid()
66 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in pv_cpuid() argument
70 "=b" (*ebx), "=c" (*ecx), "=d" (*edx) : "0" (*eax), "2" (*ecx)); in pv_cpuid()
214 u32 eax, ebx, ecx, edx, base; in running_on_xen() local
219 hvm_cpuid(base,0,&eax,&ebx,&ecx,&edx); in running_on_xen()
221 pv_cpuid(base,0,&eax,&ebx,&ecx,&edx); in running_on_xen()
222 sig.u[0] = ebx; sig.u[1] = ecx; sig.u[2] = edx; in running_on_xen()
226 hvm_cpuid(base+1,0,&eax,&ebx,&ecx,&edx); in running_on_xen()
228 pv_cpuid(base+1,0,&eax,&ebx,&ecx,&edx); in running_on_xen()
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dcacheattr.c44 uint32_t eax, ebx, ecx, edx; in cpu_phys_addr() local
47 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in cpu_phys_addr()
50 cpuid(0x80000008, &eax, &ebx, &ecx, &edx); in cpu_phys_addr()
59 uint32_t eax, ebx, ecx, edx; in cacheattr_init() local
64 cpuid(0x00000001, &eax, &ebx, &ecx, &edx); in cacheattr_init()
A Dhvmloader.c121 uint32_t eax, ebx, ecx, edx; in init_hypercalls() local
129 cpuid(base, &eax, &ebx, &ecx, &edx); in init_hypercalls()
131 *(uint32_t *)(signature + 0) = ebx; in init_hypercalls()
143 cpuid(base + 2, &eax, &ebx, &ecx, &edx); in init_hypercalls()
145 wrmsr(ebx, HYPERCALL_PHYSICAL_ADDRESS + (i << 12) + i); in init_hypercalls()
148 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercalls()
A Dtests.c217 uint32_t i, eax, ebx, ecx, edx; in shadow_gs_test() local
220 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in shadow_gs_test()
223 cpuid(0x80000001, &eax, &ebx, &ecx, &edx); in shadow_gs_test()
268 : "=b" (ebx) : "a" (PD_START) : "ecx", "edx", "memory" ); in shadow_gs_test()
270 return (ebx == 2) ? TEST_PASS : TEST_FAIL; in shadow_gs_test()
/xen-4.10.0-shim-comet/xen/arch/x86/boot/
A Dhead.S232 sub %ebx,%r8d
400 mov %ebx, sym_esi(pvh_start_info_pa)
458 testb $MBI_MEMLIMITS,MB_flags(%ebx)
461 cmovnz MB_mem_lower(%ebx),%edx
472 sub %ebx,%edi
473 cmp %edi,MB2_fixed_total_size(%ebx)
668 lea sym_esi(start),%ebx
670 shr $(L2_PAGETABLE_SHIFT-3),%ebx
716 mov sym_fs(multiboot_ptr),%ebx
717 testl $MBI_CMDLINE,MB_flags(%ebx)
[all …]
A Dtrampoline.S210 movl $0x0002,%ebx # long mode
254 xor %ebx,%ebx
A Dmem.S9 xorl %ebx, %ebx # continuation counter
A Dx86_64.S31 test %ebx,%ebx
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dhypercall.c160 (mode == 8 ? regs->rdi : regs->ebx) == HVMOP_guest_request_vm_event ) in hvm_hypercall()
234 unsigned int ebx = regs->ebx; in hvm_hypercall() local
242 ebx, ecx, edx, esi, edi, ebp); in hvm_hypercall()
248 case 0: ebx = 0xdeadf00d; in hvm_hypercall()
258 regs->rax = hvm_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, in hvm_hypercall()
A Dsave.c32 uint32_t eax, ebx, ecx, edx; in arch_hvm_save() local
35 cpuid(1, &eax, &ebx, &ecx, &edx); in arch_hvm_save()
47 uint32_t eax, ebx, ecx, edx; in arch_hvm_load() local
63 cpuid(1, &eax, &ebx, &ecx, &edx); in arch_hvm_load()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dprocessor.h205 unsigned int *ebx, in cpuid_count() argument
210 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) in cpuid_count()
230 unsigned int eax, ebx; in cpuid_ebx() local
233 : "=a" (eax), "=b" (ebx) in cpuid_ebx()
236 return ebx; in cpuid_ebx()
264 unsigned int ebx, tmp; in cpuid_count_ebx() local
266 cpuid_count(leaf, subleaf, &tmp, &ebx, &tmp, &tmp); in cpuid_count_ebx()
268 return ebx; in cpuid_count_ebx()
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dxen.c53 uint32_t eax, ebx, ecx, edx, base; in find_xen_leaves() local
58 cpuid(base, &eax, &ebx, &ecx, &edx); in find_xen_leaves()
60 if ( (ebx == XEN_CPUID_SIGNATURE_EBX) && in find_xen_leaves()
153 uint32_t eax, ebx, ecx, edx; in set_vcpu_id() local
158 cpuid(xen_cpuid_base + 4, &eax, &ebx, &ecx, &edx); in set_vcpu_id()
160 this_cpu(vcpu_id) = ebx; in set_vcpu_id()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dhypercall.c159 unsigned int ebx = regs->ebx; in pv_hypercall() local
170 case 0: ebx = 0xdeadf00d; in pv_hypercall()
181 unsigned long args[6] = { ebx, ecx, edx, esi, edi, ebp }; in pv_hypercall()
187 regs->eax = pv_hypercall_table[eax].compat(ebx, ecx, edx, esi, edi, ebp); in pv_hypercall()
201 case 1: regs->ebx = 0xdeadf00d; in pv_hypercall()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dxstate.c91 unsigned int leaf, eax, ebx, ecx, edx; in setup_xstate_features() local
117 &ebx, &ecx, &edx); in setup_xstate_features()
119 BUG_ON(ebx != xstate_offsets[leaf]); in setup_xstate_features()
553 u32 eax, ebx = 0, ecx, edx; in _xstate_ctxt_size() local
557 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in _xstate_ctxt_size()
558 ASSERT(ebx <= ecx); in _xstate_ctxt_size()
562 return ebx; in _xstate_ctxt_size()
584 u32 eax, ebx, ecx, edx; in xstate_init() local
595 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in xstate_init()
632 cpuid_count(XSTATE_CPUID, 1, &eax, &ebx, &ecx, &edx); in xstate_init()
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/
A Dplatform-pci.c123 uint32_t base, eax, ebx, ecx, edx; in xen_cpuid_base() local
127 cpuid(base, &eax, &ebx, &ecx, &edx); in xen_cpuid_base()
128 *(uint32_t*)(signature + 0) = ebx; in xen_cpuid_base()
143 uint32_t eax, ebx, ecx, edx, pages, msr, i, base; in init_hypercall_stubs() local
152 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hypercall_stubs()
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/tcgbios/
A Dtcgbios.c97 static uint32_t TCG_ShutdownPreBootInterface(uint32_t ebx);
1046 uint32_t TCG_ShutdownPreBootInterface(uint32_t ebx) in TCG_ShutdownPreBootInterface() argument
1197 uint32_t ebx, uint32_t ecx, uint32_t edx) in TSS32() argument
1430 regs->u.r32.ebx = TCG_MAGIC; in TCGInterruptHandler()
1450 regs->u.r32.ebx, in TCGInterruptHandler()
1463 regs->u.r32.ebx, in TCGInterruptHandler()
1470 TCG_ShutdownPreBootInterface(regs->u.r32.ebx); in TCGInterruptHandler()
1481 regs->u.r32.ebx, in TCGInterruptHandler()
1494 regs->u.r32.ebx, in TCGInterruptHandler()
1505 regs->u.r32.ebx, in TCGInterruptHandler()
[all …]
/xen-4.10.0-shim-comet/stubdom/
A Dnewlib.patch207 -#define ebx REG(ebx)
282 +#define ebx %ebx
396 -#define ebx REG(ebx)
436 +#define ebx %ebx
526 -#define ebx REG(ebx)
566 +#define ebx %ebx
/xen-4.10.0-shim-comet/tools/tests/x86_emulator/
A Dtest_x86_emulator.c403 regs.ebx = (unsigned long)res; in main()
419 regs.ebx = (unsigned long)res; in main()
452 regs.ebx = (unsigned long)res; in main()
534 regs.ebx = 0x9999AAAA; in main()
1332 regs.ebx != (*res << (regs.edx & 0x1f)) || in main()
2174 regs.ebx = 0xbdbdbdbdUL; in main()
2178 regs.ebx != 0xffffffff ) in main()
2227 regs.ebx = 0xbdbdbdbdUL; in main()
2231 regs.ebx != 0xffffffff ) in main()
2281 regs.ebx = 0xbdbdbdbdUL; in main()
[all …]
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/xg/
A Dxg_main.c522 rp->ebx = cp->ebx; in _cp_32ctxt_to_32gdb()
544 rp->ebx = cp->rbx; in _cp_64ctxt_to_32gdb()
602 cp->ebx = rp->ebx; in _cp_32gdb_to_32ctxt()
623 cp->rbx = rp->ebx; in _cp_32gdb_to_64ctxt()

Completed in 88 milliseconds

123