files.aarch64 revision 1.3
11.3Sryo#	$NetBSD: files.aarch64,v 1.3 2018/04/01 04:35:03 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.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.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.3Sryodefflag opt_arm_debug.h		ARM_LOCK_CAS_DEBUG
191.3Sryodefflag opt_arm_debug.h		VERBOSE_INIT_ARM
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.1Smatt# FP support
311.1Smattfile	arch/aarch64/aarch64/fpu.c
321.1Smatt
331.3Sryofile	arch/arm/arm/arm_generic_dma.c
341.3Sryofile	arch/arm/arm32/bus_dma.c
351.3Sryo
361.3Sryo# Power State Coordination Interface (PSCI)
371.3Sryodevice	psci
381.3Sryofile	arch/arm/arm/psci.c			psci
391.3Sryofile	arch/arm/arm/psci_arm.S			psci
401.3Sryo
411.1Smatt# PMAP_DEBUG (heavily abused option)
421.1Smattdefflag				PMAP_DEBUG
431.1Smatt
441.1Smatt# PMAP options
451.3Sryodefflag opt_pmap.h		PMAPHIST : KERNHIST
461.1Smattdefflag opt_pmap.h		PMAPCOUNTERS PMAP_STEAL_MEMORY
471.1Smatt				PMAP_NEED_ALLOC_POOLPAGE
481.1Smatt
491.1Smatt# MI support
501.1Smattfile	dev/cons.c
511.1Smatt#file	kern/kern_cctr.c
521.1Smatt
531.1Smatt# DDB
541.1Smattfile	arch/aarch64/aarch64/db_disasm.c		ddb
551.1Smattfile	arch/aarch64/aarch64/db_interface.c		ddb|kgdb
561.1Smattfile	arch/aarch64/aarch64/db_trace.c			ddb
571.1Smattfile	arch/aarch64/aarch64/db_machdep.c		ddb
581.3Sryofile	arch/aarch64/aarch64/disasm.c			ddb
591.1Smattfile	arch/aarch64/aarch64/kgdb_machdep.c		kgdb
601.1Smatt
611.1Smatt# mainbus files
621.3Sryodevice	mainbus { [addr = -1], [size = 0], [intr = -1] }
631.1Smattattach	mainbus at root
641.1Smattfile	arch/aarch64/dev/mainbus.c			mainbus
651.1Smatt
661.3Sryodevice cpu { }
671.3Sryofile	arch/aarch64/aarch64/cpu.c			cpu
681.1Smatt
691.1Smatt# bus_space(9)
701.3Sryodefine	bus_space_generic
711.1Smattfile	arch/aarch64/aarch64/bus_space.c
721.3Sryofile	arch/aarch64/aarch64/bus_space_asm_generic.S	# bus_space_generic
731.3Sryofile	arch/aarch64/aarch64/bus_space_notimpl.S
741.1Smatt
751.3Sryo# Standard files
761.3Sryofile	arch/arm/arm/bootconfig.c
771.1Smattfile	arch/aarch64/aarch64/aarch64_machdep.c
781.3Sryofile	arch/aarch64/aarch64/aarch64_reboot.c
791.1Smattfile	arch/aarch64/aarch64/core_machdep.c
801.3Sryofile	arch/aarch64/aarch64/copyinout.S
811.3Sryofile	arch/aarch64/aarch64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
821.1Smattfile	arch/aarch64/aarch64/cpu_machdep.c
831.3Sryofile	arch/aarch64/aarch64/cpuswitch.S
841.3Sryofile	arch/aarch64/aarch64/cpufunc.c
851.3Sryofile	arch/aarch64/aarch64/cpufunc_asm_armv8.S
861.1Smattfile	arch/aarch64/aarch64/exec_machdep.c
871.3Sryofile	arch/aarch64/aarch64/fusu.S
881.3Sryofile	arch/aarch64/aarch64/idle_machdep.S
891.1Smattfile	arch/aarch64/aarch64/kobj_machdep.c		modular
901.1Smattfile	arch/aarch64/aarch64/process_machdep.c
911.1Smattfile	arch/aarch64/aarch64/procfs_machdep.c		procfs
921.1Smattfile	arch/aarch64/aarch64/sig_machdep.c
931.1Smattfile	arch/aarch64/aarch64/sys_machdep.c
941.3Sryofile	arch/aarch64/aarch64/syscall.c
951.3Sryofile	arch/aarch64/aarch64/trap.c
961.3Sryofile	arch/aarch64/aarch64/fault.c
971.3Sryofile	arch/aarch64/aarch64/vectors.S
981.1Smattfile	arch/aarch64/aarch64/vm_machdep.c
991.1Smatt
1001.3Sryo# pmap
1011.3Sryofile	arch/aarch64/aarch64/pmap.c
1021.3Sryofile	arch/aarch64/aarch64/pmap_page.S
1031.3Sryo#file	uvm/pmap/pmap_pvt.c
1041.3Sryo
1051.3Sryo# cyclecounter
1061.3Sryo#file	arch/aarch64/aarch64/cctr_machdep.c
1071.3Sryo#file	kern/kern_cctr.c
1081.3Sryo
1091.3Sryo
1101.1Smatt# NetBSD 32-bit binary compatibility
1111.1Smattinclude "compat/netbsd32/files.netbsd32"
1121.1Smattfile	arch/aarch64/aarch64/netbsd32_machdep.c		compat_netbsd32
1131.1Smatt#file	arch/aarch64/aarch32/aarch32_oabi_machdep.c	compat_aarch32_oabi
1141.1Smatt#file	arch/aarch64/aarch32/aarch32_eabi_machdep.c	compat_aarch32_eabi
1151.1Smatt#file	arch/aarch64/aarch32/compat_13_machdep.c	compat_13 & compat_netbsd32
1161.1Smatt#file	arch/aarch64/aarch32/compat_16_machdep.c	compat_16 & compat_netbsd32
1171.1Smatt
1181.1Smatt# Linux binary compatibility (COMPAT_LINUX)
1191.1Smatt#include "compat/ossaudio/files.ossaudio"
1201.1Smatt#include "compat/linux/files.linux"
1211.1Smatt#include "compat/linux/arch/aarch64/files.linux_aarch64"
1221.1Smatt#file	arch/aarch64/aarch64/linux_sigcode.S	compat_linux
1231.1Smatt#file	arch/aarch64/aarch64/linux_syscall.c	compat_linux
1241.1Smatt#file	arch/aarch64/aarch64/linux_trap.c	compat_linux
125