| /freebsd-13.1/sys/dev/hwpmc/ |
| H A D | hwpmc_intel.c | 82 enum pmc_cputype cputype; in pmc_intel_initialize() local 90 cputype = -1; in pmc_intel_initialize() 105 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 110 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 113 cputype = PMC_CPU_INTEL_CORE2; in pmc_intel_initialize() 122 cputype = PMC_CPU_INTEL_ATOM; in pmc_intel_initialize() 134 cputype = PMC_CPU_INTEL_COREI7; in pmc_intel_initialize() 237 if ((int) cputype == -1) { in pmc_intel_initialize() 245 pmc_mdep->pmd_cputype = cputype; in pmc_intel_initialize() 253 switch (cputype) { in pmc_intel_initialize() [all …]
|
| H A D | hwpmc_amd.c | 1082 enum pmc_cputype cputype; in pmc_amd_initialize() local 1112 cputype = PMC_CPU_AMD_K7; in pmc_amd_initialize() 1119 cputype = PMC_CPU_AMD_K8; in pmc_amd_initialize() 1146 pmc_mdep->pmd_cputype = cputype; in pmc_amd_initialize()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | cpufunc.c | 140 u_int cputype; variable 215 cputype = cp15_midr_get(); in set_cpufuncs() 216 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs() 219 if (cputype == CPU_ID_ARM1176JZS) { in set_cpufuncs() 226 switch(cputype & CPU_ID_SCHEME_MASK) { in set_cpufuncs() 246 if (cputype == CPU_ID_MV88SV581X_V7 || in set_cpufuncs() 247 cputype == CPU_ID_MV88SV584X_V7 || in set_cpufuncs() 248 cputype == CPU_ID_ARM_88SV581X_V7) { in set_cpufuncs() 258 panic("No support for this CPU type (%08x) in kernel", cputype); in set_cpufuncs()
|
| /freebsd-13.1/usr.sbin/config/ |
| H A D | config.h | 114 struct cputype { struct 116 SLIST_ENTRY(cputype) cpu_next; argument 119 extern SLIST_HEAD(cputype_head, cputype) cputype;
|
| H A D | config.y | 169 struct cputype *cp = 170 (struct cputype *)calloc(1, sizeof (struct cputype)); 174 SLIST_INSERT_HEAD(&cputype, cp, cpu_next); 177 struct cputype *cp, *cp2; 178 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) { 180 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
|
| H A D | main.c | 79 struct cputype_head cputype; variable 137 SLIST_INIT(&cputype); in main() 239 if (SLIST_EMPTY(&cputype)) { in main() 476 struct cputype *cput; in configfile_dynamic() 487 SLIST_FOREACH(cput, &cputype, cpu_next) in configfile_dynamic()
|
| H A D | mkoptions.c | 68 struct cputype *cp; in options() 73 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
|
| /freebsd-13.1/sys/arm/mv/armadaxp/ |
| H A D | armadaxp_mp.c | 104 uint32_t reg, *src, *dst, cpu_num, div_val, cputype; in mv_axp_platform_mp_start_ap() local 110 cputype = cp15_midr_get(); in mv_axp_platform_mp_start_ap() 111 cputype &= CPU_ID_CPU_MASK; in mv_axp_platform_mp_start_ap() 125 if (cputype == CPU_ID_MV88SV584X_V7) { in mv_axp_platform_mp_start_ap()
|
| H A D | armadaxp.c | 144 uint32_t cputype; in get_tclk_armadaxp() local 146 cputype = cp15_midr_get(); in get_tclk_armadaxp() 147 cputype &= CPU_ID_CPU_MASK; in get_tclk_armadaxp() 149 if (cputype == CPU_ID_MV88SV584X_V7) in get_tclk_armadaxp()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversalWriter.cpp | 63 switch (ObjectFile.getHeader().cputype) { in calculateAlignment() 84 : B(&O), CPUType(O.getHeader().cputype), in Slice() 138 std::tie(MFO->getHeader().cputype, MFO->getHeader().cpusubtype) != in create() 139 std::tie(O->getHeader().cputype, O->getHeader().cpusubtype)) { in create() 143 Twine(O->getHeader().cputype) + ") and cpusubtype(" + in create() 146 Twine(MFO->getHeader().cputype) + ") and cpusubtype(" + in create() 255 FatArch.cputype = S.getCPUType(); in buildFatArchList()
|
| H A D | MachOUniversal.cpp | 71 uint32_t cputype; in getAsObjectFile() local 74 cputype = Header.cputype; in getAsObjectFile() 77 cputype = Header64.cputype; in getAsObjectFile() 81 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index); in getAsObjectFile()
|
| H A D | MachOObjectFile.cpp | 127 return O.getHeader().cputype; in getCPUType() 1014 uint32_t cputype = getCPUType(Obj); in checkThreadCommand() local 1036 if (cputype == MachO::CPU_TYPE_I386) { in checkThreadCommand() 1055 } else if (cputype == MachO::CPU_TYPE_X86_64) { in checkThreadCommand() 1122 } else if (cputype == MachO::CPU_TYPE_ARM) { in checkThreadCommand() 1141 } else if (cputype == MachO::CPU_TYPE_ARM64 || in checkThreadCommand() 1142 cputype == MachO::CPU_TYPE_ARM64_32) { in checkThreadCommand() 1161 } else if (cputype == MachO::CPU_TYPE_POWERPC) { in checkThreadCommand() 1264 uint32_t cputype; in MachOObjectFile() local 1268 cputype = Header64.cputype; in MachOObjectFile() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 80 cpu_type_t cputype; member 168 baton->cputype = mh.cputype; in scan_macho_load_commands() 332 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 362 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 420 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 438 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 1148 if (baton.cputype == CPU_TYPE_X86_64) { in print_encoding() 1150 } else if (baton.cputype == CPU_TYPE_I386) { in print_encoding() 1152 } else if (baton.cputype == CPU_TYPE_ARM64 || baton.cputype == CPU_TYPE_ARM64_32) { in print_encoding() 1154 } else if (baton.cputype == CPU_TYPE_ARM) { in print_encoding() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachOUniversal.h | 62 return Header.cputype; in getCPUType() 64 return Header64.cputype; in getCPUType()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 240 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument 242 switch (cputype) { in ModuleArchFromCpuType() 306 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 619 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local 751 switch (cputype) { in PrintRType() 982 const uint64_t cputype = O->getHeader().cputype; in PrintRelocations() local 1655 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local 1656 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents() 2016 switch (cputype) { in printCPUType() 2163 if (cputype != 0 && cpusubtype != 0 && cputype == other_cputype && in printMachOUniversalHeaders() 8263 switch (cputype) { in PrintMachHeader() 10235 uint32_t cputype = 0; in printMachOLoadCommands() local 10240 cputype = H_64.cputype; in printMachOLoadCommands() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachOLinkingContext.cpp | 116 MachOLinkingContext::archFromCpuType(uint32_t cputype, uint32_t cpusubtype) { in archFromCpuType() argument 118 if ((info->cputype == cputype) && (info->cpusubtype == cpusubtype)) in archFromCpuType() 145 return info->cputype; in cpuTypeFromArch() 285 return (info->cputype & CPU_ARCH_ABI64); in is64Bit()
|
| H A D | MachONormalizedFileBinaryReader.cpp | 169 read32(&mh->cputype, isBig), in isThinObjectFile() 190 if ((readBigEndian(fa->cputype) == reqCpuType) && in sliceFromFatFile() 244 f->arch = MachOLinkingContext::archFromCpuType(smh->cputype, smh->cpusubtype); in readBinary()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOEmitter.cpp | 85 Header.cputype = Obj.Header.cputype; in writeHeader() 583 FatArch.cputype = Arch.cputype; in constructFatArch()
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | cpufunc.h | 76 extern u_int cputype;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 511 uint32_t cputype; member 521 uint32_t cputype; member 940 uint32_t cputype; member 948 uint32_t cputype; member 1011 sys::swapByteOrder(mh.cputype); in swapStruct() 1019 sys::swapByteOrder(mh.cputype); in swapStruct() 1029 sys::swapByteOrder(mh.cputype); in swapStruct() 1039 sys::swapByteOrder(H.cputype); in swapStruct()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | MachOYAML.h | 63 llvm::yaml::Hex32 cputype; member 143 llvm::yaml::Hex32 cputype; member
|
| /freebsd-13.1/contrib/llvm-project/lld/include/lld/ReaderWriter/ |
| H A D | MachOLinkingContext.h | 394 static Arch archFromCpuType(uint32_t cputype, uint32_t cpusubtype); 430 uint32_t cputype; member
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOReader.cpp | 22 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader() 93 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections()
|
| /freebsd-13.1/usr.sbin/pmcstudy/ |
| H A D | pmcstudy.c | 200 char cputype[32]; member 1965 strcpy(the_cpu.cputype, "SandyBridge PMC"); in set_sandybridge() 1974 strcpy(the_cpu.cputype, "IvyBridge PMC"); in set_ivybridge() 1984 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_haswell() 1994 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_broadwell() 2027 the_cpu.cputype, name); in set_expression() 2552 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype); in explain_all()
|