Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dxmsr.c223 char cpu_vendor[13]; in init_msr() local
226 ((u_int *)&cpu_vendor)[0] = regs[1]; in init_msr()
227 ((u_int *)&cpu_vendor)[1] = regs[3]; in init_msr()
228 ((u_int *)&cpu_vendor)[2] = regs[2]; in init_msr()
229 cpu_vendor[12] = '\0'; in init_msr()
232 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { in init_msr()
234 } else if (strcmp(cpu_vendor, "HygonGenuine") == 0) { in init_msr()
236 } else if (strcmp(cpu_vendor, "GenuineIntel") == 0) { in init_msr()
239 EPRINTLN("Unknown cpu vendor \"%s\"", cpu_vendor); in init_msr()
/freebsd-14.2/sys/i386/i386/
H A Dlocore.S355 movl $0x4778654e,cpu_vendor # store vendor string
356 movl $0x72446e65,cpu_vendor+4
357 movl $0x6e657669,cpu_vendor+8
358 movl $0,cpu_vendor+12
404 movl $0x69727943,cpu_vendor # store vendor string
405 movl $0x736e4978,cpu_vendor+4
406 movl $0x64616574,cpu_vendor+8
413 movl %ebx,cpu_vendor # store vendor string
414 movl %edx,cpu_vendor+4
415 movl %ecx,cpu_vendor+8
[all …]
/freebsd-14.2/stand/i386/libi386/
H A Dbootinfo64.c51 char *cpu_vendor; in bi_checkcpu() local
67 cpu_vendor = (char *)vendor; in bi_checkcpu()
70 if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && in bi_checkcpu()
71 strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && in bi_checkcpu()
72 strncmp(cpu_vendor, HYGON_VENDOR_ID, 12) != 0 && in bi_checkcpu()
73 strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) in bi_checkcpu()
/freebsd-14.2/stand/userboot/userboot/
H A Dbootinfo64.c47 char *cpu_vendor; in bi_checkcpu()
62 cpu_vendor = (char *)vendor; in bi_checkcpu()
65 if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && in bi_checkcpu()
66 strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && in bi_checkcpu()
67 strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) in bi_checkcpu()
/freebsd-14.2/contrib/processor-trace/libipt/src/
H A Dpt_cpu.c47 union cpu_vendor { union
59 static enum pt_cpu_vendor cpu_vendor(void) in cpu_vendor() function
61 union cpu_vendor vendor; in cpu_vendor()
149 cpu->vendor = cpu_vendor(); in pt_cpu_read()
/freebsd-14.2/sys/amd64/vmm/
H A Dvmm_util.c47 return (strcmp(cpu_vendor, "GenuineIntel") == 0); in vmm_is_intel()
53 return (strcmp(cpu_vendor, "AuthenticAMD") == 0 || in vmm_is_svm()
54 strcmp(cpu_vendor, "HygonGenuine") == 0); in vmm_is_svm()
/freebsd-14.2/sys/x86/x86/
H A Didentcpu.c106 char cpu_vendor[20]; /* CPU Origin code */ variable
748 if (*cpu_vendor) in printcpuinfo()
749 printf(" Origin=\"%s\"", cpu_vendor); in printcpuinfo()
1152 if (*cpu_vendor || cpu_id) in printcpuinfo()
1521 ((u_int *)&cpu_vendor)[0] = regs[1]; in identify_cpu1()
1522 ((u_int *)&cpu_vendor)[1] = regs[3]; in identify_cpu1()
1523 ((u_int *)&cpu_vendor)[2] = regs[2]; in identify_cpu1()
1524 cpu_vendor[12] = '\0'; in identify_cpu1()
1665 strcpy(cpu_vendor, "IBM"); in finishidentcpu()
1738 strcpy(cpu_vendor, "IBM"); in finishidentcpu()
[all …]
H A Dmca.c442 printf("MCA: Vendor \"%s\", ID 0x%x, APIC ID %d\n", cpu_vendor, in mca_log()
/freebsd-14.2/sys/x86/include/
H A Dx86_var.h61 extern char cpu_vendor[];
/freebsd-14.2/sys/x86/cpufreq/
H A Dest.c1051 "est: cpu_vendor %s, msr %0jx\n", cpu_vendor, msr); in est_get_info()
/freebsd-14.2/sys/compat/linprocfs/
H A Dlinprocfs.c346 i, cpu_vendor, CPUID_TO_FAMILY(cpu_id), in linprocfs_docpuinfo()