files.riscv revision 1.12
11.12Sskrll#	$NetBSD: files.riscv,v 1.12 2023/05/07 12:41:48 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.9Sskrllfile	arch/riscv/riscv/core_machdep.c		coredump
291.12Sskrllfile	arch/riscv/riscv/cpu.c			cpu
301.1Smattfile	arch/riscv/riscv/cpu_subr.c
311.11Sskrllfile	arch/riscv/riscv/cpu_switch.S
321.10Sskrllfile	arch/riscv/riscv/db_interface.c		ddb
331.1Smattfile	arch/riscv/riscv/db_disasm.c		ddb
341.9Sskrllfile	arch/riscv/riscv/db_machdep.c		ddb | kgdb
351.1Smattfile	arch/riscv/riscv/db_trace.c		ddb
361.9Sskrllfile	arch/riscv/riscv/exec_machdep.c
371.1Smattfile	arch/riscv/riscv/fixup.c
381.7Sskrllfile	arch/riscv/riscv/fpu.c			fpe
391.1Smattfile	arch/riscv/riscv/ipifuncs.c		multiprocessor
401.12Sskrllfile	arch/riscv/riscv/interrupt.c
411.1Smattfile	arch/riscv/riscv/kgdb_machdep.c		kgdb
421.1Smattfile	arch/riscv/riscv/kobj_machdep.c		modular
431.1Smattfile	arch/riscv/riscv/pmap_machdep.c
441.6Schristosfile	arch/riscv/riscv/process_machdep.c
451.1Smattfile	arch/riscv/riscv/procfs_machdep.c	procfs
461.12Sskrllfile	arch/riscv/riscv/riscv_generic_dma.c
471.1Smattfile	arch/riscv/riscv/riscv_machdep.c
481.12Sskrllfile	arch/riscv/riscv/sbi.c			# SBI
491.1Smattfile	arch/riscv/riscv/sig_machdep.c		# signal delivery
501.1Smattfile	arch/riscv/riscv/softint_machdep.c
511.9Sskrllfile	arch/riscv/riscv/spl.S
521.9Sskrllfile	arch/riscv/riscv/stubs.c
531.9Sskrllfile	arch/riscv/riscv/syscall.c		# syscall handler
541.1Smattfile	arch/riscv/riscv/sys_machdep.c
551.9Sskrllfile	arch/riscv/riscv/trap.c			# trap handlers
561.1Smattfile	arch/riscv/riscv/vm_machdep.c
571.1Smatt
581.1Smattfile	dev/cons.c
591.1Smattfile	dev/md_root.c				memory_disk_hooks
601.1Smatt
611.1Smattfile	kern/subr_disk_mbr.c			disk
621.1Smatt
631.1Smattfile	uvm/pmap/pmap.c
641.12Sskrllfile	uvm/pmap/pmap_devmap.c
651.1Smattfile	uvm/pmap/pmap_segtab.c
661.1Smattfile	uvm/pmap/pmap_tlb.c
671.1Smatt
681.12Sskrlldevice  plic
691.12Sskrllfile	arch/riscv/dev/plic.c			plic
701.12Sskrllattach  plic at fdt with plic_fdt
711.12Sskrllfile	arch/riscv/dev/plic_fdt.c		plic & fdt
721.12Sskrll
731.1Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32)
741.1Smattfile	arch/riscv/riscv/core32_machdep.c	compat_netbsd32 & coredump
751.1Smattfile	arch/riscv/riscv/netbsd32_machdep.c	compat_netbsd32
761.1Smattfile	arch/riscv/riscv/sig32_machdep.c	compat_netbsd32
771.1Smattinclude "compat/netbsd32/files.netbsd32"
781.1Smatt
791.12Sskrllinclude "arch/riscv/fdt/files.fdt"
801.8Sskrll
811.12Sskrll# Machine-independent drivers
821.12Sskrllinclude "dev/ata/files.ata"			# ATA drivers
831.12Sskrllinclude "dev/bluetooth/files.bluetooth"		# Bluetooth devices
841.12Sskrllinclude "dev/i2o/files.i2o"			# I2O drivers.
851.12Sskrllinclude "dev/sdmmc/files.sdmmc"			# SD/MMC devices
861.8Sskrllinclude "dev/scsipi/files.scsipi"
871.12Sskrllinclude "dev/usb/files.usb"			# USB device support
881.12Sskrllinclude "dev/pci/files.pci"			# PCI device support
891.1Smatt
901.1Smattinclude "arch/riscv/conf/majors.riscv"
91