Home
last modified time | relevance | path

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

1234

/openbsd/sys/arch/arm/cortex/
H A Dcortex.c100 int cputype = cpufunc_id(); in cortexmatch() local
105 if ((cputype & CPU_ID_CORTEX_A7_MASK) == CPU_ID_CORTEX_A7 || in cortexmatch()
106 (cputype & CPU_ID_CORTEX_A9_MASK) == CPU_ID_CORTEX_A9 || in cortexmatch()
107 (cputype & CPU_ID_CORTEX_A15_MASK) == CPU_ID_CORTEX_A15 || in cortexmatch()
108 (cputype & CPU_ID_CORTEX_A17_MASK) == CPU_ID_CORTEX_A17) { in cortexmatch()
/openbsd/sys/arch/arm/arm/
H A Dcpufunc.c141 u_int cputype; variable
312 cputype = cpufunc_id(); in set_cpufuncs()
313 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs()
320 if ((cputype & CPU_ID_ARCH_MASK) == CPU_ID_ARCH_CPUID) { in set_cpufuncs()
349 panic("No support for this CPU type (%08x) in kernel", cputype); in set_cpufuncs()
366 switch (cputype & CPU_ID_CORTEX_MASK) { in armv7_setup()
/openbsd/sys/arch/alpha/alpha/
H A Dcpuconf.c205 const struct cpuinit *c = platform_lookup(cputype); in platform_not_configured()
208 cputype); in platform_not_configured()
217 const struct cpuinit *c = platform_lookup(cputype); in platform_not_supported()
219 printf("\nOpenBSD does not yet support system type %d (%s).\n", cputype, in platform_not_supported()
H A Dmachdep.c158 int cputype; /* system type, from the RPB */ variable
352 cputype = hwrpb->rpb_type;
353 if (cputype < 0) {
359 cputype = -cputype;
361 c = platform_lookup(cputype);
385 if (cputype != ST_DEC_21000)
/openbsd/gnu/llvm/lldb/source/Plugins/Process/mach-core/
H A DThreadMachCore.cpp116 const uint32_t cputype = arch_spec.GetMachOCPUType(); in CalculateStopInfo() local
118 if (cputype == llvm::MachO::CPU_TYPE_ARM64 || in CalculateStopInfo()
119 cputype == llvm::MachO::CPU_TYPE_ARM64_32) { in CalculateStopInfo()
/openbsd/gnu/llvm/lldb/source/Host/macosx/objcxx/
H A DHostInfoMacOSX.mm221 uint32_t cputype, cpusubtype;
223 size_t len = sizeof(cputype);
227 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) {
235 if (cputype == CPU_TYPE_ARM64 && cpusubtype == CPU_SUBTYPE_ARM64E) {
242 if (cputype & CPU_ARCH_ABI64) {
244 arch_64.SetArchitecture(eArchTypeMachO, cputype, cpusubtype);
258 if (cputype == CPU_TYPE_ARM || cputype == CPU_TYPE_ARM64)
264 if (cputype == CPU_TYPE_ARM ||
265 cputype == CPU_TYPE_ARM64 ||
266 cputype == CPU_TYPE_ARM64_32) {
[all …]
/openbsd/gnu/llvm/llvm/lib/Object/
H A DMachOUniversalWriter.cpp70 switch (ObjectFile.getHeader().cputype) { in calculateAlignment()
91 : B(&O), CPUType(O.getHeader().cputype), in Slice()
145 std::tie(MFO->getHeader().cputype, MFO->getHeader().cpusubtype) != in create()
146 std::tie(O->getHeader().cputype, O->getHeader().cpusubtype)) { in create()
150 Twine(O->getHeader().cputype) + ") and cpusubtype(" + in create()
153 Twine(MFO->getHeader().cputype) + ") and cpusubtype(" + in create()
262 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()
/openbsd/sys/arch/alpha/tc/
H A Dioasic.c145 if ((cputype != ST_DEC_3000_500) && (cputype != ST_DEC_3000_300))
179 if (cputype == ST_DEC_3000_300) {
364 if (cputype == ST_DEC_3000_300) in ioasic_led_blink()
404 if (cputype == ST_DEC_3000_300) { in ioasic_led_blink()
H A Dtcasic.c94 switch (cputype) {
160 switch (cputype) { in tcasicactivate()
/openbsd/sys/arch/alpha/pci/
H A Dcia.c181 if ((cputype == ST_EB164 &&
183 cputype == ST_DEC_550) {
322 if (cputype == ST_DEC_550 &&
362 switch (cputype) {
H A Dtsc.c104 switch (cputype) {
123 int titan = cputype == ST_DEC_TITAN;
189 switch (cputype) {
243 int titan = cputype == ST_DEC_TITAN;
/openbsd/gnu/llvm/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 …]
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dmach-o.c297 bfd_h_put_32 (abfd, header->cputype, buf + 4); in bfd_mach_o_write_header()
620 header->cputype = (*get32) (buf + 4); in bfd_mach_o_read_header()
1119 switch (mdata->header.cputype) in bfd_mach_o_scan_read_thread()
1493 enum bfd_architecture cputype; in bfd_mach_o_scan() local
1504 &cputype, &cpusubtype); in bfd_mach_o_scan()
1505 if (cputype == bfd_arch_unknown) in bfd_mach_o_scan()
1508 header->cputype, header->cpusubtype); in bfd_mach_o_scan()
1512 bfd_set_arch_mach (abfd, cputype, cpusubtype); in bfd_mach_o_scan()
1555 mdata->header.cputype = 0; in bfd_mach_o_mkobject()
1671 unsigned long cputype; member
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DMachOUniversal.h61 return Header.cputype; in getCPUType()
63 return Header64.cputype; in getCPUType()
/openbsd/sys/arch/m88k/include/
H A Dkcore.h35 int cputype; /* cpu type: 88100, 88110 */ member
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dmach-o.c505 bfd_h_put_32 (abfd, header->cputype, buf + 4);
550 header->cputype = (*get32) (buf + 4);
1184 switch (mdata->header.cputype)
1657 enum bfd_architecture cputype; local
1668 &cputype, &cpusubtype);
1669 if (cputype == bfd_arch_unknown)
1672 header->cputype, header->cpusubtype);
1676 bfd_set_arch_mach (abfd, cputype, cpusubtype);
1731 mdata->header.cputype = 0;
1849 unsigned long cputype; member
[all …]
/openbsd/sys/arch/sparc64/include/
H A Dkcore.h40 int cputype; /* CPU type associated with this dump */ member
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp306 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument
308 switch (cputype) { in ModuleArchFromCpuType()
372 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next()
/openbsd/gnu/llvm/llvm/tools/llvm-objdump/
H A DMachODump.cpp638 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local
770 switch (cputype) { in PrintRType()
1001 const uint64_t cputype = O->getHeader().cputype; in PrintRelocations() local
1906 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local
1907 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents()
2272 switch (cputype) { in printCPUType()
2419 if (cputype != 0 && cpusubtype != 0 && cputype == other_cputype && in printMachOUniversalHeaders()
8547 switch (cputype) { in PrintMachHeader()
10546 uint32_t cputype = 0; in printMachOLoadCommands() local
10551 cputype = H_64.cputype; in printMachOLoadCommands()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.h155 if (header.cputype) { in GetAddressByteSize()
156 if (header.cputype & llvm::MachO::CPU_ARCH_ABI64) in GetAddressByteSize()
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachVMMemory.h32 struct task_basic_info ti, cpu_type_t cputype,
/openbsd/gnu/llvm/lldb/tools/debugserver/source/
H A DRNBRemote.cpp4690 switch (cputype) { in GetArchName()
4781 cputype = g_host_cputype; in GetHostCPUType()
4791 uint32_t cputype = 0; in HandlePacket_qHostInfo() local
4808 if (cputype == CPU_TYPE_ARM || cputype == CPU_TYPE_ARM64 in HandlePacket_qHostInfo()
5114 if (cputype) { in GenerateTargetXMLRegisters()
6199 if (cputype == 0) { in HandlePacket_qProcessInfo()
6201 cputype = best_guess_cpu_type(); in HandlePacket_qProcessInfo()
6205 if (cputype != 0) { in HandlePacket_qProcessInfo()
6207 if (cputype & CPU_ARCH_ABI64) in HandlePacket_qProcessInfo()
6301 if (cputype == CPU_TYPE_ARM || cputype == CPU_TYPE_ARM64 in HandlePacket_qProcessInfo()
[all …]
/openbsd/sys/arch/alpha/mcbus/
H A Dmcbus.c135 if (cputype != ST_DEC_4100)
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMachO.h518 uint32_t cputype; member
528 uint32_t cputype; member
961 uint32_t cputype; member
969 uint32_t cputype; member
1145 sys::swapByteOrder(mh.cputype); in swapStruct()
1153 sys::swapByteOrder(mh.cputype); in swapStruct()
1163 sys::swapByteOrder(mh.cputype); in swapStruct()
1173 sys::swapByteOrder(H.cputype); in swapStruct()

1234