files.riscv revision 1.10
11.10Sskrll#	$NetBSD: files.riscv,v 1.10 2022/09/27 08:18:21 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.8Sskrllfile	arch/riscv/fdt/fdt_dma_machdep.c
161.8Sskrll
171.9Sskrllfile	arch/riscv/riscv/autoconf.c
181.8Sskrllfile	arch/riscv/riscv/bus_space.c
191.8Sskrllfile	arch/riscv/riscv/bus_space_generic.S
201.8Sskrllfile	arch/riscv/riscv/bus_space_notimpl.S
211.9Sskrllfile	arch/riscv/riscv/clock_machdep.c
221.9Sskrllfile	arch/riscv/riscv/core_machdep.c		coredump
231.1Smattfile	arch/riscv/riscv/cpu_subr.c
241.10Sskrllfile	arch/riscv/riscv/db_interface.c		ddb
251.1Smattfile	arch/riscv/riscv/db_disasm.c		ddb
261.9Sskrllfile	arch/riscv/riscv/db_machdep.c		ddb | kgdb
271.1Smattfile	arch/riscv/riscv/db_trace.c		ddb
281.9Sskrllfile	arch/riscv/riscv/exec_machdep.c
291.1Smattfile	arch/riscv/riscv/fixup.c
301.7Sskrllfile	arch/riscv/riscv/fpu.c			fpe
311.1Smattfile	arch/riscv/riscv/ipifuncs.c		multiprocessor
321.1Smattfile	arch/riscv/riscv/kgdb_machdep.c		kgdb
331.1Smattfile	arch/riscv/riscv/kobj_machdep.c		modular
341.1Smattfile	arch/riscv/riscv/pmap_machdep.c
351.6Schristosfile	arch/riscv/riscv/process_machdep.c
361.1Smattfile	arch/riscv/riscv/procfs_machdep.c	procfs
371.1Smattfile	arch/riscv/riscv/riscv_machdep.c
381.1Smattfile	arch/riscv/riscv/sig_machdep.c		# signal delivery
391.1Smattfile	arch/riscv/riscv/softint_machdep.c
401.9Sskrllfile	arch/riscv/riscv/spl.S
411.9Sskrllfile	arch/riscv/riscv/stubs.c
421.9Sskrllfile	arch/riscv/riscv/syscall.c		# syscall handler
431.1Smattfile	arch/riscv/riscv/sys_machdep.c
441.9Sskrllfile	arch/riscv/riscv/trap.c			# trap handlers
451.1Smattfile	arch/riscv/riscv/vm_machdep.c
461.1Smatt
471.1Smattfile	dev/cons.c
481.1Smattfile	dev/md_root.c				memory_disk_hooks
491.1Smatt
501.1Smattfile	kern/subr_disk_mbr.c			disk
511.1Smatt
521.1Smattfile	uvm/pmap/pmap.c
531.1Smattfile	uvm/pmap/pmap_segtab.c
541.1Smattfile	uvm/pmap/pmap_tlb.c
551.1Smatt
561.1Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32)
571.1Smattfile	arch/riscv/riscv/core32_machdep.c	compat_netbsd32 & coredump
581.1Smattfile	arch/riscv/riscv/netbsd32_machdep.c	compat_netbsd32
591.1Smattfile	arch/riscv/riscv/sig32_machdep.c	compat_netbsd32
601.1Smattinclude "compat/netbsd32/files.netbsd32"
611.1Smatt
621.8Sskrlldevice	mainbus {}: fdt
631.1Smattattach	mainbus at root
641.8Sskrll
651.1Smattfile	arch/riscv/riscv/mainbus.c		mainbus
661.1Smatt
671.8Sskrll# Machine-independent I2O drivers.
681.8Sskrllinclude "dev/i2o/files.i2o"
691.8Sskrll
701.8Sskrll# Machine-independent SCSI drivers
711.8Sskrllinclude "dev/scsipi/files.scsipi"
721.8Sskrll
731.8Sskrll# Machine-independent ATA drivers
741.8Sskrllinclude "dev/ata/files.ata"
751.8Sskrll
761.8Sskrll# Machine-independent USB device support
771.8Sskrllinclude "dev/usb/files.usb"
781.8Sskrll
791.8Sskrll# Machine-independent PCI device support
801.8Sskrll#include "dev/pci/files.pci"
811.1Smatt
821.1Smattinclude "arch/riscv/conf/majors.riscv"
83