files.aarch64 revision 1.37
11.37Sryo#	$NetBSD: files.aarch64,v 1.37 2022/01/31 09:16:09 ryo 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.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.9Sjmcneilldefflag	opt_efi.h		EFI_RUNTIME
511.9Sjmcneillfile	arch/arm/arm/efi_runtime.c		efi_runtime
521.9Sjmcneill
531.1Smatt# PMAP options
541.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
551.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
561.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
571.25Sryodefflag opt_pmapboot.h		PMAPBOOT_DEBUG
581.1Smatt
591.1Smatt# MI support
601.1Smattfile	dev/cons.c
611.1Smatt
621.1Smatt# DDB
631.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
641.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
651.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
661.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
671.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
681.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
691.1Smatt
701.1Smatt# mainbus files
711.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
721.1Smattattach	mainbus at root
731.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
741.1Smatt
751.3Sryodevice cpu { }
761.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
771.1Smatt
781.1Smatt# bus_space(9)
791.3Sryodefine	bus_space_generic
801.1Smattfile	arch/aarch64/aarch64/bus_space.c
811.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
821.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
831.1Smatt
841.3Sryo# Standard files
851.18Sskrllfile	arch/arm/arm/arm_cpu_topology.c
861.18Sskrllfile	arch/arm/arm/arm_generic_dma.c
871.3Sryofile	arch/arm/arm/bootconfig.c
881.21Smaxvfile	arch/arm/arm/bus_stubs.c
891.20Sskrllfile	arch/arm/arm/cpu_subr.c
901.18Sskrllfile	arch/arm/arm32/bus_dma.c
911.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
921.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
931.14Spgoyettefile	arch/aarch64/aarch64/core_machdep.c		coredump
941.3Sryofile	arch/aarch64/aarch64/copyinout.S
951.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
961.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
971.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
981.3Sryofile	arch/aarch64/aarch64/cpufunc.c
991.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
1001.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
1011.3Sryofile	arch/aarch64/aarch64/fusu.S
1021.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
1031.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
1041.27Sskrllfile	arch/aarch64/aarch64/lock_stubs.S
1051.30Schristosfile	arch/aarch64/aarch64/process_machdep.c
1061.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1071.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1081.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1091.3Sryofile	arch/aarch64/aarch64/syscall.c
1101.3Sryofile	arch/aarch64/aarch64/trap.c
1111.3Sryofile	arch/aarch64/aarch64/fault.c
1121.3Sryofile	arch/aarch64/aarch64/vectors.S
1131.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1141.1Smatt
1151.3Sryo# pmap
1161.34Sskrllfile	arch/aarch64/aarch64/aarch64_tlb.c
1171.3Sryofile	arch/aarch64/aarch64/pmap.c
1181.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1191.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1201.34Sskrllfile	uvm/pmap/pmap_tlb.c
1211.19Sryofile	uvm/pmap/pmap_pvt.c
1221.3Sryo
1231.35Sjmcneill# GIC
1241.35Sjmcneillfile	arch/arm/cortex/gic_splfuncs_armv8.S		gic_splfuncs
1251.35Sjmcneill
1261.9Sjmcneill# EFI runtime (machdep)
1271.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1281.9Sjmcneill
1291.1Smatt# NetBSD 32-bit binary compatibility
1301.1Smattinclude "compat/netbsd32/files.netbsd32"
1311.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1321.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1331.1Smatt
1341.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1351.33Sryoinclude "compat/ossaudio/files.ossaudio"
1361.33Sryoinclude "compat/linux/files.linux"
1371.33Sryoinclude "compat/linux/arch/aarch64/files.linux_aarch64"
1381.36Sryofile	arch/aarch64/aarch64/linux_syscall.c		compat_linux
1391.36Sryo
1401.36Sryo# Linux 32 bit compatibility (COMPAT_LINUX32)
1411.36Sryoinclude "compat/linux32/files.linux32"
1421.36Sryoinclude "compat/linux32/arch/aarch64/files.linux32_aarch64"
1431.36Sryofile	arch/aarch64/aarch64/linux32_syscall.c		compat_linux32
1441.11Sjmcneill
1451.11Sjmcneill# profiling support
1461.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
1471.23Sriastrad
1481.23Sriastrad# ARMv8.0-AES
1491.23Sriastradinclude "crypto/aes/arch/arm/files.aesarmv8"
1501.24Sriastrad
1511.24Sriastrad# vpaes with ARM NEON
1521.24Sriastradinclude "crypto/aes/arch/arm/files.aesneon"
1531.26Sriastrad
1541.26Sriastrad# ChaCha with ARM NEON
1551.26Sriastradinclude "crypto/chacha/arch/arm/files.chacha_arm"
156