files.aarch64 revision 1.26
11.26Sriastrad#	$NetBSD: files.aarch64,v 1.26 2020/07/25 22:51:57 riastradh Exp $
21.1Smatt
31.3Sryodefflag opt_cpuoptions.h	AARCH64_ALIGNMENT_CHECK
41.3Sryodefflag opt_cpuoptions.h	AARCH64_EL0_STACK_ALIGNMENT_CHECK
51.3Sryodefflag opt_cpuoptions.h	AARCH64_EL1_STACK_ALIGNMENT_CHECK
61.3Sryodefflag opt_cpuoptions.h	AARCH64_HAVE_L2CTLR
71.16Sjmcneilldefflag opt_cpuoptions.h	AARCH64_DEVICE_MEM_STRONGLY_ORDERED
81.3Sryo
91.3Sryodefflag	opt_cputypes.h		CPU_ARMV8
101.3Sryodefflag	opt_cputypes.h		CPU_CORTEX: CPU_ARMV8
111.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA35: CPU_CORTEX
121.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA53: CPU_CORTEX
131.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA57: CPU_CORTEX
141.10Sskrlldefflag	opt_cputypes.h		CPU_THUNDERX: CPU_ARMV8
151.3Sryo
161.3Sryo# Interrupt implementation header definition
171.3Sryodefparam opt_arm_intr_impl.h	ARM_INTR_IMPL
181.3Sryo
191.3Sryo# ARM-specific debug options (for compat arch/arm/*)
201.6Sskrlldefflag  opt_arm_debug.h	ARM_LOCK_CAS_DEBUG
211.6Sskrlldefflag  opt_arm_debug.h	VERBOSE_INIT_ARM
221.8Sskrlldefparam opt_arm_debug.h	EARLYCONS
231.3Sryo
241.3Sryo# Timer options
251.3Sryodefflag opt_arm_timer.h		__HAVE_GENERIC_CPU_INITCLOCKS
261.1Smatt
271.1Smatt# Board-specific bus_space(9)/bus_dma(9) definitions
281.3Sryodefflag  opt_arm_bus_space.h	__BUS_SPACE_HAS_STREAM_METHODS
291.3Sryo				__BUS_SPACE_HAS_PROBING_METHODS
301.3Sryo				_ARM32_NEED_BUS_DMA_BOUNCE
311.1Smatt				BUSDMA_COUNTERS
321.1Smatt
331.4Sjakllsch# Console options
341.4Sjakllschdefparam opt_console.h		CONSADDR
351.4Sjakllschdefparam opt_console.h		CONSPEED
361.4Sjakllschdefparam opt_console.h		CONMODE
371.4Sjakllschdefparam opt_console.h		CONADDR
381.4Sjakllsch
391.4Sjakllsch# Power State Coordination Interface (PSCI)
401.1Smatt# FP support
411.1Smattfile	arch/aarch64/aarch64/fpu.c
421.1Smatt
431.3Sryodevice	psci
441.3Sryofile	arch/arm/arm/psci.c			psci
451.3Sryofile	arch/arm/arm/psci_arm.S			psci
461.3Sryo
471.9Sjmcneill# EFI support
481.9Sjmcneilldefflag	opt_efi.h		EFI_RUNTIME
491.9Sjmcneillfile	arch/arm/arm/efi_runtime.c		efi_runtime
501.9Sjmcneill
511.1Smatt# PMAP options
521.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
531.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
541.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
551.25Sryodefflag opt_pmapboot.h		PMAPBOOT_DEBUG
561.1Smatt
571.1Smatt# MI support
581.1Smattfile	dev/cons.c
591.1Smatt#file	kern/kern_cctr.c
601.1Smatt
611.1Smatt# DDB
621.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
631.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
641.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
651.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
661.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
671.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
681.1Smatt
691.1Smatt# mainbus files
701.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
711.1Smattattach	mainbus at root
721.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
731.1Smatt
741.3Sryodevice cpu { }
751.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
761.1Smatt
771.1Smatt# bus_space(9)
781.3Sryodefine	bus_space_generic
791.1Smattfile	arch/aarch64/aarch64/bus_space.c
801.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
811.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
821.1Smatt
831.3Sryo# Standard files
841.18Sskrllfile	arch/arm/arm/arm_cpu_topology.c
851.18Sskrllfile	arch/arm/arm/arm_generic_dma.c
861.3Sryofile	arch/arm/arm/bootconfig.c
871.21Smaxvfile	arch/arm/arm/bus_stubs.c
881.20Sskrllfile	arch/arm/arm/cpu_subr.c
891.18Sskrllfile	arch/arm/arm32/bus_dma.c
901.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
911.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
921.14Spgoyettefile	arch/aarch64/aarch64/core_machdep.c		coredump
931.3Sryofile	arch/aarch64/aarch64/copyinout.S
941.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
951.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
961.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
971.3Sryofile	arch/aarch64/aarch64/cpufunc.c
981.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
991.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
1001.3Sryofile	arch/aarch64/aarch64/fusu.S
1011.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
1021.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
1031.1Smattfile	arch/aarch64/aarch64/process_machdep.c
1041.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1051.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1061.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1071.3Sryofile	arch/aarch64/aarch64/syscall.c
1081.3Sryofile	arch/aarch64/aarch64/trap.c
1091.3Sryofile	arch/aarch64/aarch64/fault.c
1101.3Sryofile	arch/aarch64/aarch64/vectors.S
1111.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1121.1Smatt
1131.3Sryo# pmap
1141.3Sryofile	arch/aarch64/aarch64/pmap.c
1151.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1161.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1171.19Sryofile	uvm/pmap/pmap_pvt.c
1181.3Sryo
1191.9Sjmcneill# EFI runtime (machdep)
1201.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1211.9Sjmcneill
1221.3Sryo# cyclecounter
1231.3Sryo#file	arch/aarch64/aarch64/cctr_machdep.c
1241.3Sryo#file	kern/kern_cctr.c
1251.3Sryo
1261.3Sryo
1271.1Smatt# NetBSD 32-bit binary compatibility
1281.1Smattinclude "compat/netbsd32/files.netbsd32"
1291.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1301.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1311.1Smatt
1321.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1331.1Smatt#include "compat/ossaudio/files.ossaudio"
1341.1Smatt#include "compat/linux/files.linux"
1351.1Smatt#include "compat/linux/arch/aarch64/files.linux_aarch64"
1361.1Smatt#file	arch/aarch64/aarch64/linux_sigcode.S	compat_linux
1371.1Smatt#file	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1381.1Smatt#file	arch/aarch64/aarch64/linux_trap.c	compat_linux
1391.11Sjmcneill
1401.11Sjmcneill# profiling support
1411.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
1421.23Sriastrad
1431.23Sriastrad# ARMv8.0-AES
1441.23Sriastradinclude "crypto/aes/arch/arm/files.aesarmv8"
1451.24Sriastrad
1461.24Sriastrad# vpaes with ARM NEON
1471.24Sriastradinclude "crypto/aes/arch/arm/files.aesneon"
1481.26Sriastrad
1491.26Sriastrad# ChaCha with ARM NEON
1501.26Sriastradinclude "crypto/chacha/arch/arm/files.chacha_arm"
151