files.aarch64 revision 1.21
11.21Smaxv#	$NetBSD: files.aarch64,v 1.21 2020/04/13 07:09:50 maxv 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.3Sryodevice	psci
441.3Sryofile	arch/arm/arm/psci.c			psci
451.3Sryofile	arch/arm/arm/psci_arm.S			psci
461.3Sryo
471.9Sjmcneill# EFI support
481.9Sjmcneilldefflag	opt_efi.h		EFI_RUNTIME
491.9Sjmcneillfile	arch/arm/arm/efi_runtime.c		efi_runtime
501.9Sjmcneill
511.1Smatt# PMAP_DEBUG (heavily abused option)
521.1Smattdefflag				PMAP_DEBUG
531.1Smatt
541.1Smatt# PMAP options
551.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
561.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
571.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
581.1Smatt
591.1Smatt# MI support
601.1Smattfile	dev/cons.c
611.1Smatt#file	kern/kern_cctr.c
621.1Smatt
631.1Smatt# DDB
641.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
651.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
661.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
671.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
681.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
691.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
701.1Smatt
711.1Smatt# mainbus files
721.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
731.1Smattattach	mainbus at root
741.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
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.1Smattfile	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.3Sryofile	arch/aarch64/aarch64/pmap.c
1171.5Sryofile	arch/aarch64/aarch64/pmapboot.c
1181.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1191.19Sryofile	uvm/pmap/pmap_pvt.c
1201.3Sryo
1211.9Sjmcneill# EFI runtime (machdep)
1221.9Sjmcneillfile	arch/aarch64/aarch64/efi_machdep.c		efi_runtime
1231.9Sjmcneill
1241.3Sryo# cyclecounter
1251.3Sryo#file	arch/aarch64/aarch64/cctr_machdep.c
1261.3Sryo#file	kern/kern_cctr.c
1271.3Sryo
1281.3Sryo
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.1Smatt#include "compat/ossaudio/files.ossaudio"
1361.1Smatt#include "compat/linux/files.linux"
1371.1Smatt#include "compat/linux/arch/aarch64/files.linux_aarch64"
1381.1Smatt#file	arch/aarch64/aarch64/linux_sigcode.S	compat_linux
1391.1Smatt#file	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1401.1Smatt#file	arch/aarch64/aarch64/linux_trap.c	compat_linux
1411.11Sjmcneill
1421.11Sjmcneill# profiling support
1431.12Sjmcneillfile	dev/tprof/tprof_armv8.c			tprof	needs-flag
144