1 1.94 ad # $NetBSD: files.arm,v 1.94 2008/11/19 18:35:58 ad 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.57 thorpej # CPU types. Make sure to update <arm/cpuconf.h> if you change this list. 7 1.46 lukem defflag opt_cputypes.h CPU_ARM2 CPU_ARM250 CPU_ARM3 8 1.46 lukem defflag opt_cputypes.h CPU_ARM6 CPU_ARM7 CPU_ARM7TDMI CPU_ARM8 9 1.82 christos CPU_ARM9 CPU_ARM9E CPU_ARM10 CPU_ARM11 10 1.82 christos CPU_SA110 CPU_SA1100 CPU_SA1110 CPU_IXP12X0 11 1.93 matt CPU_FA526 12 1.78 rearnsha CPU_XSCALE_80200 CPU_XSCALE_80321 13 1.79 bsh CPU_XSCALE_PXA250 CPU_XSCALE_PXA270 14 1.79 bsh CPU_XSCALE_IXP425 15 1.91 matt defflag opt_cputypes.h CPU_ARM1136: CPU_ARM11 16 1.91 matt defflag opt_cputypes.h CPU_ARM1176: CPU_ARM11 17 1.92 matt defflag opt_cputypes.h CPU_CORTEXA8: CPU_ARM11 18 1.90 rearnsha defflag opt_cputypes.h FPU_VFP 19 1.56 thorpej 20 1.53 briggs defparam opt_cpuoptions.h XSCALE_CCLKCFG 21 1.66 bsh defflag opt_cpuoptions.h XSCALE_CACHE_WRITE_THROUGH 22 1.66 bsh defflag opt_cpuoptions.h XSCALE_CACHE_WRITE_BACK 23 1.68 thorpej defflag opt_cpuoptions.h XSCALE_NO_COALESCE_WRITES 24 1.68 thorpej defflag opt_cpuoptions.h XSCALE_CACHE_READ_WRITE_ALLOCATE 25 1.76 scw defflag opt_cpuoptions.h ARM32_DISABLE_ALIGNMENT_FAULTS 26 1.77 bsh defflag opt_cpuoptions.h ARM9_CACHE_WRITE_THROUGH 27 1.91 matt defflag opt_cpuoptions.h PROCESS_ID_IS_CURLWP 28 1.91 matt defflag opt_cpuoptions.h PROCESS_ID_IS_CURCPU 29 1.91 matt defflag opt_cpuoptions.h ARM11_PMC 30 1.53 briggs 31 1.65 thorpej # Interrupt implementation header definition. 32 1.65 thorpej defparam opt_arm_intr_impl.h ARM_INTR_IMPL 33 1.75 scw 34 1.83 thorpej # ARM-specific debug options 35 1.83 thorpej defflag opt_arm_debug.h ARM_LOCK_CAS_DEBUG 36 1.83 thorpej 37 1.75 scw # Board-specific bus_space(9) definitions 38 1.75 scw defflag opt_arm_bus_space.h __BUS_SPACE_HAS_STREAM_METHODS 39 1.13 bjh21 40 1.13 bjh21 # Floating point emulator 41 1.46 lukem defflag ARMFPE 42 1.43 thorpej file arch/arm/fpe-arm/armfpe_glue.S armfpe 43 1.43 thorpej file arch/arm/fpe-arm/armfpe_init.c armfpe 44 1.44 thorpej file arch/arm/fpe-arm/armfpe.S armfpe 45 1.25 bjh21 46 1.90 rearnsha # VFP support 47 1.90 rearnsha file arch/arm/vfp/vfp_init.c fpu_vfp 48 1.90 rearnsha 49 1.25 bjh21 # PMAP_DEBUG (heavily abused option) 50 1.46 lukem defflag PMAP_DEBUG 51 1.9 reinoud 52 1.67 scw # New PMAP options 53 1.91 matt defflag opt_arm32_pmap.h ARM32_NEW_VM_LAYOUT PMAPCOUNTERS 54 1.91 matt PMAP_STEAL_MEMORY 55 1.67 scw 56 1.14 matt # MI console support 57 1.14 matt file dev/cons.c 58 1.14 matt 59 1.4 bjh21 # DDB 60 1.4 bjh21 file arch/arm/arm/db_disasm.c ddb 61 1.69 briggs file arch/arm/arm32/db_interface.c (ddb|kgdb) & arm32 62 1.31 bjh21 file arch/arm/arm/db_trace.c ddb 63 1.14 matt file arch/arm/arm32/db_machdep.c ddb & arm32 64 1.69 briggs file arch/arm/arm32/kgdb_machdep.c kgdb & arm32 65 1.14 matt 66 1.47 thorpej # FIQ support 67 1.47 thorpej file arch/arm/arm/fiq.c 68 1.47 thorpej file arch/arm/arm/fiq_subr.S 69 1.10 reinoud 70 1.10 reinoud # mainbus files 71 1.91 matt device mainbus { [base = -1], [size = 0], [dack = -1], [irq = -1] } 72 1.10 reinoud attach mainbus at root 73 1.10 reinoud file arch/arm/mainbus/mainbus.c mainbus & arm32 74 1.10 reinoud file arch/arm/mainbus/mainbus_io.c mainbus & arm32 75 1.10 reinoud file arch/arm/mainbus/mainbus_io_asm.S mainbus & arm32 76 1.10 reinoud 77 1.11 bjh21 device cpu { } 78 1.23 matt attach cpu at mainbus with cpu_mainbus 79 1.23 matt file arch/arm/mainbus/cpu_mainbus.c cpu_mainbus & arm32 80 1.3 bjh21 81 1.3 bjh21 # files related to debugging 82 1.3 bjh21 file arch/arm/arm/disassem.c 83 1.5 bjh21 84 1.58 thorpej # bus_space(9) 85 1.58 thorpej define bus_space_generic 86 1.58 thorpej file arch/arm/arm/bus_space_asm_generic.S bus_space_generic 87 1.58 thorpej file arch/arm/arm/bus_space_notimpl.S arm32 88 1.58 thorpej 89 1.17 bjh21 file arch/arm/arm/arm_machdep.c 90 1.48 bjh21 file arch/arm/arm/ast.c 91 1.62 bjh21 file arch/arm/arm/bcopyinout.S 92 1.29 bjh21 file arch/arm/arm/blockio.S 93 1.26 bjh21 file arch/arm/arm/bootconfig.c 94 1.16 bjh21 file arch/arm/arm/compat_13_machdep.c compat_13 95 1.80 christos file arch/arm/arm/compat_16_machdep.c compat_16 96 1.63 bjh21 file arch/arm/arm/copystr.S 97 1.94 ad file arch/arm/arm/core_machdep.c 98 1.89 chris file arch/arm/arm/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 99 1.24 bjh21 file arch/arm/arm/cpufunc.c 100 1.24 bjh21 file arch/arm/arm/cpufunc_asm.S 101 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm3.S cpu_arm3 102 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm67.S cpu_arm6 | cpu_arm7 103 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm7tdmi.S cpu_arm7tdmi 104 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm8.S cpu_arm8 105 1.40 thorpej file arch/arm/arm/cpufunc_asm_arm9.S cpu_arm9 106 1.82 christos file arch/arm/arm/cpufunc_asm_arm10.S cpu_arm9e | cpu_arm10 107 1.78 rearnsha file arch/arm/arm/cpufunc_asm_arm11.S cpu_arm11 108 1.91 matt file arch/arm/arm/cpufunc_asm_arm1136.S cpu_arm1136 109 1.82 christos file arch/arm/arm/cpufunc_asm_armv4.S cpu_arm9 | cpu_arm9e | 110 1.82 christos cpu_arm10 | 111 1.93 matt cpu_fa526 | 112 1.73 rearnsha cpu_sa110 | 113 1.73 rearnsha cpu_sa1100 | 114 1.73 rearnsha cpu_sa1110 | 115 1.61 ichiro cpu_ixp12x0 | 116 1.56 thorpej cpu_xscale_80200 | 117 1.59 thorpej cpu_xscale_80321 | 118 1.72 ichiro cpu_xscale_ixp425 | 119 1.79 bsh cpu_xscale_pxa250 | 120 1.79 bsh cpu_xscale_pxa270 121 1.91 matt file arch/arm/arm/cpufunc_asm_armv5.S cpu_arm10 122 1.82 christos file arch/arm/arm/cpufunc_asm_armv5_ec.S cpu_arm9e | cpu_arm10 123 1.91 matt file arch/arm/arm/cpufunc_asm_armv6.S cpu_arm11 124 1.91 matt makeoptions cpu_arm11 "AOPTS.cpufunc_asm_armv6.S"+="-Wa,-march=armv6" 125 1.60 rjs file arch/arm/arm/cpufunc_asm_sa1.S cpu_sa110 | cpu_sa1100 | 126 1.61 ichiro cpu_sa1110 | 127 1.61 ichiro cpu_ixp12x0 128 1.60 rjs file arch/arm/arm/cpufunc_asm_sa11x0.S cpu_sa1100 | cpu_sa1110 129 1.93 matt file arch/arm/arm/cpufunc_asm_fa526.S cpu_fa526 130 1.56 thorpej file arch/arm/arm/cpufunc_asm_xscale.S cpu_xscale_80200 | 131 1.59 thorpej cpu_xscale_80321 | 132 1.72 ichiro cpu_xscale_ixp425 | 133 1.79 bsh cpu_xscale_pxa250 | 134 1.79 bsh cpu_xscale_pxa270 135 1.61 ichiro file arch/arm/arm/cpufunc_asm_ixp12x0.S cpu_ixp12x0 136 1.84 yamt file arch/arm/arm/idle_machdep.c 137 1.83 thorpej file arch/arm/arm/lock_cas.S 138 1.6 bjh21 file arch/arm/arm/process_machdep.c 139 1.37 chris file arch/arm/arm/procfs_machdep.c procfs 140 1.7 bjh21 file arch/arm/arm/sig_machdep.c 141 1.5 bjh21 file arch/arm/arm/sigcode.S 142 1.50 bjh21 file arch/arm/arm/syscall.c 143 1.20 bjh21 file arch/arm/arm/undefined.c 144 1.55 bjh21 # vectors.S gets included manually by Makefile.acorn26, since it needs 145 1.49 bjh21 # to be at the start of the text segment on those machines. 146 1.49 bjh21 file arch/arm/arm/vectors.S arm32 147 1.14 matt 148 1.14 matt # files common to arm32 implementations 149 1.35 chris file arch/arm/arm32/arm32_machdep.c arm32 150 1.35 chris file arch/arm/arm32/bus_dma.c arm32 151 1.23 matt file arch/arm/arm32/cpu.c arm32 & cpu 152 1.35 chris file arch/arm/arm32/cpuswitch.S arm32 153 1.35 chris file arch/arm/arm32/exception.S arm32 154 1.35 chris file arch/arm/arm32/fault.c arm32 155 1.35 chris file arch/arm/arm32/fusu.S arm32 156 1.87 ad file arch/arm/arm32/kobj_machdep.c arm32 & modular 157 1.35 chris file arch/arm/arm32/mem.c arm32 158 1.71 thorpej file arch/arm/arm32/pmap.c arm32 159 1.35 chris file arch/arm/arm32/setcpsr.S arm32 160 1.35 chris file arch/arm/arm32/setstack.S arm32 161 1.35 chris file arch/arm/arm32/stubs.c arm32 162 1.14 matt file arch/arm/arm32/sys_machdep.c arm32 163 1.35 chris file arch/arm/arm32/vm_machdep.c arm32 164 1.64 bsh file arch/arm/arm32/atomic.S arm32 165 1.15 matt 166 1.91 matt # files less common to arm32 implementations... 167 1.91 matt file kern/kern_cctr.c arm11 168 1.91 matt file arch/arm/arm32/arm11_pmc.c arm11_pmc 169 1.91 matt 170 1.15 matt # arm32 library functions 171 1.15 matt file arch/arm/arm32/bcopy_page.S arm32 172 1.51 bjh21 173 1.51 bjh21 # Linux binary compatibility (COMPAT_LINUX) 174 1.51 bjh21 include "compat/ossaudio/files.ossaudio" 175 1.51 bjh21 include "compat/linux/files.linux" 176 1.51 bjh21 include "compat/linux/arch/arm/files.linux_arm" 177 1.51 bjh21 file arch/arm/arm/linux_sigcode.S compat_linux 178 1.52 bjh21 file arch/arm/arm/linux_syscall.c compat_linux 179 1.51 bjh21 file arch/arm/arm/linux_trap.c compat_linux 180