Home
last modified time | relevance | path

Searched refs:cpu_vendor (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dxmsr.c242 char cpu_vendor[13]; in init_msr() local
245 ((u_int *)&cpu_vendor)[0] = regs[1]; in init_msr()
246 ((u_int *)&cpu_vendor)[1] = regs[3]; in init_msr()
247 ((u_int *)&cpu_vendor)[2] = regs[2]; in init_msr()
248 cpu_vendor[12] = '\0'; in init_msr()
251 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { in init_msr()
253 } else if (strcmp(cpu_vendor, "HygonGenuine") == 0) { in init_msr()
255 } else if (strcmp(cpu_vendor, "GenuineIntel") == 0) { in init_msr()
258 EPRINTLN("Unknown cpu vendor \"%s\"", cpu_vendor); in init_msr()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Dcommon.c157 char cpu_vendor[13]; in cpu_vendor_amd() local
160 ((uint_t *)&cpu_vendor)[0] = regs[1]; in cpu_vendor_amd()
161 ((uint_t *)&cpu_vendor)[1] = regs[3]; in cpu_vendor_amd()
162 ((uint_t *)&cpu_vendor)[2] = regs[2]; in cpu_vendor_amd()
163 cpu_vendor[12] = '\0'; in cpu_vendor_amd()
165 return (strcmp(cpu_vendor, "AuthenticAMD") == 0 || in cpu_vendor_amd()
166 strcmp(cpu_vendor, "HygonGenuine") == 0); in cpu_vendor_amd()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_util.c54 return (strcmp(cpu_vendor, "GenuineIntel") == 0); in vmm_is_intel()
60 return (strcmp(cpu_vendor, "AuthenticAMD") == 0 || in vmm_is_svm()
61 strcmp(cpu_vendor, "HygonGenuine") == 0); in vmm_is_svm()
H A Dvmm_sol_glue.c377 char cpu_vendor[20]; /* CPU Origin code */ variable
386 ((uint_t *)&cpu_vendor)[0] = regs[1]; in vmm_cpuid_init()
387 ((uint_t *)&cpu_vendor)[1] = regs[3]; in vmm_cpuid_init()
388 ((uint_t *)&cpu_vendor)[2] = regs[2]; in vmm_cpuid_init()
389 cpu_vendor[12] = '\0'; in vmm_cpuid_init()
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dmd_var.h22 extern char cpu_vendor[]; /* CPU Origin code */
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpidev_impl.h130 uint_t cpu_vendor; member
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_dr.c135 if (cp->cpu_vendor == UINT_MAX && cp->cpu_family == UINT_MAX && in acpidev_dr_get_capacity()
140 if (cp->cpu_vendor == vendor && cp->cpu_family == family && in acpidev_dr_get_capacity()