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