Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-13.1/sys/dev/hwpmc/
H A Dhwpmc_intel.c82 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 Dhwpmc_amd.c1082 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 Dcpufunc.c140 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 Dconfig.h114 struct cputype { struct
116 SLIST_ENTRY(cputype) cpu_next; argument
119 extern SLIST_HEAD(cputype_head, cputype) cputype;
H A Dconfig.y169 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 Dmain.c79 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 Dmkoptions.c68 struct cputype *cp; in options()
73 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
/freebsd-13.1/sys/arm/mv/armadaxp/
H A Darmadaxp_mp.c104 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 Darmadaxp.c144 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 DMachOUniversalWriter.cpp63 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 DMachOUniversal.cpp71 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 DMachOObjectFile.cpp127 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 Dcompact-unwind-dumper.c80 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 DMachOUniversal.h62 return Header.cputype; in getCPUType()
64 return Header64.cputype; in getCPUType()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp240 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 DMachODump.cpp619 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 DMachOLinkingContext.cpp116 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 DMachONormalizedFileBinaryReader.cpp169 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 DMachOEmitter.cpp85 Header.cputype = Obj.Header.cputype; in writeHeader()
583 FatArch.cputype = Arch.cputype; in constructFatArch()
/freebsd-13.1/sys/arm/include/
H A Dcpufunc.h76 extern u_int cputype;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h511 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 DMachOYAML.h63 llvm::yaml::Hex32 cputype; member
143 llvm::yaml::Hex32 cputype; member
/freebsd-13.1/contrib/llvm-project/lld/include/lld/ReaderWriter/
H A DMachOLinkingContext.h394 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 DMachOReader.cpp22 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 Dpmcstudy.c200 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()

123