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