files.aarch64 revision 1.35
11.35Sjmcneill#	$NetBSD: files.aarch64,v 1.35 2021/10/30 18:44:24 jmcneill 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.10Sskrlldefflag	opt_cputypes.h		CPU_THUNDERX: CPU_ARMV8
121.3Sryo
131.3Sryo# Interrupt implementation header definition
141.3Sryodefparam opt_arm_intr_impl.h	ARM_INTR_IMPL
151.3Sryo
161.3Sryo# ARM-specific debug options (for compat arch/arm/*)
171.6Sskrlldefflag  opt_arm_debug.h	ARM_LOCK_CAS_DEBUG
181.6Sskrlldefflag  opt_arm_debug.h	VERBOSE_INIT_ARM
191.8Sskrlldefparam opt_arm_debug.h	EARLYCONS
201.3Sryo
211.3Sryo# Timer options
221.3Sryodefflag opt_arm_timer.h		__HAVE_GENERIC_CPU_INITCLOCKS
231.1Smatt
241.1Smatt# Board-specific bus_space(9)/bus_dma(9) definitions
251.3Sryodefflag  opt_arm_bus_space.h	__BUS_SPACE_HAS_STREAM_METHODS
261.3Sryo				__BUS_SPACE_HAS_PROBING_METHODS
271.3Sryo				_ARM32_NEED_BUS_DMA_BOUNCE
281.1Smatt				BUSDMA_COUNTERS
291.1Smatt
301.4Sjakllsch# Console options
311.4Sjakllschdefparam opt_console.h		CONSADDR
321.4Sjakllschdefparam opt_console.h		CONSPEED
331.4Sjakllschdefparam opt_console.h		CONMODE
341.4Sjakllschdefparam opt_console.h		CONADDR
351.4Sjakllsch
361.1Smatt# FP support
371.1Smattfile	arch/aarch64/aarch64/fpu.c
381.1Smatt
391.32Sjmcneill# SMC Calling Convention
401.32Sjmcneilldefine	smccc
411.32Sjmcneillfile	arch/arm/arm/smccc.c			smccc
421.32Sjmcneill
431.32Sjmcneill# Power State Coordination Interface (PSCI)
441.32Sjmcneilldevice	psci: smccc
451.3Sryofile	arch/arm/arm/psci.c			psci
461.3Sryofile	arch/arm/arm/psci_arm.S			psci
471.3Sryo
481.9Sjmcneill# EFI support
491.9Sjmcneilldefflag	opt_efi.h		EFI_RUNTIME
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.1Smatt# MI support
591.1Smattfile	dev/cons.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.27Sskrllfile	arch/aarch64/aarch64/lock_stubs.S
1041.30Schristosfile	arch/aarch64/aarch64/process_machdep.c
1051.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1061.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1071.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1081.3Sryofile	arch/aarch64/aarch64/syscall.c
1091.3Sryofile	arch/aarch64/aarch64/trap.c
1101.3Sryofile	arch/aarch64/aarch64/fault.c
1111.3Sryofile	arch/aarch64/aarch64/vectors.S
1121.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1131.1Smatt
1141.3Sryo# pmap
1151.34Sskrllfile	arch/aarch64/aarch64/aarch64_tlb.c
1161.3Sryofile	arch/aarch64/aarch64/pmap.c
1171.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1181.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1191.34Sskrllfile	uvm/pmap/pmap_tlb.c
1201.19Sryofile	uvm/pmap/pmap_pvt.c
1211.3Sryo
1221.35Sjmcneill# GIC
1231.35Sjmcneillfile	arch/arm/cortex/gic_splfuncs_armv8.S		gic_splfuncs
1241.35Sjmcneill
1251.9Sjmcneill# EFI runtime (machdep)
1261.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1271.9Sjmcneill
1281.1Smatt# NetBSD 32-bit binary compatibility
1291.1Smattinclude "compat/netbsd32/files.netbsd32"
1301.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1311.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1321.1Smatt
1331.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1341.33Sryoinclude "compat/ossaudio/files.ossaudio"
1351.33Sryoinclude "compat/linux/files.linux"
1361.33Sryoinclude "compat/linux/arch/aarch64/files.linux_aarch64"
1371.33Sryofile	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1381.11Sjmcneill
1391.11Sjmcneill# profiling support
1401.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
1411.23Sriastrad
1421.23Sriastrad# ARMv8.0-AES
1431.23Sriastradinclude "crypto/aes/arch/arm/files.aesarmv8"
1441.24Sriastrad
1451.24Sriastrad# vpaes with ARM NEON
1461.24Sriastradinclude "crypto/aes/arch/arm/files.aesneon"
1471.26Sriastrad
1481.26Sriastrad# ChaCha with ARM NEON
1491.26Sriastradinclude "crypto/chacha/arch/arm/files.chacha_arm"
150