Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dvirt.c55 uint32_t eax, ebx, ecx, edx; in detect_vm_cpuid() local
61 if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) == 0) in detect_vm_cpuid()
64 hypervisor = ecx & 0x80000000U; in detect_vm_cpuid()
73 __cpuid(0x40000000U, eax, ebx, ecx, edx); in detect_vm_cpuid()
76 sig.sig32[1] = ecx; in detect_vm_cpuid()
959 uint32_t eax, ebx, ecx, edx; in real_has_cpu_with_flag() local
961 if (__get_cpuid(1, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
962 if (given_flag_in_set(flag, leaf1_ecx, ELEMENTSOF(leaf1_ecx), ecx)) in real_has_cpu_with_flag()
969 if (__get_cpuid(7, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
974 if (__get_cpuid(0x80000001U, &eax, &ebx, &ecx, &edx)) { in real_has_cpu_with_flag()
[all …]
/systemd-251/src/boot/efi/
Dticks.c13 uint32_t eax, ebx, ecx, edx; in in_hypervisor() local
22 if (__get_cpuid(1, &eax, &ebx, &ecx, &edx) == 0) in in_hypervisor()
25 return !!(ecx & 0x80000000U); in in_hypervisor()