1 1.10 skrll # $NetBSD: files.aarch64,v 1.10 2018/11/18 15:52:03 skrll 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.3 ryo 8 1.3 ryo defflag opt_cputypes.h CPU_ARMV8 9 1.3 ryo defflag opt_cputypes.h CPU_CORTEX: CPU_ARMV8 10 1.3 ryo defflag opt_cputypes.h CPU_CORTEXA35: CPU_CORTEX 11 1.3 ryo defflag opt_cputypes.h CPU_CORTEXA53: CPU_CORTEX 12 1.3 ryo defflag opt_cputypes.h CPU_CORTEXA57: CPU_CORTEX 13 1.10 skrll defflag opt_cputypes.h CPU_THUNDERX: CPU_ARMV8 14 1.3 ryo 15 1.3 ryo # Interrupt implementation header definition 16 1.3 ryo defparam opt_arm_intr_impl.h ARM_INTR_IMPL 17 1.3 ryo 18 1.3 ryo # ARM-specific debug options (for compat arch/arm/*) 19 1.6 skrll defflag opt_arm_debug.h ARM_LOCK_CAS_DEBUG 20 1.6 skrll defflag opt_arm_debug.h VERBOSE_INIT_ARM 21 1.8 skrll defparam opt_arm_debug.h EARLYCONS 22 1.3 ryo 23 1.3 ryo # Timer options 24 1.3 ryo defflag opt_arm_timer.h __HAVE_GENERIC_CPU_INITCLOCKS 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.4 jakllsch # Power State Coordination Interface (PSCI) 39 1.1 matt # FP support 40 1.1 matt file arch/aarch64/aarch64/fpu.c 41 1.1 matt 42 1.3 ryo file arch/arm/arm/arm_generic_dma.c 43 1.3 ryo file arch/arm/arm32/bus_dma.c 44 1.3 ryo 45 1.3 ryo device psci 46 1.3 ryo file arch/arm/arm/psci.c psci 47 1.3 ryo file arch/arm/arm/psci_arm.S psci 48 1.3 ryo 49 1.9 jmcneill # EFI support 50 1.9 jmcneill defflag opt_efi.h EFI_RUNTIME 51 1.9 jmcneill file arch/arm/arm/efi_runtime.c efi_runtime 52 1.9 jmcneill 53 1.1 matt # PMAP_DEBUG (heavily abused option) 54 1.1 matt defflag PMAP_DEBUG 55 1.1 matt 56 1.1 matt # PMAP options 57 1.3 ryo defflag opt_pmap.h PMAPHIST : KERNHIST 58 1.1 matt defflag opt_pmap.h PMAPCOUNTERS PMAP_STEAL_MEMORY 59 1.1 matt PMAP_NEED_ALLOC_POOLPAGE 60 1.1 matt 61 1.1 matt # MI support 62 1.1 matt file dev/cons.c 63 1.1 matt #file kern/kern_cctr.c 64 1.1 matt 65 1.1 matt # DDB 66 1.1 matt file arch/aarch64/aarch64/db_disasm.c ddb 67 1.1 matt file arch/aarch64/aarch64/db_interface.c ddb|kgdb 68 1.1 matt file arch/aarch64/aarch64/db_trace.c ddb 69 1.1 matt file arch/aarch64/aarch64/db_machdep.c ddb 70 1.3 ryo file arch/aarch64/aarch64/disasm.c ddb 71 1.1 matt file arch/aarch64/aarch64/kgdb_machdep.c kgdb 72 1.1 matt 73 1.1 matt # mainbus files 74 1.3 ryo device mainbus { [addr = -1], [size = 0], [intr = -1] } 75 1.1 matt attach mainbus at root 76 1.1 matt file arch/aarch64/dev/mainbus.c mainbus 77 1.1 matt 78 1.3 ryo device cpu { } 79 1.3 ryo file arch/aarch64/aarch64/cpu.c cpu 80 1.1 matt 81 1.1 matt # bus_space(9) 82 1.3 ryo define bus_space_generic 83 1.1 matt file arch/aarch64/aarch64/bus_space.c 84 1.3 ryo file arch/aarch64/aarch64/bus_space_asm_generic.S # bus_space_generic 85 1.3 ryo file arch/aarch64/aarch64/bus_space_notimpl.S 86 1.1 matt 87 1.3 ryo # Standard files 88 1.3 ryo file arch/arm/arm/bootconfig.c 89 1.1 matt file arch/aarch64/aarch64/aarch64_machdep.c 90 1.3 ryo file arch/aarch64/aarch64/aarch64_reboot.c 91 1.1 matt file arch/aarch64/aarch64/core_machdep.c 92 1.3 ryo file arch/aarch64/aarch64/copyinout.S 93 1.3 ryo file arch/aarch64/aarch64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 94 1.1 matt file arch/aarch64/aarch64/cpu_machdep.c 95 1.3 ryo file arch/aarch64/aarch64/cpuswitch.S 96 1.3 ryo file arch/aarch64/aarch64/cpufunc.c 97 1.3 ryo file arch/aarch64/aarch64/cpufunc_asm_armv8.S 98 1.1 matt file arch/aarch64/aarch64/exec_machdep.c 99 1.3 ryo file arch/aarch64/aarch64/fusu.S 100 1.3 ryo file arch/aarch64/aarch64/idle_machdep.S 101 1.1 matt file arch/aarch64/aarch64/kobj_machdep.c modular 102 1.1 matt file arch/aarch64/aarch64/process_machdep.c 103 1.1 matt file arch/aarch64/aarch64/procfs_machdep.c procfs 104 1.1 matt file arch/aarch64/aarch64/sig_machdep.c 105 1.1 matt file arch/aarch64/aarch64/sys_machdep.c 106 1.3 ryo file arch/aarch64/aarch64/syscall.c 107 1.3 ryo file arch/aarch64/aarch64/trap.c 108 1.3 ryo file arch/aarch64/aarch64/fault.c 109 1.3 ryo file arch/aarch64/aarch64/vectors.S 110 1.1 matt file arch/aarch64/aarch64/vm_machdep.c 111 1.1 matt 112 1.3 ryo # pmap 113 1.3 ryo file arch/aarch64/aarch64/pmap.c 114 1.5 ryo file arch/aarch64/aarch64/pmapboot.c 115 1.3 ryo file arch/aarch64/aarch64/pmap_page.S 116 1.3 ryo #file uvm/pmap/pmap_pvt.c 117 1.3 ryo 118 1.9 jmcneill # EFI runtime (machdep) 119 1.9 jmcneill file arch/aarch64/aarch64/efi_machdep.c efi_runtime 120 1.9 jmcneill 121 1.3 ryo # cyclecounter 122 1.3 ryo #file arch/aarch64/aarch64/cctr_machdep.c 123 1.3 ryo #file kern/kern_cctr.c 124 1.3 ryo 125 1.3 ryo 126 1.1 matt # NetBSD 32-bit binary compatibility 127 1.1 matt include "compat/netbsd32/files.netbsd32" 128 1.1 matt file arch/aarch64/aarch64/netbsd32_machdep.c compat_netbsd32 129 1.7 ryo file arch/aarch64/aarch64/netbsd32_syscall.c compat_netbsd32 130 1.1 matt #file arch/aarch64/aarch32/compat_13_machdep.c compat_13 & compat_netbsd32 131 1.1 matt #file arch/aarch64/aarch32/compat_16_machdep.c compat_16 & compat_netbsd32 132 1.1 matt 133 1.1 matt # Linux binary compatibility (COMPAT_LINUX) 134 1.1 matt #include "compat/ossaudio/files.ossaudio" 135 1.1 matt #include "compat/linux/files.linux" 136 1.1 matt #include "compat/linux/arch/aarch64/files.linux_aarch64" 137 1.1 matt #file arch/aarch64/aarch64/linux_sigcode.S compat_linux 138 1.1 matt #file arch/aarch64/aarch64/linux_syscall.c compat_linux 139 1.1 matt #file arch/aarch64/aarch64/linux_trap.c compat_linux 140