1 1.29 christos # $NetBSD: files.aarch64,v 1.29 2020/10/20 20:36:06 christos Exp $ 2 1.1 matt 3 1.3 ryo defflag opt_cpuoptions.h AARCH64_ALIGNMENT_CHECK 4 1.3 ryo defflag opt_cpuoptions.h AARCH64_EL0_STACK_ALIGNMENT_CHECK 5 1.3 ryo defflag opt_cpuoptions.h AARCH64_EL1_STACK_ALIGNMENT_CHECK 6 1.3 ryo defflag opt_cpuoptions.h AARCH64_HAVE_L2CTLR 7 1.16 jmcneill defflag opt_cpuoptions.h AARCH64_DEVICE_MEM_STRONGLY_ORDERED 8 1.3 ryo 9 1.3 ryo defflag opt_cputypes.h CPU_ARMV8 10 1.3 ryo defflag opt_cputypes.h CPU_CORTEX: CPU_ARMV8 11 1.10 skrll defflag opt_cputypes.h CPU_THUNDERX: CPU_ARMV8 12 1.3 ryo 13 1.3 ryo # Interrupt implementation header definition 14 1.3 ryo defparam opt_arm_intr_impl.h ARM_INTR_IMPL 15 1.3 ryo 16 1.3 ryo # ARM-specific debug options (for compat arch/arm/*) 17 1.6 skrll defflag opt_arm_debug.h ARM_LOCK_CAS_DEBUG 18 1.6 skrll defflag opt_arm_debug.h VERBOSE_INIT_ARM 19 1.8 skrll defparam opt_arm_debug.h EARLYCONS 20 1.3 ryo 21 1.3 ryo # Timer options 22 1.3 ryo defflag opt_arm_timer.h __HAVE_GENERIC_CPU_INITCLOCKS 23 1.1 matt 24 1.1 matt # Board-specific bus_space(9)/bus_dma(9) definitions 25 1.3 ryo defflag opt_arm_bus_space.h __BUS_SPACE_HAS_STREAM_METHODS 26 1.3 ryo __BUS_SPACE_HAS_PROBING_METHODS 27 1.3 ryo _ARM32_NEED_BUS_DMA_BOUNCE 28 1.1 matt BUSDMA_COUNTERS 29 1.1 matt 30 1.4 jakllsch # Console options 31 1.4 jakllsch defparam opt_console.h CONSADDR 32 1.4 jakllsch defparam opt_console.h CONSPEED 33 1.4 jakllsch defparam opt_console.h CONMODE 34 1.4 jakllsch defparam opt_console.h CONADDR 35 1.4 jakllsch 36 1.4 jakllsch # Power State Coordination Interface (PSCI) 37 1.1 matt # FP support 38 1.1 matt file arch/aarch64/aarch64/fpu.c 39 1.1 matt 40 1.3 ryo device psci 41 1.3 ryo file arch/arm/arm/psci.c psci 42 1.3 ryo file arch/arm/arm/psci_arm.S psci 43 1.3 ryo 44 1.9 jmcneill # EFI support 45 1.9 jmcneill defflag opt_efi.h EFI_RUNTIME 46 1.9 jmcneill file arch/arm/arm/efi_runtime.c efi_runtime 47 1.9 jmcneill 48 1.1 matt # PMAP options 49 1.3 ryo defflag opt_pmap.h PMAPHIST : KERNHIST 50 1.1 matt defflag opt_pmap.h PMAPCOUNTERS PMAP_STEAL_MEMORY 51 1.1 matt PMAP_NEED_ALLOC_POOLPAGE 52 1.25 ryo defflag opt_pmapboot.h PMAPBOOT_DEBUG 53 1.1 matt 54 1.1 matt # MI support 55 1.1 matt file dev/cons.c 56 1.1 matt #file kern/kern_cctr.c 57 1.1 matt 58 1.1 matt # DDB 59 1.1 matt file arch/aarch64/aarch64/db_disasm.c ddb 60 1.1 matt file arch/aarch64/aarch64/db_interface.c ddb|kgdb 61 1.1 matt file arch/aarch64/aarch64/db_trace.c ddb 62 1.1 matt file arch/aarch64/aarch64/db_machdep.c ddb 63 1.3 ryo file arch/aarch64/aarch64/disasm.c ddb 64 1.1 matt file arch/aarch64/aarch64/kgdb_machdep.c kgdb 65 1.1 matt 66 1.1 matt # mainbus files 67 1.3 ryo device mainbus { [addr = -1], [size = 0], [intr = -1] } 68 1.1 matt attach mainbus at root 69 1.1 matt file arch/aarch64/dev/mainbus.c mainbus 70 1.1 matt 71 1.3 ryo device cpu { } 72 1.3 ryo file arch/aarch64/aarch64/cpu.c cpu 73 1.1 matt 74 1.1 matt # bus_space(9) 75 1.3 ryo define bus_space_generic 76 1.1 matt file arch/aarch64/aarch64/bus_space.c 77 1.3 ryo file arch/aarch64/aarch64/bus_space_asm_generic.S # bus_space_generic 78 1.3 ryo file arch/aarch64/aarch64/bus_space_notimpl.S 79 1.1 matt 80 1.3 ryo # Standard files 81 1.18 skrll file arch/arm/arm/arm_cpu_topology.c 82 1.18 skrll file arch/arm/arm/arm_generic_dma.c 83 1.3 ryo file arch/arm/arm/bootconfig.c 84 1.21 maxv file arch/arm/arm/bus_stubs.c 85 1.20 skrll file arch/arm/arm/cpu_subr.c 86 1.18 skrll file arch/arm/arm32/bus_dma.c 87 1.1 matt file arch/aarch64/aarch64/aarch64_machdep.c 88 1.3 ryo file arch/aarch64/aarch64/aarch64_reboot.c 89 1.14 pgoyette file arch/aarch64/aarch64/core_machdep.c coredump 90 1.3 ryo file arch/aarch64/aarch64/copyinout.S 91 1.3 ryo file arch/aarch64/aarch64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 92 1.1 matt file arch/aarch64/aarch64/cpu_machdep.c 93 1.3 ryo file arch/aarch64/aarch64/cpuswitch.S 94 1.3 ryo file arch/aarch64/aarch64/cpufunc.c 95 1.3 ryo file arch/aarch64/aarch64/cpufunc_asm_armv8.S 96 1.1 matt file arch/aarch64/aarch64/exec_machdep.c 97 1.3 ryo file arch/aarch64/aarch64/fusu.S 98 1.3 ryo file arch/aarch64/aarch64/idle_machdep.S 99 1.1 matt file arch/aarch64/aarch64/kobj_machdep.c modular 100 1.27 skrll file arch/aarch64/aarch64/lock_stubs.S 101 1.29 christos file arch/aarch64/aarch64/process_machdep.c ptrace | coredump | procfs 102 1.1 matt file arch/aarch64/aarch64/procfs_machdep.c procfs 103 1.1 matt file arch/aarch64/aarch64/sig_machdep.c 104 1.1 matt file arch/aarch64/aarch64/sys_machdep.c 105 1.3 ryo file arch/aarch64/aarch64/syscall.c 106 1.3 ryo file arch/aarch64/aarch64/trap.c 107 1.3 ryo file arch/aarch64/aarch64/fault.c 108 1.3 ryo file arch/aarch64/aarch64/vectors.S 109 1.1 matt file arch/aarch64/aarch64/vm_machdep.c 110 1.1 matt 111 1.3 ryo # pmap 112 1.3 ryo file arch/aarch64/aarch64/pmap.c 113 1.5 ryo file arch/aarch64/aarch64/pmapboot.c 114 1.3 ryo file arch/aarch64/aarch64/pmap_page.S 115 1.19 ryo file uvm/pmap/pmap_pvt.c 116 1.3 ryo 117 1.9 jmcneill # EFI runtime (machdep) 118 1.9 jmcneill file arch/aarch64/aarch64/efi_machdep.c efi_runtime 119 1.9 jmcneill 120 1.3 ryo # cyclecounter 121 1.3 ryo #file arch/aarch64/aarch64/cctr_machdep.c 122 1.3 ryo #file kern/kern_cctr.c 123 1.3 ryo 124 1.3 ryo 125 1.1 matt # NetBSD 32-bit binary compatibility 126 1.1 matt include "compat/netbsd32/files.netbsd32" 127 1.1 matt file arch/aarch64/aarch64/netbsd32_machdep.c compat_netbsd32 128 1.7 ryo file arch/aarch64/aarch64/netbsd32_syscall.c compat_netbsd32 129 1.1 matt 130 1.1 matt # Linux binary compatibility (COMPAT_LINUX) 131 1.1 matt #include "compat/ossaudio/files.ossaudio" 132 1.1 matt #include "compat/linux/files.linux" 133 1.1 matt #include "compat/linux/arch/aarch64/files.linux_aarch64" 134 1.1 matt #file arch/aarch64/aarch64/linux_sigcode.S compat_linux 135 1.1 matt #file arch/aarch64/aarch64/linux_syscall.c compat_linux 136 1.1 matt #file arch/aarch64/aarch64/linux_trap.c compat_linux 137 1.11 jmcneill 138 1.11 jmcneill # profiling support 139 1.12 jmcneill file dev/tprof/tprof_armv8.c tprof needs-flag 140 1.23 riastrad 141 1.23 riastrad # ARMv8.0-AES 142 1.23 riastrad include "crypto/aes/arch/arm/files.aesarmv8" 143 1.24 riastrad 144 1.24 riastrad # vpaes with ARM NEON 145 1.24 riastrad include "crypto/aes/arch/arm/files.aesneon" 146 1.26 riastrad 147 1.26 riastrad # ChaCha with ARM NEON 148 1.26 riastrad include "crypto/chacha/arch/arm/files.chacha_arm" 149