files.riscv revision 1.9
11.9Sskrll#	$NetBSD: files.riscv,v 1.9 2022/09/19 09:15:01 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.1Smattfile	arch/riscv/riscv/db_disasm.c		ddb
251.9Sskrllfile	arch/riscv/riscv/db_machdep.c		ddb | kgdb
261.1Smattfile	arch/riscv/riscv/db_trace.c		ddb
271.9Sskrllfile	arch/riscv/riscv/exec_machdep.c
281.1Smattfile	arch/riscv/riscv/fixup.c
291.7Sskrllfile	arch/riscv/riscv/fpu.c			fpe
301.1Smattfile	arch/riscv/riscv/ipifuncs.c		multiprocessor
311.1Smattfile	arch/riscv/riscv/kgdb_machdep.c		kgdb
321.1Smattfile	arch/riscv/riscv/kobj_machdep.c		modular
331.1Smattfile	arch/riscv/riscv/pmap_machdep.c
341.6Schristosfile	arch/riscv/riscv/process_machdep.c
351.1Smattfile	arch/riscv/riscv/procfs_machdep.c	procfs
361.1Smattfile	arch/riscv/riscv/riscv_machdep.c
371.1Smattfile	arch/riscv/riscv/sig_machdep.c		# signal delivery
381.1Smattfile	arch/riscv/riscv/softint_machdep.c
391.9Sskrllfile	arch/riscv/riscv/spl.S
401.9Sskrllfile	arch/riscv/riscv/stubs.c
411.9Sskrllfile	arch/riscv/riscv/syscall.c		# syscall handler
421.1Smattfile	arch/riscv/riscv/sys_machdep.c
431.9Sskrllfile	arch/riscv/riscv/trap.c			# trap handlers
441.1Smattfile	arch/riscv/riscv/vm_machdep.c
451.1Smatt
461.1Smattfile	dev/cons.c
471.1Smattfile	dev/md_root.c				memory_disk_hooks
481.1Smatt
491.1Smattfile	kern/subr_disk_mbr.c			disk
501.1Smatt
511.1Smattfile	uvm/pmap/pmap.c
521.1Smattfile	uvm/pmap/pmap_segtab.c
531.1Smattfile	uvm/pmap/pmap_tlb.c
541.1Smatt
551.1Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32)
561.1Smattfile	arch/riscv/riscv/core32_machdep.c	compat_netbsd32 & coredump
571.1Smattfile	arch/riscv/riscv/netbsd32_machdep.c	compat_netbsd32
581.1Smattfile	arch/riscv/riscv/sig32_machdep.c	compat_netbsd32
591.1Smattinclude "compat/netbsd32/files.netbsd32"
601.1Smatt
611.8Sskrlldevice	mainbus {}: fdt
621.1Smattattach	mainbus at root
631.8Sskrll
641.1Smattfile	arch/riscv/riscv/mainbus.c		mainbus
651.1Smatt
661.8Sskrll# Machine-independent I2O drivers.
671.8Sskrllinclude "dev/i2o/files.i2o"
681.8Sskrll
691.8Sskrll# Machine-independent SCSI drivers
701.8Sskrllinclude "dev/scsipi/files.scsipi"
711.8Sskrll
721.8Sskrll# Machine-independent ATA drivers
731.8Sskrllinclude "dev/ata/files.ata"
741.8Sskrll
751.8Sskrll# Machine-independent USB device support
761.8Sskrllinclude "dev/usb/files.usb"
771.8Sskrll
781.8Sskrll# Machine-independent PCI device support
791.8Sskrll#include "dev/pci/files.pci"
801.1Smatt
811.1Smattinclude "arch/riscv/conf/majors.riscv"
82