/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_intel.c | 79 enum pmc_cputype cputype; in pmc_intel_initialize() local 87 cputype = -1; in pmc_intel_initialize() 102 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 107 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize() 110 cputype = PMC_CPU_INTEL_CORE2; in pmc_intel_initialize() 115 cputype = PMC_CPU_INTEL_CORE2EXTREME; in pmc_intel_initialize() 127 cputype = PMC_CPU_INTEL_COREI7; in pmc_intel_initialize() 131 cputype = PMC_CPU_INTEL_NEHALEM_EX; in pmc_intel_initialize() 136 cputype = PMC_CPU_INTEL_WESTMERE; in pmc_intel_initialize() 140 cputype = PMC_CPU_INTEL_WESTMERE_EX; in pmc_intel_initialize() [all …]
|
H A D | hwpmc_amd.c | 793 enum pmc_cputype cputype; in pmc_amd_initialize() local 818 cputype = PMC_CPU_AMD_K8; in pmc_amd_initialize() 874 pmc_mdep->pmd_cputype = cputype; in pmc_amd_initialize()
|
/freebsd/sys/arm/arm/ |
H A D | cpufunc.c | 119 u_int cputype; variable 191 cputype = cp15_midr_get(); in set_cpufuncs() 192 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs() 195 switch(cputype & CPU_ID_SCHEME_MASK) { in set_cpufuncs() 215 if (cputype == CPU_ID_MV88SV581X_V7 || in set_cpufuncs() 216 cputype == CPU_ID_MV88SV584X_V7 || in set_cpufuncs() 217 cputype == CPU_ID_ARM_88SV581X_V7) { in set_cpufuncs() 227 panic("No support for this CPU type (%08x) in kernel", cputype); in set_cpufuncs()
|
/freebsd/usr.sbin/config/ |
H A D | config.y | 172 struct cputype *cp = 173 (struct cputype *)calloc(1, sizeof (struct cputype)); 177 SLIST_INSERT_HEAD(&cputype, cp, cpu_next); 180 struct cputype *cp, *cp2; 181 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) { 183 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
|
H A D | config.h | 166 struct cputype { struct 168 SLIST_ENTRY(cputype) cpu_next; argument 171 extern SLIST_HEAD(cputype_head, cputype) cputype;
|
H A D | main.cc | 67 struct cputype_head cputype; variable 124 SLIST_INIT(&cputype); in main() 227 if (SLIST_EMPTY(&cputype)) { in main() 463 struct cputype *cput; in configfile_dynamic() 474 SLIST_FOREACH(cput, &cputype, cpu_next) in configfile_dynamic()
|
H A D | mkoptions.cc | 61 struct cputype *cp; in options() 66 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
|
/freebsd/sys/arm/mv/armadaxp/ |
H A D | armadaxp_mp.c | 102 uint32_t reg, *src, *dst, cpu_num, div_val, cputype; in mv_axp_platform_mp_start_ap() local 108 cputype = cp15_midr_get(); in mv_axp_platform_mp_start_ap() 109 cputype &= CPU_ID_CPU_MASK; in mv_axp_platform_mp_start_ap() 123 if (cputype == CPU_ID_MV88SV584X_V7) { in mv_axp_platform_mp_start_ap()
|
H A D | armadaxp.c | 141 uint32_t cputype; in get_tclk_armadaxp() local 143 cputype = cp15_midr_get(); in get_tclk_armadaxp() 144 cputype &= CPU_ID_CPU_MASK; in get_tclk_armadaxp() 146 if (cputype == CPU_ID_MV88SV584X_V7) in get_tclk_armadaxp()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | MachOUniversalWriter.cpp | 70 switch (ObjectFile.getHeader().cputype) { in calculateAlignment() 91 : B(&O), CPUType(O.getHeader().cputype), in Slice() 121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype); in create() 149 ("archive member " + O->getFileName() + " cputype (" + in create() 152 ") does not match previous archive members cputype (" + in create() 177 ("archive member " + O->getFileName() + " cputype (" + in create() 180 ") does not match previous archive members cputype (" + in create() 281 FatArch.cputype = S.getCPUType(); in writeUniversalBinaryToStream()
|
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 | 133 return O.getHeader().cputype; in getCPUType() 1023 uint32_t cputype = getCPUType(Obj); in checkThreadCommand() local 1045 if (cputype == MachO::CPU_TYPE_I386) { in checkThreadCommand() 1064 } else if (cputype == MachO::CPU_TYPE_X86_64) { in checkThreadCommand() 1131 } else if (cputype == MachO::CPU_TYPE_ARM) { in checkThreadCommand() 1150 } else if (cputype == MachO::CPU_TYPE_ARM64 || in checkThreadCommand() 1151 cputype == MachO::CPU_TYPE_ARM64_32) { in checkThreadCommand() 1170 } else if (cputype == MachO::CPU_TYPE_POWERPC) { in checkThreadCommand() 1190 return malformedError("unknown cputype (" + Twine(cputype) + ") load " in checkThreadCommand() 1275 uint32_t cputype; in MachOObjectFile() local [all …]
|
/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/ |
H A D | compact-unwind-dumper.c | 37 cpu_type_t cputype; member 125 baton->cputype = mh.cputype; in scan_macho_load_commands() 289 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 319 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 377 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 395 if (baton->cputype == CPU_TYPE_ARM) in scan_macho_load_commands() 1105 if (baton.cputype == CPU_TYPE_X86_64) { in print_encoding() 1107 } else if (baton.cputype == CPU_TYPE_I386) { in print_encoding() 1109 } else if (baton.cputype == CPU_TYPE_ARM64 || baton.cputype == CPU_TYPE_ARM64_32) { in print_encoding() 1111 } else if (baton.cputype == CPU_TYPE_ARM) { in print_encoding() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversal.h | 61 return Header.cputype; in getCPUType() 63 return Header64.cputype; in getCPUType()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 612 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local 613 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 622 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 718 static void PrintRType(const uint64_t cputype, const unsigned r_type) { in PrintRType() argument 744 switch (cputype) { in PrintRType() 763 static void PrintRLength(const uint64_t cputype, const unsigned r_type, in PrintRLength() argument 765 if (cputype == MachO::CPU_TYPE_ARM && in PrintRLength() 788 if (cputype == MachO::CPU_TYPE_X86_64) in PrintRLength() 802 const uint64_t cputype, in PrintRelocationEntries() argument 824 if (r_scattered && cputype != MachO::CPU_TYPE_X86_64) { in PrintRelocationEntries() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument 310 switch (cputype) { in ModuleArchFromCpuType() 379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
|
/freebsd/sys/arm/include/ |
H A D | cpufunc.h | 74 extern u_int cputype;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 514 uint32_t cputype; 524 uint32_t cputype; 962 uint32_t cputype; 970 uint32_t cputype; 1146 sys::swapByteOrder(mh.cputype); in swapStruct() 1154 sys::swapByteOrder(mh.cputype); in swapStruct() 1164 sys::swapByteOrder(mh.cputype); in swapStruct() 1174 sys::swapByteOrder(H.cputype); in swapStruct() 1561 // Constants for the cputype field. 520 uint32_t cputype; global() member 530 uint32_t cputype; global() member 963 uint32_t cputype; global() member 971 uint32_t cputype; global() member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MachOYAML.h | 64 llvm::yaml::Hex32 cputype; member 155 llvm::yaml::Hex32 cputype; member
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOEmitter.cpp | 92 Header.cputype = Obj.Header.cputype; in writeHeader() 695 FatArch.cputype = Arch.cputype; in constructFatArch()
|
H A D | MachOYAML.cpp | 88 IO.mapRequired("cputype", FileHdr.cputype); in mapping() 136 IO.mapRequired("cputype", FatArch.cputype); in mapping()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | DebuggerSupportPlugin.cpp |
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 198 char cputype[32]; member 1963 strcpy(the_cpu.cputype, "SandyBridge PMC"); in set_sandybridge() 1972 strcpy(the_cpu.cputype, "IvyBridge PMC"); in set_ivybridge() 1982 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_haswell() 1992 strcpy(the_cpu.cputype, "HASWELL PMC"); in set_broadwell() 2025 the_cpu.cputype, name); in set_expression() 2556 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype); in explain_all()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOReader.cpp | 23 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader() 95 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ |
H A D | ObjectContainerMachOFileset.cpp | 128 header.cputype = data.GetU32(&offset); in ParseMachOHeader()
|