1 1.130 jmcneill # $NetBSD: files.arm,v 1.130 2015/02/07 17:14:32 jmcneill Exp $ 2 1.2 bjh21 3 1.9 reinoud # temporary define to allow easy moving to ../arch/arm/arm32 4 1.46 lukem defflag ARM32 5 1.12 bjh21 6 1.123 matt # predefine for CPU_ARMV6 and CPU_ARMV7 7 1.123 matt defflag opt_cpuoptions.h ARM32_DISABLE_ALIGNMENT_FAULTS 8 1.123 matt 9 1.57 thorpej # CPU types. Make sure to update <arm/cpuconf.h> if you change this list. 10 1.123 matt defflag opt_cputypes.h CPU_PRE_ARMV6 11 1.126 matt defflag opt_cputypes.h CPU_ARMV2: CPU_PRE_ARMV6 12 1.126 matt defflag opt_cputypes.h CPU_ARMV3: CPU_ARMV2 13 1.126 matt defflag opt_cputypes.h CPU_ARMV4: CPU_ARMV3 14 1.126 matt defflag opt_cputypes.h CPU_ARMV4T: CPU_ARMV4 15 1.126 matt defflag opt_cputypes.h CPU_ARMV5T: CPU_ARMV4T 16 1.126 matt defflag opt_cputypes.h CPU_ARMV5TE: CPU_ARMV5T 17 1.126 matt defflag opt_cputypes.h CPU_XSCALE: CPU_ARMV5TE 18 1.123 matt defflag opt_cputypes.h CPU_ARMV6: ARM32_DISABLE_ALIGNMENT_FAULTS 19 1.123 matt defflag opt_cputypes.h CPU_ARMV7: ARM32_DISABLE_ALIGNMENT_FAULTS 20 1.126 matt defflag opt_cputypes.h CPU_ARM2: CPU_ARMV2 21 1.126 matt defflag opt_cputypes.h CPU_ARM250: CPU_ARMV2 22 1.126 matt defflag opt_cputypes.h CPU_ARM3: CPU_ARMV2 23 1.126 matt defflag opt_cputypes.h CPU_ARM6: CPU_ARMV3 24 1.126 matt defflag opt_cputypes.h CPU_ARM7: CPU_ARMV3 25 1.126 matt defflag opt_cputypes.h CPU_ARM8: CPU_ARMV4 26 1.126 matt defflag opt_cputypes.h CPU_SA110: CPU_ARMV4 27 1.126 matt defflag opt_cputypes.h CPU_SA1100: CPU_ARMV4 28 1.126 matt defflag opt_cputypes.h CPU_SA1110: CPU_ARMV4 29 1.126 matt defflag opt_cputypes.h CPU_FA526: CPU_ARMV4 30 1.126 matt defflag opt_cputypes.h CPU_IXP12X0: CPU_ARMV4 31 1.126 matt defflag opt_cputypes.h CPU_ARM7TDMI: CPU_ARMV4T 32 1.126 matt defflag opt_cputypes.h CPU_ARM9: CPU_ARMV4T 33 1.126 matt defflag opt_cputypes.h CPU_ARM10: CPU_ARMV5T 34 1.126 matt defflag opt_cputypes.h CPU_ARM9E: CPU_ARMV5TE 35 1.126 matt defflag opt_cputypes.h CPU_XSCALE_80200: CPU_XSCALE 36 1.126 matt defflag opt_cputypes.h CPU_XSCALE_80321: CPU_XSCALE 37 1.126 matt defflag opt_cputypes.h CPU_XSCALE_PXA250: CPU_XSCALE 38 1.126 matt defflag opt_cputypes.h CPU_XSCALE_PXA270: CPU_XSCALE 39 1.126 matt defflag opt_cputypes.h CPU_XSCALE_IXP425: CPU_XSCALE 40 1.126 matt defflag opt_cputypes.h CPU_SHEEVA: CPU_ARMV5TE 41 1.121 matt defflag opt_cputypes.h CPU_ARM11: CPU_ARMV6 42 1.91 matt defflag opt_cputypes.h CPU_ARM1136: CPU_ARM11 43 1.91 matt defflag opt_cputypes.h CPU_ARM1176: CPU_ARM11 44 1.101 bsh defflag opt_cputypes.h CPU_ARM11MPCORE: CPU_ARM11 45 1.118 matt defflag opt_cputypes.h CPU_PJ4B: CPU_ARMV7 46 1.118 matt defflag opt_cputypes.h CPU_CORTEX: CPU_ARMV7 47 1.104 matt defflag opt_cputypes.h CPU_CORTEXA5: CPU_CORTEX 48 1.104 matt defflag opt_cputypes.h CPU_CORTEXA7: CPU_CORTEX 49 1.99 matt defflag opt_cputypes.h CPU_CORTEXA8: CPU_CORTEX 50 1.99 matt defflag opt_cputypes.h CPU_CORTEXA9: CPU_CORTEX 51 1.104 matt defflag opt_cputypes.h CPU_CORTEXA15: CPU_CORTEX 52 1.129 matt defflag opt_cputypes.h CPU_CORTEXA17: CPU_CORTEX 53 1.121 matt defflag opt_cputypes.h FPU_VFP 54 1.56 thorpej 55 1.53 briggs defparam opt_cpuoptions.h XSCALE_CCLKCFG 56 1.66 bsh defflag opt_cpuoptions.h XSCALE_CACHE_WRITE_THROUGH 57 1.66 bsh defflag opt_cpuoptions.h XSCALE_CACHE_WRITE_BACK 58 1.68 thorpej defflag opt_cpuoptions.h XSCALE_NO_COALESCE_WRITES 59 1.68 thorpej defflag opt_cpuoptions.h XSCALE_CACHE_READ_WRITE_ALLOCATE 60 1.77 bsh defflag opt_cpuoptions.h ARM9_CACHE_WRITE_THROUGH 61 1.109 matt defflag opt_cpuoptions.h TPIDRPRW_IS_CURLWP 62 1.109 matt defflag opt_cpuoptions.h TPIDRPRW_IS_CURCPU 63 1.99 matt defflag opt_cpuoptions.h ARM11_PMC CORTEX_PMC 64 1.97 uebayasi defflag opt_cpuoptions.h ARM11_CACHE_WRITE_THROUGH 65 1.121 matt defflag opt_cpuoptions.h ARM11_COMPAT_MMU 66 1.120 matt defflag opt_cpuoptions.h ARM_HAS_VBAR 67 1.128 matt defflag opt_cpuoptions.h ARM_HAS_LPAE 68 1.101 bsh # use extended small page in compatible MMU mode for ARMv6 69 1.127 matt defflag opt_cpuoptions.h SHEEVA_L2_CACHE 70 1.127 matt defflag opt_cpuoptions.h SHEEVA_L2_CACHE_WT: SHEEVA_L2_CACHE 71 1.130 jmcneill # override configuration base address register 72 1.130 jmcneill defparam opt_cpuoptions.h ARM_CBAR 73 1.53 briggs 74 1.65 thorpej # Interrupt implementation header definition. 75 1.65 thorpej defparam opt_arm_intr_impl.h ARM_INTR_IMPL 76 1.75 scw 77 1.83 thorpej # ARM-specific debug options 78 1.83 thorpej defflag opt_arm_debug.h ARM_LOCK_CAS_DEBUG 79 1.125 matt defflag opt_arm_debug.h VERBOSE_INIT_ARM 80 1.83 thorpej 81 1.111 matt # Board-specific bus_space(9)/bus_dma(9) definitions 82 1.116 matt defflag opt_arm_bus_space.h __BUS_SPACE_HAS_STREAM_METHODS 83 1.116 matt _ARM32_NEED_BUS_DMA_BOUNCE 84 1.116 matt BUSDMA_COUNTERS 85 1.13 bjh21 86 1.13 bjh21 # Floating point emulator 87 1.113 matt obsolete defflag ARMFPE 88 1.25 bjh21 89 1.90 rearnsha # VFP support 90 1.108 matt file arch/arm/vfp/vfp_init.c arm32 91 1.115 matt #file arch/arm/vfp/pmap_vfp.S arm32 & fpu_vfp 92 1.90 rearnsha 93 1.25 bjh21 # PMAP_DEBUG (heavily abused option) 94 1.46 lukem defflag PMAP_DEBUG 95 1.9 reinoud 96 1.67 scw # New PMAP options 97 1.91 matt defflag opt_arm32_pmap.h ARM32_NEW_VM_LAYOUT PMAPCOUNTERS 98 1.112 matt PMAP_STEAL_MEMORY PMAP_NEED_ALLOC_POOLPAGE 99 1.126 matt PMAP_TLB 100 1.126 matt defparam opt_arm32_pmap.h PGSHIFT 101 1.67 scw 102 1.14 matt # MI console support 103 1.14 matt file dev/cons.c 104 1.14 matt 105 1.4 bjh21 # DDB 106 1.4 bjh21 file arch/arm/arm/db_disasm.c ddb 107 1.69 briggs file arch/arm/arm32/db_interface.c (ddb|kgdb) & arm32 108 1.31 bjh21 file arch/arm/arm/db_trace.c ddb 109 1.14 matt file arch/arm/arm32/db_machdep.c ddb & arm32 110 1.69 briggs file arch/arm/arm32/kgdb_machdep.c kgdb & arm32 111 1.14 matt 112 1.47 thorpej # FIQ support 113 1.47 thorpej file arch/arm/arm/fiq.c 114 1.47 thorpej file arch/arm/arm/fiq_subr.S 115 1.10 reinoud 116 1.10 reinoud # mainbus files 117 1.110 matt device mainbus { [base = -1], [size = 0], [dack = -1], [irq = -1], [intrbase = -1], [core = -1] } 118 1.10 reinoud attach mainbus at root 119 1.10 reinoud file arch/arm/mainbus/mainbus.c mainbus & arm32 120 1.10 reinoud file arch/arm/mainbus/mainbus_io.c mainbus & arm32 121 1.10 reinoud file arch/arm/mainbus/mainbus_io_asm.S mainbus & arm32 122 1.10 reinoud 123 1.11 bjh21 device cpu { } 124 1.23 matt attach cpu at mainbus with cpu_mainbus 125 1.23 matt file arch/arm/mainbus/cpu_mainbus.c cpu_mainbus & arm32 126 1.3 bjh21 127 1.3 bjh21 # files related to debugging 128 1.3 bjh21 file arch/arm/arm/disassem.c 129 1.5 bjh21 130 1.58 thorpej # bus_space(9) 131 1.58 thorpej define bus_space_generic 132 1.58 thorpej file arch/arm/arm/bus_space_asm_generic.S bus_space_generic 133 1.58 thorpej file arch/arm/arm/bus_space_notimpl.S arm32 134 1.58 thorpej 135 1.17 bjh21 file arch/arm/arm/arm_machdep.c 136 1.48 bjh21 file arch/arm/arm/ast.c 137 1.62 bjh21 file arch/arm/arm/bcopyinout.S 138 1.29 bjh21 file arch/arm/arm/blockio.S 139 1.26 bjh21 file arch/arm/arm/bootconfig.c 140 1.16 bjh21 file arch/arm/arm/compat_13_machdep.c compat_13 141 1.80 christos file arch/arm/arm/compat_16_machdep.c compat_16 142 1.63 bjh21 file arch/arm/arm/copystr.S 143 1.94 ad file arch/arm/arm/core_machdep.c 144 1.89 chris file arch/arm/arm/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 145 1.24 bjh21 file arch/arm/arm/cpufunc.c 146 1.24 bjh21 file arch/arm/arm/cpufunc_asm.S 147 1.103 kiyohara file arch/arm/arm/cpufunc_asm_arm3.S cpu_arm2 | cpu_arm250 | cpu_arm3 148 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm67.S cpu_arm6 | cpu_arm7 149 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm7tdmi.S cpu_arm7tdmi 150 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm8.S cpu_arm8 151 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm9.S cpu_arm9 152 1.100 kiyohara file arch/arm/arm/cpufunc_asm_arm10.S cpu_arm9e | cpu_arm10 | 153 1.100 kiyohara cpu_sheeva 154 1.124 matt file arch/arm/arm/cpufunc_asm_arm11.S cpu_arm11 155 1.91 matt file arch/arm/arm/cpufunc_asm_arm1136.S cpu_arm1136 156 1.106 skrll file arch/arm/arm/cpufunc_asm_arm11x6.S cpu_arm1136 | cpu_arm1176 157 1.82 christos file arch/arm/arm/cpufunc_asm_armv4.S cpu_arm9 | cpu_arm9e | 158 1.82 christos cpu_arm10 | 159 1.93 matt cpu_fa526 | 160 1.73 rearnsha cpu_sa110 | 161 1.73 rearnsha cpu_sa1100 | 162 1.73 rearnsha cpu_sa1110 | 163 1.61 ichiro cpu_ixp12x0 | 164 1.126 matt cpu_xscale | 165 1.100 kiyohara cpu_sheeva 166 1.101 bsh file arch/arm/arm/cpufunc_asm_armv5.S cpu_arm10 | cpu_arm11mpcore 167 1.100 kiyohara file arch/arm/arm/cpufunc_asm_armv5_ec.S cpu_arm9e | cpu_arm10 | 168 1.100 kiyohara cpu_sheeva 169 1.126 matt file arch/arm/arm/cpufunc_asm_armv6.S cpu_arm11 170 1.117 rkujawa file arch/arm/arm/cpufunc_asm_armv7.S cpu_cortex | cpu_pj4b 171 1.117 rkujawa file arch/arm/arm/cpufunc_asm_pj4b.S cpu_pj4b 172 1.60 rjs file arch/arm/arm/cpufunc_asm_sa1.S cpu_sa110 | cpu_sa1100 | 173 1.61 ichiro cpu_sa1110 | 174 1.61 ichiro cpu_ixp12x0 175 1.60 rjs file arch/arm/arm/cpufunc_asm_sa11x0.S cpu_sa1100 | cpu_sa1110 176 1.93 matt file arch/arm/arm/cpufunc_asm_fa526.S cpu_fa526 177 1.126 matt file arch/arm/arm/cpufunc_asm_xscale.S cpu_xscale 178 1.61 ichiro file arch/arm/arm/cpufunc_asm_ixp12x0.S cpu_ixp12x0 179 1.100 kiyohara file arch/arm/arm/cpufunc_asm_sheeva.S cpu_sheeva 180 1.107 matt file arch/arm/arm/cpu_exec.c 181 1.96 bjh21 file arch/arm/arm/fusu.S 182 1.84 yamt file arch/arm/arm/idle_machdep.c 183 1.83 thorpej file arch/arm/arm/lock_cas.S 184 1.6 bjh21 file arch/arm/arm/process_machdep.c 185 1.37 chris file arch/arm/arm/procfs_machdep.c procfs 186 1.7 bjh21 file arch/arm/arm/sig_machdep.c 187 1.5 bjh21 file arch/arm/arm/sigcode.S 188 1.50 bjh21 file arch/arm/arm/syscall.c 189 1.20 bjh21 file arch/arm/arm/undefined.c 190 1.55 bjh21 # vectors.S gets included manually by Makefile.acorn26, since it needs 191 1.49 bjh21 # to be at the start of the text segment on those machines. 192 1.49 bjh21 file arch/arm/arm/vectors.S arm32 193 1.14 matt 194 1.14 matt # files common to arm32 implementations 195 1.35 chris file arch/arm/arm32/arm32_machdep.c arm32 196 1.35 chris file arch/arm/arm32/bus_dma.c arm32 197 1.23 matt file arch/arm/arm32/cpu.c arm32 & cpu 198 1.35 chris file arch/arm/arm32/cpuswitch.S arm32 199 1.35 chris file arch/arm/arm32/exception.S arm32 200 1.35 chris file arch/arm/arm32/fault.c arm32 201 1.87 ad file arch/arm/arm32/kobj_machdep.c arm32 & modular 202 1.71 thorpej file arch/arm/arm32/pmap.c arm32 203 1.35 chris file arch/arm/arm32/setcpsr.S arm32 204 1.35 chris file arch/arm/arm32/setstack.S arm32 205 1.35 chris file arch/arm/arm32/stubs.c arm32 206 1.14 matt file arch/arm/arm32/sys_machdep.c arm32 207 1.35 chris file arch/arm/arm32/vm_machdep.c arm32 208 1.15 matt 209 1.91 matt # files less common to arm32 implementations... 210 1.91 matt file kern/kern_cctr.c arm11 211 1.91 matt file arch/arm/arm32/arm11_pmc.c arm11_pmc 212 1.99 matt file arch/arm/arm32/cortex_pmc.c cortex_pmc 213 1.126 matt file arch/arm/arm32/arm32_tlb.c (cpu_armv7 | cpu_arm11) & (!arm11_compat_mmu & !cpu_pre_armv6) 214 1.126 matt file uvm/pmap/pmap_tlb.c (cpu_armv7 | cpu_arm11) & (!arm11_compat_mmu & !cpu_pre_armv6) 215 1.91 matt 216 1.15 matt # arm32 library functions 217 1.15 matt file arch/arm/arm32/bcopy_page.S arm32 218 1.51 bjh21 219 1.107 matt # 220 1.107 matt include "compat/netbsd32/files.netbsd32" 221 1.107 matt file arch/arm/arm32/netbsd32_machdep.c arm32 & compat_netbsd32 222 1.107 matt 223 1.51 bjh21 # Linux binary compatibility (COMPAT_LINUX) 224 1.51 bjh21 include "compat/ossaudio/files.ossaudio" 225 1.51 bjh21 include "compat/linux/files.linux" 226 1.51 bjh21 include "compat/linux/arch/arm/files.linux_arm" 227 1.51 bjh21 file arch/arm/arm/linux_sigcode.S compat_linux 228 1.52 bjh21 file arch/arm/arm/linux_syscall.c compat_linux 229 1.51 bjh21 file arch/arm/arm/linux_trap.c compat_linux 230