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