1*05276bf3Sskrll# $NetBSD: files.riscv,v 1.17 2025/01/01 17:53:07 skrll Exp $ 29687a165Smatt# 39687a165Smatt 49687a165Smattmaxpartitions 16 59687a165Smattmaxusers 8 32 64 69687a165Smatt 7224a11ecSskrll# Console options 8224a11ecSskrlldefparam opt_console.h CONSADDR 9224a11ecSskrll 10224a11ecSskrll# RISC-V specific debug options 11224a11ecSskrlldefflag opt_riscv_debug.h VERBOSE_INIT_RISCV 12224a11ecSskrll 139687a165Smattdefflag opt_ddb.h DDB_TRACE 149687a165Smatt 1575b842b8Sskrlldevice mainbus {}: fdt 1675b842b8Sskrllattach mainbus at root 1775b842b8Sskrllfile arch/riscv/riscv/mainbus.c mainbus 1875b842b8Sskrll 1975b842b8Sskrlldevice cpu {}: fdt 20224a11ecSskrll 21167e3ebcSskrllfile arch/riscv/riscv/autoconf.c 2275b842b8Sskrllfile arch/riscv/riscv/bus_dma.c 23224a11ecSskrllfile arch/riscv/riscv/bus_space.c 24224a11ecSskrllfile arch/riscv/riscv/bus_space_generic.S 25224a11ecSskrllfile arch/riscv/riscv/bus_space_notimpl.S 2675b842b8Sskrllfile arch/riscv/riscv/bus_stubs.c 27167e3ebcSskrllfile arch/riscv/riscv/clock_machdep.c 285b566ab1Sskrllfile arch/riscv/riscv/copy.S 29167e3ebcSskrllfile arch/riscv/riscv/core_machdep.c coredump 3075b842b8Sskrllfile arch/riscv/riscv/cpu.c cpu 319687a165Smattfile arch/riscv/riscv/cpu_subr.c 327563be5aSskrllfile arch/riscv/riscv/cpu_switch.S 3350a2b92aSskrllfile arch/riscv/riscv/db_interface.c ddb 349687a165Smattfile arch/riscv/riscv/db_disasm.c ddb 35167e3ebcSskrllfile arch/riscv/riscv/db_machdep.c ddb | kgdb 36e04e284dSskrllfile arch/riscv/riscv/db_memrw.c ddb | kgdb 379687a165Smattfile arch/riscv/riscv/db_trace.c ddb 38167e3ebcSskrllfile arch/riscv/riscv/exec_machdep.c 399687a165Smattfile arch/riscv/riscv/fixup.c 40a71b9476Sskrllfile arch/riscv/riscv/fpu.c fpe 419687a165Smattfile arch/riscv/riscv/ipifuncs.c multiprocessor 4275b842b8Sskrllfile arch/riscv/riscv/interrupt.c 439687a165Smattfile arch/riscv/riscv/kgdb_machdep.c kgdb 449687a165Smattfile arch/riscv/riscv/kobj_machdep.c modular 459687a165Smattfile arch/riscv/riscv/pmap_machdep.c 464d9da7b2Schristosfile arch/riscv/riscv/process_machdep.c 479687a165Smattfile arch/riscv/riscv/procfs_machdep.c procfs 4808c3a075Sskrllfile arch/riscv/riscv/riscv_tlb.c 4975b842b8Sskrllfile arch/riscv/riscv/riscv_generic_dma.c 509687a165Smattfile arch/riscv/riscv/riscv_machdep.c 5175b842b8Sskrllfile arch/riscv/riscv/sbi.c # SBI 529687a165Smattfile arch/riscv/riscv/sig_machdep.c # signal delivery 539687a165Smattfile arch/riscv/riscv/softint_machdep.c 54167e3ebcSskrllfile arch/riscv/riscv/spl.S 55167e3ebcSskrllfile arch/riscv/riscv/stubs.c 56167e3ebcSskrllfile arch/riscv/riscv/syscall.c # syscall handler 579687a165Smattfile arch/riscv/riscv/sys_machdep.c 58167e3ebcSskrllfile arch/riscv/riscv/trap.c # trap handlers 599687a165Smattfile arch/riscv/riscv/vm_machdep.c 609687a165Smatt 619687a165Smattfile dev/cons.c 629687a165Smattfile dev/md_root.c memory_disk_hooks 639687a165Smatt 649687a165Smattfile kern/subr_disk_mbr.c disk 659687a165Smatt 669687a165Smattfile uvm/pmap/pmap.c 6775b842b8Sskrllfile uvm/pmap/pmap_devmap.c 689687a165Smattfile uvm/pmap/pmap_segtab.c 699687a165Smattfile uvm/pmap/pmap_tlb.c 709687a165Smatt 7175b842b8Sskrlldevice plic 7275b842b8Sskrllfile arch/riscv/dev/plic.c plic 7375b842b8Sskrllattach plic at fdt with plic_fdt 7475b842b8Sskrllfile arch/riscv/dev/plic_fdt.c plic & fdt 7575b842b8Sskrll 76*05276bf3Sskrll# 779687a165Smatt# Binary compatibility with 32bit NetBSD (COMPAT_NETBSD32) 78*05276bf3Sskrll# 799687a165Smattfile arch/riscv/riscv/core32_machdep.c compat_netbsd32 & coredump 809687a165Smattfile arch/riscv/riscv/netbsd32_machdep.c compat_netbsd32 819687a165Smattfile arch/riscv/riscv/sig32_machdep.c compat_netbsd32 829687a165Smattinclude "compat/netbsd32/files.netbsd32" 839687a165Smatt 8475b842b8Sskrllinclude "arch/riscv/fdt/files.fdt" 85224a11ecSskrll 86*05276bf3Sskrll# 8775b842b8Sskrll# Machine-independent drivers 88*05276bf3Sskrll# 8975b842b8Sskrllinclude "dev/ata/files.ata" # ATA drivers 9075b842b8Sskrllinclude "dev/bluetooth/files.bluetooth" # Bluetooth devices 9175b842b8Sskrllinclude "dev/i2o/files.i2o" # I2O drivers. 9275b842b8Sskrllinclude "dev/sdmmc/files.sdmmc" # SD/MMC devices 93224a11ecSskrllinclude "dev/scsipi/files.scsipi" 9475b842b8Sskrllinclude "dev/usb/files.usb" # USB device support 9575b842b8Sskrllinclude "dev/pci/files.pci" # PCI device support 969687a165Smatt 97*05276bf3Sskrll# 98*05276bf3Sskrll# Machine-dependent drivers 99*05276bf3Sskrll# 1009687a165Smattinclude "arch/riscv/conf/majors.riscv" 101