Searched refs:cputype (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_intel.c79 enum pmc_cputype cputype; local
87 cputype = -1;
102 cputype = PMC_CPU_INTEL_CORE;
107 cputype = PMC_CPU_INTEL_CORE;
110 cputype = PMC_CPU_INTEL_CORE2;
115 cputype = PMC_CPU_INTEL_CORE2EXTREME;
127 cputype = PMC_CPU_INTEL_COREI7;
131 cputype = PMC_CPU_INTEL_NEHALEM_EX;
136 cputype = PMC_CPU_INTEL_WESTMERE;
140 cputype
[all...]
H A Dhwpmc_amd.c793 enum pmc_cputype cputype; local
818 cputype = PMC_CPU_AMD_K8;
874 pmc_mdep->pmd_cputype = cputype;
/freebsd-current/sys/arm/arm/
H A Dcpufunc.c138 u_int cputype; variable
210 cputype = cp15_midr_get();
211 cputype &= CPU_ID_CPU_MASK;
214 if (cputype == CPU_ID_ARM1176JZS) {
221 switch(cputype & CPU_ID_SCHEME_MASK) {
241 if (cputype == CPU_ID_MV88SV581X_V7 ||
242 cputype == CPU_ID_MV88SV584X_V7 ||
243 cputype == CPU_ID_ARM_88SV581X_V7) {
253 panic("No support for this CPU type (%08x) in kernel", cputype);
/freebsd-current/sys/arm/mv/armadaxp/
H A Darmadaxp_mp.c102 uint32_t reg, *src, *dst, cpu_num, div_val, cputype; local
108 cputype = cp15_midr_get();
109 cputype &= CPU_ID_CPU_MASK;
123 if (cputype == CPU_ID_MV88SV584X_V7) {
H A Darmadaxp.c141 uint32_t cputype; local
143 cputype = cp15_midr_get();
144 cputype &= CPU_ID_CPU_MASK;
146 if (cputype == CPU_ID_MV88SV584X_V7)
/freebsd-current/usr.sbin/config/
H A Dconfig.h166 struct cputype { struct
168 SLIST_ENTRY(cputype) cpu_next;
171 extern SLIST_HEAD(cputype_head, cputype) cputype;
H A Dconfig.y165 struct cputype *cp =
166 (struct cputype *)calloc(1, sizeof (struct cputype));
170 SLIST_INSERT_HEAD(&cputype, cp, cpu_next);
173 struct cputype *cp, *cp2;
174 SLIST_FOREACH_SAFE(cp, &cputype, cpu_next, cp2) {
176 SLIST_REMOVE(&cputype, cp, cputype, cpu_next);
H A Dmkoptions.cc60 struct cputype *cp;
65 SLIST_FOREACH(cp, &cputype, cpu_next) {
H A Dmain.cc67 struct cputype_head cputype; variable in typeref:struct:cputype_head
123 SLIST_INIT(&cputype);
222 if (SLIST_EMPTY(&cputype)) {
458 struct cputype *cput;
469 SLIST_FOREACH(cput, &cputype, cpu_next)
/freebsd-current/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp71 uint32_t cputype; local
74 cputype = Header.cputype;
77 cputype = Header64.cputype;
81 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index);
172 Err = malformedError("offset plus size of cputype (" +
181 ") too large for cputype (" + Twine(A.getCPUType()) +
189 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" +
195 Err = malformedError("cputype ("
[all...]
H A DMachOUniversalWriter.cpp70 switch (ObjectFile.getHeader().cputype) {
91 : B(&O), CPUType(O.getHeader().cputype),
121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype);
149 ("archive member " + O->getFileName() + " cputype (" +
152 ") does not match previous archive members cputype (" +
177 ("archive member " + O->getFileName() + " cputype (" +
180 ") does not match previous archive members cputype (" +
281 FatArch.cputype = S.getCPUType();
H A DMachOObjectFile.cpp133 return O.getHeader().cputype;
1023 uint32_t cputype = getCPUType(Obj); local
1045 if (cputype == MachO::CPU_TYPE_I386) {
1064 } else if (cputype == MachO::CPU_TYPE_X86_64) {
1131 } else if (cputype == MachO::CPU_TYPE_ARM) {
1150 } else if (cputype == MachO::CPU_TYPE_ARM64 ||
1151 cputype == MachO::CPU_TYPE_ARM64_32) {
1170 } else if (cputype == MachO::CPU_TYPE_POWERPC) {
1190 return malformedError("unknown cputype (" + Twine(cputype)
1275 uint32_t cputype; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h61 return Header.cputype;
63 return Header64.cputype;
/freebsd-current/sys/arm/include/
H A Dcpufunc.h74 extern u_int cputype;
/freebsd-current/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c37 cpu_type_t cputype; member in struct:baton
90 // find the cputype and the start of the __TEXT,__unwind_info
125 baton->cputype = mh.cputype;
289 if (baton->cputype == CPU_TYPE_ARM)
319 if (baton->cputype == CPU_TYPE_ARM)
377 if (baton->cputype == CPU_TYPE_ARM)
395 if (baton->cputype == CPU_TYPE_ARM)
1105 if (baton.cputype == CPU_TYPE_X86_64) {
1107 } else if (baton.cputype
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { argument
310 switch (cputype) {
379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp612 uint32_t cputype = O->getHeader().cputype; local
613 if (cputype & MachO::CPU_ARCH_ABI64)
622 if (cputype & MachO::CPU_ARCH_ABI64)
718 static void PrintRType(const uint64_t cputype, const unsigned r_type) { argument
744 switch (cputype) {
763 static void PrintRLength(const uint64_t cputype, const unsigned r_type, argument
765 if (cputype == MachO::CPU_TYPE_ARM &&
788 if (cputype == MachO::CPU_TYPE_X86_64)
802 const uint64_t cputype,
799 PrintRelocationEntries(const MachOObjectFile *O, const relocation_iterator Begin, const relocation_iterator End, const uint64_t cputype, const bool verbose) argument
975 const uint64_t cputype = O->getHeader().cputype; local
1880 uint32_t cputype = O->getHeader().cputype; local
2226 printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) argument
2233 printCPUType(uint32_t cputype, uint32_t cpusubtype) argument
2374 uint32_t cputype = OFA.getCPUType(); local
8123 PrintMachHeader(uint32_t magic, uint32_t cputype, uint32_t cpusubtype, uint32_t filetype, uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags, bool verbose) argument
9515 PrintThreadCommand(MachO::thread_command t, const char *Ptr, bool isLittleEndian, uint32_t cputype) argument
9978 PrintLoadCommands(const MachOObjectFile *Obj, uint32_t filetype, uint32_t cputype, bool verbose) argument
10145 uint32_t cputype = 0; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h64 llvm::yaml::Hex32 cputype; member in struct:llvm::MachOYAML::FileHeader
155 llvm::yaml::Hex32 cputype; member in struct:llvm::MachOYAML::FatArch
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp126 Builder.Header.cputype = MachO::CPU_TYPE_X86_64;
130 Builder.Header.cputype = MachO::CPU_TYPE_ARM64;
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp92 Header.cputype = Obj.Header.cputype;
695 FatArch.cputype = Arch.cputype;
/freebsd-current/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp23 O.Header.CPUType = MachOObj.getHeader().cputype;
95 const uint32_t CPUType = MachOObj.getHeader().cputype;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h514 uint32_t cputype; member in struct:llvm::MachO::mach_header
524 uint32_t cputype; member in struct:llvm::MachO::mach_header_64
962 uint32_t cputype; member in struct:llvm::MachO::fat_arch
970 uint32_t cputype; member in struct:llvm::MachO::fat_arch_64
1146 sys::swapByteOrder(mh.cputype);
1154 sys::swapByteOrder(mh.cputype);
1164 sys::swapByteOrder(mh.cputype);
1174 sys::swapByteOrder(H.cputype);
1561 // Constants for the cputype field.
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp128 header.cputype = data.GetU32(&offset);
265 offset += 4; // cputype
/freebsd-current/usr.sbin/pmcstudy/
H A Dpmcstudy.c198 char cputype[32]; member in struct:cpu_type
1963 strcpy(the_cpu.cputype, "SandyBridge PMC");
1972 strcpy(the_cpu.cputype, "IvyBridge PMC");
1982 strcpy(the_cpu.cputype, "HASWELL PMC");
1992 strcpy(the_cpu.cputype, "HASWELL PMC");
2025 the_cpu.cputype, name);
2556 printf("For CPU's of type %s the following expressions are available:\n",the_cpu.cputype);
/freebsd-current/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp358 const auto Arch = getArchitectureFromCpuType(Obj->getHeader().cputype,

Completed in 263 milliseconds

12