Home
last modified time | relevance | path

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

123

/freebsd-14.2/sys/dev/hwpmc/
H A Dhwpmc_intel.c80 enum pmc_cputype cputype; in pmc_intel_initialize() local
88 cputype = -1; in pmc_intel_initialize()
103 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize()
108 cputype = PMC_CPU_INTEL_CORE; in pmc_intel_initialize()
111 cputype = PMC_CPU_INTEL_CORE2; in pmc_intel_initialize()
128 cputype = PMC_CPU_INTEL_COREI7; in pmc_intel_initialize()
172 cputype = PMC_CPU_INTEL_HASWELL; in pmc_intel_initialize()
223 cputype = PMC_CPU_INTEL_ATOM; in pmc_intel_initialize()
253 if ((int) cputype == -1) { in pmc_intel_initialize()
261 pmc_mdep->pmd_cputype = cputype; in pmc_intel_initialize()
[all …]
H A Dhwpmc_amd.c1047 enum pmc_cputype cputype; in pmc_amd_initialize() local
1077 cputype = PMC_CPU_AMD_K7; in pmc_amd_initialize()
1084 cputype = PMC_CPU_AMD_K8; in pmc_amd_initialize()
1111 pmc_mdep->pmd_cputype = cputype; in pmc_amd_initialize()
/freebsd-14.2/sys/arm/arm/
H A Dcpufunc.c138 u_int cputype; variable
210 cputype = cp15_midr_get(); in set_cpufuncs()
211 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs()
214 if (cputype == CPU_ID_ARM1176JZS) { in set_cpufuncs()
221 switch(cputype & CPU_ID_SCHEME_MASK) { in set_cpufuncs()
241 if (cputype == CPU_ID_MV88SV581X_V7 || in set_cpufuncs()
242 cputype == CPU_ID_MV88SV584X_V7 || in set_cpufuncs()
243 cputype == CPU_ID_ARM_88SV581X_V7) { in set_cpufuncs()
253 panic("No support for this CPU type (%08x) in kernel", cputype); in set_cpufuncs()
/freebsd-14.2/usr.sbin/config/
H A Dconfig.y167 struct cputype *cp =
168 (struct cputype *)calloc(1, sizeof (struct cputype));
172 SLIST_INSERT_HEAD(&cputype, cp, cpu_next);
175 struct cputype *cp, *cp2;
176 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) {
178 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
H A Dconfig.h168 struct cputype { struct
170 SLIST_ENTRY(cputype) cpu_next; argument
173 extern SLIST_HEAD(cputype_head, cputype) cputype;
H A Dmain.cc79 struct cputype_head cputype; variable
135 SLIST_INIT(&cputype); in main()
234 if (SLIST_EMPTY(&cputype)) { in main()
470 struct cputype *cput; in configfile_dynamic()
481 SLIST_FOREACH(cput, &cputype, cpu_next) in configfile_dynamic()
H A Dmkoptions.cc66 struct cputype *cp; in options()
71 SLIST_FOREACH(cp, &cputype, cpu_next) { in options()
/freebsd-14.2/sys/arm/mv/armadaxp/
H A Darmadaxp_mp.c102 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 Darmadaxp.c142 uint32_t cputype; in get_tclk_armadaxp() local
144 cputype = cp15_midr_get(); in get_tclk_armadaxp()
145 cputype &= CPU_ID_CPU_MASK; in get_tclk_armadaxp()
147 if (cputype == CPU_ID_MV88SV584X_V7) in get_tclk_armadaxp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
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 DMachOUniversalWriter.cpp70 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 getMachoCPUFromObjectFile()
281 FatArch.cputype = S.getCPUType(); in buildFatArchList()
H A DMachOObjectFile.cpp133 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()
1275 uint32_t cputype; in MachOObjectFile() local
1279 cputype = Header64.cputype; in MachOObjectFile()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c37 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-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h61 return Header.cputype; in getCPUType()
63 return Header64.cputype; in getCPUType()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp612 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local
744 switch (cputype) { in PrintRType()
975 const uint64_t cputype = O->getHeader().cputype; in PrintRelocations() local
1880 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local
1881 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents()
2234 switch (cputype) { in printCPUType()
2381 if (cputype != 0 && cpusubtype != 0 && cputype == other_cputype && in printMachOUniversalHeaders()
8137 switch (cputype) { in PrintMachHeader()
10145 uint32_t cputype = 0; in printMachOLoadCommands() local
10150 cputype = H_64.cputype; in printMachOLoadCommands()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp308 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-14.2/sys/arm/include/
H A Dcpufunc.h74 extern u_int cputype;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h64 llvm::yaml::Hex32 cputype; member
155 llvm::yaml::Hex32 cputype; member
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h514 uint32_t cputype; member
524 uint32_t cputype; member
962 uint32_t cputype; member
970 uint32_t cputype; member
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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp92 Header.cputype = Obj.Header.cputype; in writeHeader()
695 FatArch.cputype = Arch.cputype; in constructFatArch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp126 Builder.Header.cputype = MachO::CPU_TYPE_X86_64; in startSynthesis()
130 Builder.Header.cputype = MachO::CPU_TYPE_ARM64; in startSynthesis()
/freebsd-14.2/usr.sbin/pmcstudy/
H A Dpmcstudy.c198 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-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp23 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader()
95 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp128 header.cputype = data.GetU32(&offset); in ParseMachOHeader()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp337 return MachO.getHeader64().cputype; in getCPUType()
339 return MachO.getHeader().cputype; in getCPUType()

123