files.riscv revision 1.16
11.16Sskrll#	$NetBSD: files.riscv,v 1.16 2024/11/23 12:03:55 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.16Sskrllfile	arch/riscv/riscv/db_memrw.c		ddb | kgdb
371.1Smattfile	arch/riscv/riscv/db_trace.c		ddb
381.9Sskrllfile	arch/riscv/riscv/exec_machdep.c
391.1Smattfile	arch/riscv/riscv/fixup.c
401.7Sskrllfile	arch/riscv/riscv/fpu.c			fpe
411.1Smattfile	arch/riscv/riscv/ipifuncs.c		multiprocessor
421.12Sskrllfile	arch/riscv/riscv/interrupt.c
431.1Smattfile	arch/riscv/riscv/kgdb_machdep.c		kgdb
441.1Smattfile	arch/riscv/riscv/kobj_machdep.c		modular
451.1Smattfile	arch/riscv/riscv/pmap_machdep.c
461.6Schristosfile	arch/riscv/riscv/process_machdep.c
471.1Smattfile	arch/riscv/riscv/procfs_machdep.c	procfs
481.13Sskrllfile	arch/riscv/riscv/riscv_tlb.c
491.12Sskrllfile	arch/riscv/riscv/riscv_generic_dma.c
501.1Smattfile	arch/riscv/riscv/riscv_machdep.c
511.12Sskrllfile	arch/riscv/riscv/sbi.c			# SBI
521.1Smattfile	arch/riscv/riscv/sig_machdep.c		# signal delivery
531.1Smattfile	arch/riscv/riscv/softint_machdep.c
541.9Sskrllfile	arch/riscv/riscv/spl.S
551.9Sskrllfile	arch/riscv/riscv/stubs.c
561.9Sskrllfile	arch/riscv/riscv/syscall.c		# syscall handler
571.1Smattfile	arch/riscv/riscv/sys_machdep.c
581.9Sskrllfile	arch/riscv/riscv/trap.c			# trap handlers
591.1Smattfile	arch/riscv/riscv/vm_machdep.c
601.1Smatt
611.1Smattfile	dev/cons.c
621.1Smattfile	dev/md_root.c				memory_disk_hooks
631.1Smatt
641.1Smattfile	kern/subr_disk_mbr.c			disk
651.1Smatt
661.1Smattfile	uvm/pmap/pmap.c
671.12Sskrllfile	uvm/pmap/pmap_devmap.c
681.1Smattfile	uvm/pmap/pmap_segtab.c
691.1Smattfile	uvm/pmap/pmap_tlb.c
701.1Smatt
711.12Sskrlldevice  plic
721.12Sskrllfile	arch/riscv/dev/plic.c			plic
731.12Sskrllattach  plic at fdt with plic_fdt
741.12Sskrllfile	arch/riscv/dev/plic_fdt.c		plic & fdt
751.12Sskrll
761.1Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32)
771.1Smattfile	arch/riscv/riscv/core32_machdep.c	compat_netbsd32 & coredump
781.1Smattfile	arch/riscv/riscv/netbsd32_machdep.c	compat_netbsd32
791.1Smattfile	arch/riscv/riscv/sig32_machdep.c	compat_netbsd32
801.1Smattinclude "compat/netbsd32/files.netbsd32"
811.1Smatt
821.12Sskrllinclude "arch/riscv/fdt/files.fdt"
831.8Sskrll
841.12Sskrll# Machine-independent drivers
851.12Sskrllinclude "dev/ata/files.ata"			# ATA drivers
861.12Sskrllinclude "dev/bluetooth/files.bluetooth"		# Bluetooth devices
871.12Sskrllinclude "dev/i2o/files.i2o"			# I2O drivers.
881.12Sskrllinclude "dev/sdmmc/files.sdmmc"			# SD/MMC devices
891.8Sskrllinclude "dev/scsipi/files.scsipi"
901.12Sskrllinclude "dev/usb/files.usb"			# USB device support
911.12Sskrllinclude "dev/pci/files.pci"			# PCI device support
921.1Smatt
931.1Smattinclude "arch/riscv/conf/majors.riscv"
94