| /netbsd-src/sys/arch/m68k/m68k/ |
| H A D | cacheops.c | 53 switch (cputype) { in _TBIA() 87 switch (cputype) { in _TBIAS() 121 switch (cputype) { in _TBIAU() 150 switch (cputype) { in _ICIA() 179 switch (cputype) { in _ICPA() 213 switch (cputype) { in _DCIA() 247 switch (cputype) { in _DCIS() 281 switch (cputype) { in _DCIU() 315 switch (cputype) { in _PCIA() 349 switch (cputype) { in _TBIS() [all …]
|
| H A D | m68k_trap.c | 65 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 66 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 73 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 75 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 83 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 85 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \
|
| /netbsd-src/sys/arch/atari/stand/tostools/libtos/ |
| H A D | sysinfo.c | 63 od->cputype = 0; in sys_info() 71 od->cputype |= ATARI_CLKBROKEN; in sys_info() 101 od->cputype |= ATARI_68000; in sys_info() 104 od->cputype |= ATARI_68010; in sys_info() 107 od->cputype |= ATARI_68020; in sys_info() 110 od->cputype |= ATARI_68030; in sys_info() 113 od->cputype |= ATARI_68040; in sys_info() 116 od->cputype |= ATARI_68060; in sys_info()
|
| /netbsd-src/sys/arch/arm/arm/ |
| H A D | cpufunc.c | 1308 u_int cputype; variable 1623 if (cputype == 0) { in set_cpufuncs() 1624 cputype = cpufunc_id(); in set_cpufuncs() 1625 cputype &= CPU_ID_CPU_MASK; in set_cpufuncs() 1633 if ((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD && in set_cpufuncs() 1634 (cputype & 0x00000f00) == 0x00000600) { in set_cpufuncs() 1642 if ((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD && in set_cpufuncs() 1643 CPU_ID_IS7(cputype) && in set_cpufuncs() 1644 (cputype & CPU_ID_7ARCH_MASK) == CPU_ID_7ARCH_V3) { in set_cpufuncs() 1652 if ((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD && in set_cpufuncs() [all …]
|
| /netbsd-src/sys/arch/alpha/alpha/ |
| H A D | prom.c | 92 return (cputype == ST_DEC_7000 || cputype == ST_DEC_21000); in prom_uses_prom_console() 101 cputype = rpb->rpb_type; in prom_init_cputype() 102 if (cputype < 0) { in prom_init_cputype() 108 cputype = -cputype; in prom_init_cputype()
|
| H A D | cpuconf.c | 269 const struct cpuinit *c = platform_lookup(cputype); in platform_not_configured() 273 cputype); in platform_not_configured() 283 const struct cpuinit *c = platform_lookup(cputype); in platform_not_supported() 286 printf("NetBSD does not yet support system type %d (%s).\n", cputype, in platform_not_supported()
|
| /netbsd-src/sys/arch/next68k/next68k/ |
| H A D | trap.c | 139 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 140 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 147 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 149 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 157 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 159 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 215 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 583 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/news68k/news68k/ |
| H A D | trap.c | 124 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 125 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 132 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 134 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 142 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 144 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 200 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 538 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/external/mit/isl/dist/m4/ |
| H A D | ax_gcc_archflag.m4 | 167 …cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /va… 168 …cputype=`echo "$cputype" | tr -d ' -' | $SED 's/SPARCIIi/SPARCII/' |tr $as_cr_LETTERS $as_cr_lette… 169 case $cputype in 190 …cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | $SED 's/ //g') ; /usr/… 191 cputype=`echo $cputype | $SED -e 's/ppc//g;s/ *//g'` 192 case $cputype in 194 *740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;; 195 *74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;; 196 *74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;; 200 603ev|8240) ax_gcc_arch="$cputype 603e 603";; [all …]
|
| /netbsd-src/sys/arch/virt68k/virt68k/ |
| H A D | trap.c | 132 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 133 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 145 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 147 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 160 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 162 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 227 cputype == CPU_68040 && in userret() 597 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/cesfic/cesfic/ |
| H A D | trap.c | 135 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 136 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 143 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 145 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 153 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 155 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 210 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 573 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | trap.c | 134 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 135 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 142 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 144 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 152 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 154 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 211 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 618 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/hp300/hp300/ |
| H A D | trap.c | 131 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 132 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 139 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 141 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 149 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 151 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 207 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 594 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/x68k/x68k/ |
| H A D | trap.c | 132 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 133 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 140 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 142 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 150 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 152 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 208 if (cputype == CPU_68040 && fp->f_format == FMT7) { in userret() 592 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/sys/arch/mvme68k/mvme68k/ |
| H A D | trap.c | 132 #define KDFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_TM_SV)) 133 #define WRFAULT_060(c) (cputype == CPU_68060 && ((c) & FSLW_RW_W)) 145 #define KDFAULT_040(c) (cputype == CPU_68040 && \ 147 #define WRFAULT_040(c) (cputype == CPU_68040 && \ 160 #define KDFAULT_OTH(c) (cputype <= CPU_68030 && \ 162 #define WRFAULT_OTH(c) (cputype <= CPU_68030 && \ 227 cputype == CPU_68040 && in userret() 593 if (cputype == CPU_68040) in trap()
|
| /netbsd-src/external/gpl3/gcc/dist/libbacktrace/ |
| H A D | macho.c | 52 uint32_t cputype; /* CPU type */ member 65 uint32_t cputype; /* CPU type */ member 103 uint32_t cputype; /* CPU type */ member 116 uint32_t cputype; /* CPU type */ member 766 unsigned int cputype; in macho_add_fat() local 774 cputype = MACH_O_CPU_TYPE_X86_64; in macho_add_fat() 776 cputype = MACH_O_CPU_TYPE_X86; in macho_add_fat() 778 cputype = MACH_O_CPU_TYPE_ARM64; in macho_add_fat() 780 cputype = MACH_O_CPU_TYPE_ARM; in macho_add_fat() 782 cputype = MACH_O_CPU_TYPE_PPC; in macho_add_fat() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | MachOUniversalWriter.cpp | 63 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 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()
|
| /netbsd-src/sys/arch/alpha/pci/ |
| H A D | tsc.c | 101 switch (cputype) { in tscmatch() 119 int titan = cputype == ST_DEC_TITAN; in tscattach() 193 switch (cputype) { in tspmatch() 241 int titan = cputype == ST_DEC_TITAN; in tsp_init() 313 switch (cputype) { in tsciicmatch()
|
| /netbsd-src/sys/arch/shark/stand/ofwboot/ |
| H A D | Locore.c | 89 u_int cputype = cpufunc_id() & CPU_ID_CPU_MASK; in startup() local 98 if (cputype == CPU_ID_SA110 || cputype == CPU_ID_SA1100 || in startup() 99 cputype == CPU_ID_SA1110) { in startup() 105 cputype); in startup()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 51 unsigned char cputype[4]; /* CPU that this object is for. */ member 64 unsigned char cputype[4]; /* CPU that this object is for. */ member 197 unsigned int cputype; member 217 unsigned int cputype; member 326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match() 821 ret->cputype = omr->cputype; in simple_object_mach_o_fetch_attributes() 852 || to->cputype != from->cputype) in simple_object_mach_o_attributes_merge() 910 set_32 (hdr + offsetof (struct mach_o_header_32, cputype), attrs->cputype); in simple_object_mach_o_write_header()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 51 unsigned char cputype[4]; /* CPU that this object is for. */ member 64 unsigned char cputype[4]; /* CPU that this object is for. */ member 197 unsigned int cputype; member 217 unsigned int cputype; member 326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match() 821 ret->cputype = omr->cputype; in simple_object_mach_o_fetch_attributes() 852 || to->cputype != from->cputype) in simple_object_mach_o_attributes_merge() 910 set_32 (hdr + offsetof (struct mach_o_header_32, cputype), attrs->cputype); in simple_object_mach_o_write_header()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 51 unsigned char cputype[4]; /* CPU that this object is for. */ member 64 unsigned char cputype[4]; /* CPU that this object is for. */ member 197 unsigned int cputype; member 217 unsigned int cputype; member 326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match() 821 ret->cputype = omr->cputype; in simple_object_mach_o_fetch_attributes() 852 || to->cputype != from->cputype) in simple_object_mach_o_attributes_merge() 910 set_32 (hdr + offsetof (struct mach_o_header_32, cputype), attrs->cputype); in simple_object_mach_o_write_header()
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | simple-object-mach-o.c | 51 unsigned char cputype[4]; /* CPU that this object is for. */ member 64 unsigned char cputype[4]; /* CPU that this object is for. */ member 197 unsigned int cputype; member 217 unsigned int cputype; member 326 omr->cputype = (*fetch_32) (b + offsetof (struct mach_o_header_32, cputype)); in simple_object_mach_o_match() 821 ret->cputype = omr->cputype; in simple_object_mach_o_fetch_attributes() 852 || to->cputype != from->cputype) in simple_object_mach_o_attributes_merge() 910 set_32 (hdr + offsetof (struct mach_o_header_32, cputype), attrs->cputype); in simple_object_mach_o_write_header()
|
| /netbsd-src/sys/arch/alpha/tc/ |
| H A D | tcasic.c | 73 if ((cputype != ST_DEC_3000_500) && (cputype != ST_DEC_3000_300)) in tcasicmatch() 92 switch (cputype) { in tcasicattach()
|