files.riscv revision 1.15
11.15Sskrll#	$NetBSD: files.riscv,v 1.15 2024/04/06 10:08:54 skrll Exp $
21.1Smatt#
31.1Smatt
41.1Smattmaxpartitions	16
51.1Smattmaxusers	8 32 64
61.1Smatt
71.8Sskrll# Console options
81.8Sskrlldefparam opt_console.h		CONSADDR
91.8Sskrll
101.8Sskrll# RISC-V specific debug options
111.8Sskrlldefflag  opt_riscv_debug.h	VERBOSE_INIT_RISCV
121.8Sskrll
131.1Smattdefflag	opt_ddb.h		DDB_TRACE
141.1Smatt
151.12Sskrlldevice	mainbus {}: fdt
161.12Sskrllattach	mainbus at root
171.12Sskrllfile	arch/riscv/riscv/mainbus.c		mainbus
181.12Sskrll
191.12Sskrlldevice cpu {}: fdt
201.8Sskrll
211.9Sskrllfile	arch/riscv/riscv/autoconf.c
221.12Sskrllfile	arch/riscv/riscv/bus_dma.c
231.8Sskrllfile	arch/riscv/riscv/bus_space.c
241.8Sskrllfile	arch/riscv/riscv/bus_space_generic.S
251.8Sskrllfile	arch/riscv/riscv/bus_space_notimpl.S
261.12Sskrllfile	arch/riscv/riscv/bus_stubs.c
271.9Sskrllfile	arch/riscv/riscv/clock_machdep.c
281.15Sskrllfile	arch/riscv/riscv/copy.S
291.9Sskrllfile	arch/riscv/riscv/core_machdep.c		coredump
301.12Sskrllfile	arch/riscv/riscv/cpu.c			cpu
311.1Smattfile	arch/riscv/riscv/cpu_subr.c
321.11Sskrllfile	arch/riscv/riscv/cpu_switch.S
331.10Sskrllfile	arch/riscv/riscv/db_interface.c		ddb
341.1Smattfile	arch/riscv/riscv/db_disasm.c		ddb
351.9Sskrllfile	arch/riscv/riscv/db_machdep.c		ddb | kgdb
361.1Smattfile	arch/riscv/riscv/db_trace.c		ddb
371.9Sskrllfile	arch/riscv/riscv/exec_machdep.c
381.1Smattfile	arch/riscv/riscv/fixup.c
391.7Sskrllfile	arch/riscv/riscv/fpu.c			fpe
401.1Smattfile	arch/riscv/riscv/ipifuncs.c		multiprocessor
411.12Sskrllfile	arch/riscv/riscv/interrupt.c
421.1Smattfile	arch/riscv/riscv/kgdb_machdep.c		kgdb
431.1Smattfile	arch/riscv/riscv/kobj_machdep.c		modular
441.1Smattfile	arch/riscv/riscv/pmap_machdep.c
451.6Schristosfile	arch/riscv/riscv/process_machdep.c
461.1Smattfile	arch/riscv/riscv/procfs_machdep.c	procfs
471.13Sskrllfile	arch/riscv/riscv/riscv_tlb.c
481.12Sskrllfile	arch/riscv/riscv/riscv_generic_dma.c
491.1Smattfile	arch/riscv/riscv/riscv_machdep.c
501.12Sskrllfile	arch/riscv/riscv/sbi.c			# SBI
511.1Smattfile	arch/riscv/riscv/sig_machdep.c		# signal delivery
521.1Smattfile	arch/riscv/riscv/softint_machdep.c
531.9Sskrllfile	arch/riscv/riscv/spl.S
541.9Sskrllfile	arch/riscv/riscv/stubs.c
551.9Sskrllfile	arch/riscv/riscv/syscall.c		# syscall handler
561.1Smattfile	arch/riscv/riscv/sys_machdep.c
571.9Sskrllfile	arch/riscv/riscv/trap.c			# trap handlers
581.1Smattfile	arch/riscv/riscv/vm_machdep.c
591.1Smatt
601.1Smattfile	dev/cons.c
611.1Smattfile	dev/md_root.c				memory_disk_hooks
621.1Smatt
631.1Smattfile	kern/subr_disk_mbr.c			disk
641.1Smatt
651.1Smattfile	uvm/pmap/pmap.c
661.12Sskrllfile	uvm/pmap/pmap_devmap.c
671.1Smattfile	uvm/pmap/pmap_segtab.c
681.1Smattfile	uvm/pmap/pmap_tlb.c
691.1Smatt
701.12Sskrlldevice  plic
711.12Sskrllfile	arch/riscv/dev/plic.c			plic
721.12Sskrllattach  plic at fdt with plic_fdt
731.12Sskrllfile	arch/riscv/dev/plic_fdt.c		plic & fdt
741.12Sskrll
751.1Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32)
761.1Smattfile	arch/riscv/riscv/core32_machdep.c	compat_netbsd32 & coredump
771.1Smattfile	arch/riscv/riscv/netbsd32_machdep.c	compat_netbsd32
781.1Smattfile	arch/riscv/riscv/sig32_machdep.c	compat_netbsd32
791.1Smattinclude "compat/netbsd32/files.netbsd32"
801.1Smatt
811.12Sskrllinclude "arch/riscv/fdt/files.fdt"
821.8Sskrll
831.12Sskrll# Machine-independent drivers
841.12Sskrllinclude "dev/ata/files.ata"			# ATA drivers
851.12Sskrllinclude "dev/bluetooth/files.bluetooth"		# Bluetooth devices
861.12Sskrllinclude "dev/i2o/files.i2o"			# I2O drivers.
871.12Sskrllinclude "dev/sdmmc/files.sdmmc"			# SD/MMC devices
881.8Sskrllinclude "dev/scsipi/files.scsipi"
891.12Sskrllinclude "dev/usb/files.usb"			# USB device support
901.12Sskrllinclude "dev/pci/files.pci"			# PCI device support
911.1Smatt
921.1Smattinclude "arch/riscv/conf/majors.riscv"
93