files.aarch64 revision 1.41
11.41Sskrll#	$NetBSD: files.aarch64,v 1.41 2022/11/03 09:04:56 skrll 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.39Sjmcneilldefflag opt_cpuoptions.h	AARCH64_DEVICE_MEM_NONPOSTED
81.37Sryodefflag opt_cpuoptions.h	ARMV81_HAFDBS
91.3Sryo
101.3Sryodefflag	opt_cputypes.h		CPU_ARMV8
111.3Sryodefflag	opt_cputypes.h		CPU_CORTEX: CPU_ARMV8
121.10Sskrlldefflag	opt_cputypes.h		CPU_THUNDERX: CPU_ARMV8
131.3Sryo
141.3Sryo# Interrupt implementation header definition
151.3Sryodefparam opt_arm_intr_impl.h	ARM_INTR_IMPL
161.3Sryo
171.3Sryo# ARM-specific debug options (for compat arch/arm/*)
181.6Sskrlldefflag  opt_arm_debug.h	ARM_LOCK_CAS_DEBUG
191.6Sskrlldefflag  opt_arm_debug.h	VERBOSE_INIT_ARM
201.8Sskrlldefparam opt_arm_debug.h	EARLYCONS
211.3Sryo
221.3Sryo# Timer options
231.3Sryodefflag opt_arm_timer.h		__HAVE_GENERIC_CPU_INITCLOCKS
241.1Smatt
251.1Smatt# Board-specific bus_space(9)/bus_dma(9) definitions
261.3Sryodefflag  opt_arm_bus_space.h	__BUS_SPACE_HAS_STREAM_METHODS
271.3Sryo				__BUS_SPACE_HAS_PROBING_METHODS
281.3Sryo				_ARM32_NEED_BUS_DMA_BOUNCE
291.1Smatt				BUSDMA_COUNTERS
301.1Smatt
311.4Sjakllsch# Console options
321.4Sjakllschdefparam opt_console.h		CONSADDR
331.4Sjakllschdefparam opt_console.h		CONSPEED
341.4Sjakllschdefparam opt_console.h		CONMODE
351.4Sjakllschdefparam opt_console.h		CONADDR
361.4Sjakllsch
371.1Smatt# FP support
381.1Smattfile	arch/aarch64/aarch64/fpu.c
391.1Smatt
401.32Sjmcneill# SMC Calling Convention
411.32Sjmcneilldefine	smccc
421.32Sjmcneillfile	arch/arm/arm/smccc.c			smccc
431.32Sjmcneill
441.32Sjmcneill# Power State Coordination Interface (PSCI)
451.32Sjmcneilldevice	psci: smccc
461.3Sryofile	arch/arm/arm/psci.c			psci
471.3Sryofile	arch/arm/arm/psci_arm.S			psci
481.3Sryo
491.9Sjmcneill# EFI support
501.9Sjmcneillfile	arch/arm/arm/efi_runtime.c		efi_runtime
511.9Sjmcneill
521.1Smatt# PMAP options
531.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
541.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
551.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
561.25Sryodefflag opt_pmapboot.h		PMAPBOOT_DEBUG
571.1Smatt
581.41Sskrll# MI PMAP flags
591.41Sskrll#
601.41Sskrlldefflag	opt_pmap.h		PMAP_MI
611.41Sskrll
621.1Smatt# MI support
631.1Smattfile	dev/cons.c
641.1Smatt
651.1Smatt# DDB
661.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
671.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
681.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
691.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
701.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
711.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
721.1Smatt
731.1Smatt# mainbus files
741.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
751.1Smattattach	mainbus at root
761.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
771.1Smatt
781.3Sryodevice cpu { }
791.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
801.1Smatt
811.1Smatt# bus_space(9)
821.3Sryodefine	bus_space_generic
831.1Smattfile	arch/aarch64/aarch64/bus_space.c
841.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
851.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
861.1Smatt
871.3Sryo# Standard files
881.18Sskrllfile	arch/arm/arm/arm_cpu_topology.c
891.18Sskrllfile	arch/arm/arm/arm_generic_dma.c
901.3Sryofile	arch/arm/arm/bootconfig.c
911.21Smaxvfile	arch/arm/arm/bus_stubs.c
921.20Sskrllfile	arch/arm/arm/cpu_subr.c
931.18Sskrllfile	arch/arm/arm32/bus_dma.c
941.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
951.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
961.14Spgoyettefile	arch/aarch64/aarch64/core_machdep.c		coredump
971.3Sryofile	arch/aarch64/aarch64/copyinout.S
981.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
991.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
1001.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
1011.3Sryofile	arch/aarch64/aarch64/cpufunc.c
1021.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
1031.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
1041.3Sryofile	arch/aarch64/aarch64/fusu.S
1051.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
1061.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
1071.27Sskrllfile	arch/aarch64/aarch64/lock_stubs.S
1081.30Schristosfile	arch/aarch64/aarch64/process_machdep.c
1091.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1101.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1111.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1121.3Sryofile	arch/aarch64/aarch64/syscall.c
1131.3Sryofile	arch/aarch64/aarch64/trap.c
1141.3Sryofile	arch/aarch64/aarch64/fault.c
1151.3Sryofile	arch/aarch64/aarch64/vectors.S
1161.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1171.1Smatt
1181.3Sryo# pmap
1191.34Sskrllfile	arch/aarch64/aarch64/aarch64_tlb.c
1201.41Sskrllfile	arch/aarch64/aarch64/pmap.c		!pmap_mi
1211.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1221.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1231.41Sskrllfile	arch/aarch64/aarch64/pmap_machdep.c	pmap_mi
1241.41Sskrllfile	uvm/pmap/pmap.c				pmap_mi
1251.41Sskrllfile	uvm/pmap/pmap_pvt.c
1261.41Sskrllfile	uvm/pmap/pmap_segtab.c			pmap_mi
1271.34Sskrllfile	uvm/pmap/pmap_tlb.c
1281.3Sryo
1291.9Sjmcneill# EFI runtime (machdep)
1301.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1311.9Sjmcneill
1321.1Smatt# NetBSD 32-bit binary compatibility
1331.1Smattinclude "compat/netbsd32/files.netbsd32"
1341.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1351.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1361.1Smatt
1371.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1381.33Sryoinclude "compat/ossaudio/files.ossaudio"
1391.33Sryoinclude "compat/linux/files.linux"
1401.33Sryoinclude "compat/linux/arch/aarch64/files.linux_aarch64"
1411.36Sryofile	arch/aarch64/aarch64/linux_syscall.c		compat_linux
1421.36Sryo
1431.36Sryo# Linux 32 bit compatibility (COMPAT_LINUX32)
1441.36Sryoinclude "compat/linux32/files.linux32"
1451.36Sryoinclude "compat/linux32/arch/aarch64/files.linux32_aarch64"
1461.36Sryofile	arch/aarch64/aarch64/linux32_syscall.c		compat_linux32
1471.11Sjmcneill
1481.11Sjmcneill# profiling support
1491.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
1501.23Sriastrad
1511.23Sriastrad# ARMv8.0-AES
1521.23Sriastradinclude "crypto/aes/arch/arm/files.aesarmv8"
1531.24Sriastrad
1541.24Sriastrad# vpaes with ARM NEON
1551.24Sriastradinclude "crypto/aes/arch/arm/files.aesneon"
1561.26Sriastrad
1571.26Sriastrad# ChaCha with ARM NEON
1581.26Sriastradinclude "crypto/chacha/arch/arm/files.chacha_arm"
159