/freebsd/usr.sbin/bhyve/amd64/ |
H A D | xmsr.c | 222 char cpu_vendor[13]; in init_msr() local 225 ((u_int *)&cpu_vendor)[0] = regs[1]; in init_msr() 226 ((u_int *)&cpu_vendor)[1] = regs[3]; in init_msr() 227 ((u_int *)&cpu_vendor)[2] = regs[2]; in init_msr() 228 cpu_vendor[12] = '\0'; in init_msr() 231 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { in init_msr() 233 } else if (strcmp(cpu_vendor, "HygonGenuine") == 0) { in init_msr() 235 } else if (strcmp(cpu_vendor, "GenuineIntel") == 0) { in init_msr() 238 EPRINTLN("Unknown cpu vendor \"%s\"", cpu_vendor); in init_msr()
|
/freebsd/sys/i386/i386/ |
H A D | locore.S | 353 movl $0x4778654e,cpu_vendor # store vendor string 354 movl $0x72446e65,cpu_vendor+4 355 movl $0x6e657669,cpu_vendor+8 356 movl $0,cpu_vendor+12 402 movl $0x69727943,cpu_vendor # store vendor string 403 movl $0x736e4978,cpu_vendor+4 404 movl $0x64616574,cpu_vendor+8 411 movl %ebx,cpu_vendor # store vendor string 412 movl %edx,cpu_vendor+4 413 movl %ecx,cpu_vendor+8 [all …]
|
/freebsd/stand/i386/libi386/ |
H A D | bootinfo64.c | 51 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/stand/userboot/userboot/ |
H A D | bootinfo64.c | 47 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/contrib/processor-trace/libipt/src/ |
H A D | pt_cpu.c | 47 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/sys/amd64/vmm/ |
H A D | vmm_util.c | 46 return (strcmp(cpu_vendor, "GenuineIntel") == 0); in vmm_is_intel() 52 return (strcmp(cpu_vendor, "AuthenticAMD") == 0 || in vmm_is_svm() 53 strcmp(cpu_vendor, "HygonGenuine") == 0); in vmm_is_svm()
|
/freebsd/sys/x86/x86/ |
H A D | identcpu.c | 110 char cpu_vendor[20]; /* CPU Origin code */ variable 753 if (*cpu_vendor) in printcpuinfo() 754 printf(" Origin=\"%s\"", cpu_vendor); in printcpuinfo() 1157 if (*cpu_vendor || cpu_id) in printcpuinfo() 1550 ((u_int *)&cpu_vendor)[0] = regs[1]; in identify_cpu1() 1551 ((u_int *)&cpu_vendor)[1] = regs[3]; in identify_cpu1() 1552 ((u_int *)&cpu_vendor)[2] = regs[2]; in identify_cpu1() 1553 cpu_vendor[12] = '\0'; in identify_cpu1() 1695 strcpy(cpu_vendor, "IBM"); in finishidentcpu() 1759 } else if (cpu == CPU_486 && *cpu_vendor == '\0') { in finishidentcpu() [all …]
|
H A D | mca.c | 442 printf("MCA: Vendor \"%s\", ID 0x%x, APIC ID %d\n", cpu_vendor, in mca_log()
|
/freebsd/sys/x86/include/ |
H A D | x86_var.h | 61 extern char cpu_vendor[];
|
/freebsd/sys/x86/cpufreq/ |
H A D | est.c | 1050 "est: cpu_vendor %s, msr %0jx\n", cpu_vendor, msr); in est_get_info()
|
/freebsd/sys/compat/linprocfs/ |
H A D | linprocfs.c | 344 i, cpu_vendor, CPUID_TO_FAMILY(cpu_id), in linprocfs_docpuinfo()
|