files.aarch64 revision 1.16
11.16Sjmcneill#	$NetBSD: files.aarch64,v 1.16 2019/12/28 17:19:43 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.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA35: CPU_CORTEX
121.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA53: CPU_CORTEX
131.3Sryodefflag	opt_cputypes.h		CPU_CORTEXA57: CPU_CORTEX
141.10Sskrlldefflag	opt_cputypes.h		CPU_THUNDERX: CPU_ARMV8
151.3Sryo
161.3Sryo# Interrupt implementation header definition
171.3Sryodefparam opt_arm_intr_impl.h	ARM_INTR_IMPL
181.3Sryo
191.3Sryo# ARM-specific debug options (for compat arch/arm/*)
201.6Sskrlldefflag  opt_arm_debug.h	ARM_LOCK_CAS_DEBUG
211.6Sskrlldefflag  opt_arm_debug.h	VERBOSE_INIT_ARM
221.8Sskrlldefparam opt_arm_debug.h	EARLYCONS
231.3Sryo
241.3Sryo# Timer options
251.3Sryodefflag opt_arm_timer.h		__HAVE_GENERIC_CPU_INITCLOCKS
261.1Smatt
271.1Smatt# Board-specific bus_space(9)/bus_dma(9) definitions
281.3Sryodefflag  opt_arm_bus_space.h	__BUS_SPACE_HAS_STREAM_METHODS
291.3Sryo				__BUS_SPACE_HAS_PROBING_METHODS
301.3Sryo				_ARM32_NEED_BUS_DMA_BOUNCE
311.1Smatt				BUSDMA_COUNTERS
321.1Smatt
331.4Sjakllsch# Console options
341.4Sjakllschdefparam opt_console.h		CONSADDR
351.4Sjakllschdefparam opt_console.h		CONSPEED
361.4Sjakllschdefparam opt_console.h		CONMODE
371.4Sjakllschdefparam opt_console.h		CONADDR
381.4Sjakllsch
391.4Sjakllsch# Power State Coordination Interface (PSCI)
401.1Smatt# FP support
411.1Smattfile	arch/aarch64/aarch64/fpu.c
421.1Smatt
431.3Sryofile	arch/arm/arm/arm_generic_dma.c
441.3Sryofile	arch/arm/arm32/bus_dma.c
451.3Sryo
461.3Sryodevice	psci
471.3Sryofile	arch/arm/arm/psci.c			psci
481.3Sryofile	arch/arm/arm/psci_arm.S			psci
491.3Sryo
501.9Sjmcneill# EFI support
511.9Sjmcneilldefflag	opt_efi.h		EFI_RUNTIME
521.9Sjmcneillfile	arch/arm/arm/efi_runtime.c		efi_runtime
531.9Sjmcneill
541.1Smatt# PMAP_DEBUG (heavily abused option)
551.1Smattdefflag				PMAP_DEBUG
561.1Smatt
571.1Smatt# PMAP options
581.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
591.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
601.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
611.1Smatt
621.1Smatt# MI support
631.1Smattfile	dev/cons.c
641.1Smatt#file	kern/kern_cctr.c
651.1Smatt
661.1Smatt# DDB
671.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
681.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
691.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
701.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
711.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
721.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
731.1Smatt
741.1Smatt# mainbus files
751.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
761.1Smattattach	mainbus at root
771.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
781.1Smatt
791.3Sryodevice cpu { }
801.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
811.1Smatt
821.1Smatt# bus_space(9)
831.3Sryodefine	bus_space_generic
841.1Smattfile	arch/aarch64/aarch64/bus_space.c
851.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
861.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
871.1Smatt
881.3Sryo# Standard files
891.3Sryofile	arch/arm/arm/bootconfig.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.1Smattfile	arch/aarch64/aarch64/process_machdep.c
1041.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
1051.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
1061.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
1071.3Sryofile	arch/aarch64/aarch64/syscall.c
1081.3Sryofile	arch/aarch64/aarch64/trap.c
1091.3Sryofile	arch/aarch64/aarch64/fault.c
1101.3Sryofile	arch/aarch64/aarch64/vectors.S
1111.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
1121.1Smatt
1131.3Sryo# pmap
1141.3Sryofile	arch/aarch64/aarch64/pmap.c
1151.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1161.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1171.3Sryo#file	uvm/pmap/pmap_pvt.c
1181.3Sryo
1191.9Sjmcneill# EFI runtime (machdep)
1201.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1211.9Sjmcneill
1221.3Sryo# cyclecounter
1231.3Sryo#file	arch/aarch64/aarch64/cctr_machdep.c
1241.3Sryo#file	kern/kern_cctr.c
1251.3Sryo
1261.3Sryo
1271.1Smatt# NetBSD 32-bit binary compatibility
1281.1Smattinclude "compat/netbsd32/files.netbsd32"
1291.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1301.7Sryofile	arch/aarch64/aarch64/netbsd32_syscall.c		compat_netbsd32
1311.1Smatt
1321.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1331.1Smatt#include "compat/ossaudio/files.ossaudio"
1341.1Smatt#include "compat/linux/files.linux"
1351.1Smatt#include "compat/linux/arch/aarch64/files.linux_aarch64"
1361.1Smatt#file	arch/aarch64/aarch64/linux_sigcode.S	compat_linux
1371.1Smatt#file	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1381.1Smatt#file	arch/aarch64/aarch64/linux_trap.c	compat_linux
1391.11Sjmcneill
1401.11Sjmcneill# profiling support
1411.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
142