| /NextBSD/usr.sbin/bhyve/ |
| HD | xmsr.c | 212 char cpu_vendor[13]; in init_msr() local 215 ((u_int *)&cpu_vendor)[0] = regs[1]; in init_msr() 216 ((u_int *)&cpu_vendor)[1] = regs[3]; in init_msr() 217 ((u_int *)&cpu_vendor)[2] = regs[2]; in init_msr() 218 cpu_vendor[12] = '\0'; in init_msr() 221 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { in init_msr() 223 } else if (strcmp(cpu_vendor, "GenuineIntel") == 0) { in init_msr() 226 fprintf(stderr, "Unknown cpu vendor \"%s\"\n", cpu_vendor); in init_msr()
|
| /NextBSD/sys/boot/i386/libi386/ |
| HD | bootinfo64.c | 136 char *cpu_vendor; in bi_checkcpu() local 152 cpu_vendor = (char *)vendor; in bi_checkcpu() 155 if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && in bi_checkcpu() 156 strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && in bi_checkcpu() 157 strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) in bi_checkcpu()
|
| /NextBSD/sys/boot/userboot/userboot/ |
| HD | bootinfo64.c | 136 char *cpu_vendor; in bi_checkcpu() 151 cpu_vendor = (char *)vendor; in bi_checkcpu() 154 if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && in bi_checkcpu() 155 strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && in bi_checkcpu() 156 strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) in bi_checkcpu()
|
| /NextBSD/sys/i386/i386/ |
| HD | locore.s | 595 movl $0x4778654e,R(cpu_vendor) # store vendor string 596 movl $0x72446e65,R(cpu_vendor+4) 597 movl $0x6e657669,R(cpu_vendor+8) 598 movl $0,R(cpu_vendor+12) 644 movl $0x69727943,R(cpu_vendor) # store vendor string 645 movl $0x736e4978,R(cpu_vendor+4) 646 movl $0x64616574,R(cpu_vendor+8) 653 movl %ebx,R(cpu_vendor) # store vendor string 654 movl %edx,R(cpu_vendor+4) 655 movl %ecx,R(cpu_vendor+8) [all …]
|
| /NextBSD/sys/x86/x86/ |
| HD | identcpu.c | 104 char cpu_vendor[20]; /* CPU Origin code */ variable 732 if (*cpu_vendor) in printcpuinfo() 733 printf(" Origin=\"%s\"", cpu_vendor); in printcpuinfo() 1033 if (*cpu_vendor || cpu_id) in printcpuinfo() 1389 ((u_int *)&cpu_vendor)[0] = regs[1]; in finishidentcpu() 1390 ((u_int *)&cpu_vendor)[1] = regs[3]; in finishidentcpu() 1391 ((u_int *)&cpu_vendor)[2] = regs[2]; in finishidentcpu() 1392 cpu_vendor[12] = '\0'; in finishidentcpu() 1481 strcpy(cpu_vendor, "IBM"); in finishidentcpu() 1545 } else if (cpu == CPU_486 && *cpu_vendor == '\0') { in finishidentcpu() [all …]
|
| HD | mca.c | 290 printf("MCA: Vendor \"%s\", ID 0x%x, APIC ID %d\n", cpu_vendor, in mca_log()
|
| /NextBSD/sys/amd64/vmm/ |
| HD | vmm_util.c | 43 if (strcmp(cpu_vendor, "GenuineIntel") == 0) in vmm_is_intel() 52 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) in vmm_is_amd()
|
| /NextBSD/sys/mips/mips/ |
| HD | cpu.c | 88 cpuinfo->cpu_vendor = MIPS_PRID_CID(prid); in mips_get_identity() 250 switch (cpuinfo.cpu_vendor) { in cpu_identify() 284 printf("Unknown cid %#x", cpuinfo.cpu_vendor); in cpu_identify()
|
| /NextBSD/sys/mips/include/ |
| HD | cpuinfo.h | 53 u_int8_t cpu_vendor; member
|
| /NextBSD/sys/x86/include/ |
| HD | x86_var.h | 60 extern char cpu_vendor[];
|
| /NextBSD/usr.sbin/bhyvectl/ |
| HD | bhyvectl.c | 622 char cpu_vendor[13]; in cpu_vendor_intel() local 625 ((u_int *)&cpu_vendor)[0] = regs[1]; in cpu_vendor_intel() 626 ((u_int *)&cpu_vendor)[1] = regs[3]; in cpu_vendor_intel() 627 ((u_int *)&cpu_vendor)[2] = regs[2]; in cpu_vendor_intel() 628 cpu_vendor[12] = '\0'; in cpu_vendor_intel() 630 if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { in cpu_vendor_intel() 632 } else if (strcmp(cpu_vendor, "GenuineIntel") == 0) { in cpu_vendor_intel() 635 fprintf(stderr, "Unknown cpu vendor \"%s\"\n", cpu_vendor); in cpu_vendor_intel()
|
| /NextBSD/sys/x86/cpufreq/ |
| HD | est.c | 1087 "est: cpu_vendor %s, msr %0jx\n", cpu_vendor, msr); in est_get_info()
|
| /NextBSD/sys/compat/linprocfs/ |
| HD | linprocfs.c | 276 i, cpu_vendor, CPUID_TO_FAMILY(cpu_id), in linprocfs_docpuinfo()
|