files.aarch64 revision 1.43
11.43Sskrll#	$NetBSD: files.aarch64,v 1.43 2023/04/20 08:28:02 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.1Smatt
761.3Sryodevice cpu { }
771.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
781.1Smatt
791.1Smatt# bus_space(9)
801.3Sryodefine	bus_space_generic
811.1Smattfile	arch/aarch64/aarch64/bus_space.c
821.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
831.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
841.1Smatt
851.3Sryo# Standard files
861.18Sskrllfile	arch/arm/arm/arm_cpu_topology.c
871.18Sskrllfile	arch/arm/arm/arm_generic_dma.c
881.3Sryofile	arch/arm/arm/bootconfig.c
891.21Smaxvfile	arch/arm/arm/bus_stubs.c
901.20Sskrllfile	arch/arm/arm/cpu_subr.c
911.18Sskrllfile	arch/arm/arm32/bus_dma.c
921.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
931.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
941.14Spgoyettefile	arch/aarch64/aarch64/core_machdep.c		coredump
951.3Sryofile	arch/aarch64/aarch64/copyinout.S
961.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
971.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
981.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
991.3Sryofile	arch/aarch64/aarch64/cpufunc.c
1001.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
1011.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
1021.3Sryofile	arch/aarch64/aarch64/fusu.S
1031.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
1041.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
1051.27Sskrllfile	arch/aarch64/aarch64/lock_stubs.S
1061.30Schristosfile	arch/aarch64/aarch64/process_machdep.c
1071.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1081.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1091.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1101.3Sryofile	arch/aarch64/aarch64/syscall.c
1111.3Sryofile	arch/aarch64/aarch64/trap.c
1121.3Sryofile	arch/aarch64/aarch64/fault.c
1131.3Sryofile	arch/aarch64/aarch64/vectors.S
1141.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1151.1Smatt
1161.3Sryo# pmap
1171.34Sskrllfile	arch/aarch64/aarch64/aarch64_tlb.c
1181.41Sskrllfile	arch/aarch64/aarch64/pmap.c		!pmap_mi
1191.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1201.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1211.41Sskrllfile	arch/aarch64/aarch64/pmap_machdep.c	pmap_mi
1221.41Sskrllfile	uvm/pmap/pmap.c				pmap_mi
1231.43Sskrllfile	uvm/pmap/pmap_devmap.c
1241.41Sskrllfile	uvm/pmap/pmap_pvt.c
1251.41Sskrllfile	uvm/pmap/pmap_segtab.c			pmap_mi
1261.34Sskrllfile	uvm/pmap/pmap_tlb.c
1271.3Sryo
1281.9Sjmcneill# EFI runtime (machdep)
1291.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1301.9Sjmcneill
1311.1Smatt# NetBSD 32-bit binary compatibility
1321.1Smattinclude "compat/netbsd32/files.netbsd32"
1331.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1341.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1351.1Smatt
1361.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1371.33Sryoinclude "compat/ossaudio/files.ossaudio"
1381.33Sryoinclude "compat/linux/files.linux"
1391.33Sryoinclude "compat/linux/arch/aarch64/files.linux_aarch64"
1401.36Sryofile	arch/aarch64/aarch64/linux_syscall.c		compat_linux
1411.36Sryo
1421.36Sryo# Linux 32 bit compatibility (COMPAT_LINUX32)
1431.36Sryoinclude "compat/linux32/files.linux32"
1441.36Sryoinclude "compat/linux32/arch/aarch64/files.linux32_aarch64"
1451.36Sryofile	arch/aarch64/aarch64/linux32_syscall.c		compat_linux32
1461.11Sjmcneill
1471.11Sjmcneill# profiling support
1481.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
1491.23Sriastrad
1501.23Sriastrad# ARMv8.0-AES
1511.23Sriastradinclude "crypto/aes/arch/arm/files.aesarmv8"
1521.24Sriastrad
1531.24Sriastrad# vpaes with ARM NEON
1541.24Sriastradinclude "crypto/aes/arch/arm/files.aesneon"
1551.26Sriastrad
1561.26Sriastrad# ChaCha with ARM NEON
1571.26Sriastradinclude "crypto/chacha/arch/arm/files.chacha_arm"
158