files.aarch64 revision 1.14
11.14Spgoyette#	$NetBSD: files.aarch64,v 1.14 2019/11/20 19:37:51 pgoyette 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.3Sryo
81.3Sryodefflag	opt_cputypes.h		CPU_ARMV8
91.3Sryodefflag	opt_cputypes.h		CPU_CORTEX: CPU_ARMV8
101.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA35: CPU_CORTEX
111.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA53: CPU_CORTEX
121.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA57: CPU_CORTEX
131.10Sskrlldefflag	opt_cputypes.h		CPU_THUNDERX: CPU_ARMV8
141.3Sryo
151.3Sryo# Interrupt implementation header definition
161.3Sryodefparam opt_arm_intr_impl.h	ARM_INTR_IMPL
171.3Sryo
181.3Sryo# ARM-specific debug options (for compat arch/arm/*)
191.6Sskrlldefflag  opt_arm_debug.h	ARM_LOCK_CAS_DEBUG
201.6Sskrlldefflag  opt_arm_debug.h	VERBOSE_INIT_ARM
211.8Sskrlldefparam opt_arm_debug.h	EARLYCONS
221.3Sryo
231.3Sryo# Timer options
241.3Sryodefflag opt_arm_timer.h		__HAVE_GENERIC_CPU_INITCLOCKS
251.1Smatt
261.1Smatt# Board-specific bus_space(9)/bus_dma(9) definitions
271.3Sryodefflag  opt_arm_bus_space.h	__BUS_SPACE_HAS_STREAM_METHODS
281.3Sryo				__BUS_SPACE_HAS_PROBING_METHODS
291.3Sryo				_ARM32_NEED_BUS_DMA_BOUNCE
301.1Smatt				BUSDMA_COUNTERS
311.1Smatt
321.4Sjakllsch# Console options
331.4Sjakllschdefparam opt_console.h		CONSADDR
341.4Sjakllschdefparam opt_console.h		CONSPEED
351.4Sjakllschdefparam opt_console.h		CONMODE
361.4Sjakllschdefparam opt_console.h		CONADDR
371.4Sjakllsch
381.4Sjakllsch# Power State Coordination Interface (PSCI)
391.1Smatt# FP support
401.1Smattfile	arch/aarch64/aarch64/fpu.c
411.1Smatt
421.3Sryofile	arch/arm/arm/arm_generic_dma.c
431.3Sryofile	arch/arm/arm32/bus_dma.c
441.3Sryo
451.3Sryodevice	psci
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_DEBUG (heavily abused option)
541.1Smattdefflag				PMAP_DEBUG
551.1Smatt
561.1Smatt# PMAP options
571.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
581.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
591.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
601.1Smatt
611.1Smatt# MI support
621.1Smattfile	dev/cons.c
631.1Smatt#file	kern/kern_cctr.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.3Sryofile	arch/arm/arm/bootconfig.c
891.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
901.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
911.14Spgoyettefile	arch/aarch64/aarch64/core_machdep.c		coredump
921.3Sryofile	arch/aarch64/aarch64/copyinout.S
931.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
941.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
951.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
961.3Sryofile	arch/aarch64/aarch64/cpufunc.c
971.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
981.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
991.3Sryofile	arch/aarch64/aarch64/fusu.S
1001.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
1011.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
1021.1Smattfile	arch/aarch64/aarch64/process_machdep.c
1031.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1041.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1051.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1061.3Sryofile	arch/aarch64/aarch64/syscall.c
1071.3Sryofile	arch/aarch64/aarch64/trap.c
1081.3Sryofile	arch/aarch64/aarch64/fault.c
1091.3Sryofile	arch/aarch64/aarch64/vectors.S
1101.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1111.1Smatt
1121.3Sryo# pmap
1131.3Sryofile	arch/aarch64/aarch64/pmap.c
1141.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1151.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1161.3Sryo#file	uvm/pmap/pmap_pvt.c
1171.3Sryo
1181.9Sjmcneill# EFI runtime (machdep)
1191.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1201.9Sjmcneill
1211.3Sryo# cyclecounter
1221.3Sryo#file	arch/aarch64/aarch64/cctr_machdep.c
1231.3Sryo#file	kern/kern_cctr.c
1241.3Sryo
1251.3Sryo
1261.1Smatt# NetBSD 32-bit binary compatibility
1271.1Smattinclude "compat/netbsd32/files.netbsd32"
1281.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1291.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1301.1Smatt
1311.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1321.1Smatt#include "compat/ossaudio/files.ossaudio"
1331.1Smatt#include "compat/linux/files.linux"
1341.1Smatt#include "compat/linux/arch/aarch64/files.linux_aarch64"
1351.1Smatt#file	arch/aarch64/aarch64/linux_sigcode.S	compat_linux
1361.1Smatt#file	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1371.1Smatt#file	arch/aarch64/aarch64/linux_trap.c	compat_linux
1381.11Sjmcneill
1391.11Sjmcneill# profiling support
1401.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
141