1 # $NetBSD: files.dreamcast,v 1.32 2019/05/08 13:40:14 isaki Exp $ 2 3 # maxpartitions must be first item in files.${MACHINE} 4 maxpartitions 16 5 6 maxusers 2 16 64 7 8 include "dev/i2o/files.i2o" 9 include "dev/pci/files.pci" 10 11 file arch/dreamcast/dreamcast/conf.c 12 file arch/dreamcast/dreamcast/machdep.c 13 file arch/dreamcast/dreamcast/autoconf.c 14 file arch/dreamcast/dreamcast/clock_machdep.c 15 file arch/sh3/sh3/disksubr.c disk 16 17 file dev/kloader.c kloader 18 file arch/dreamcast/dreamcast/kloader_machdep.c kloader 19 defflag opt_kloader.h KLOADER 20 defflag debug_kloader.h KLOADER_DEBUG 21 22 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 23 24 # 25 # Machine-independent SCSI drivers 26 # 27 28 include "dev/scsipi/files.scsipi" 29 30 # 31 # Machine-independent ATA drivers 32 # 33 34 include "dev/ata/files.ata" 35 36 # Memory Disk for install floppy 37 file dev/md_root.c memory_disk_hooks 38 39 # 40 # System bus types 41 # 42 43 define mainbus { } 44 device mainbus: mainbus 45 attach mainbus at root 46 file arch/dreamcast/dreamcast/mainbus.c mainbus 47 48 device cpu 49 attach cpu at mainbus 50 file arch/sh3/sh3/cpu.c cpu 51 52 include "arch/sh3/conf/files.shb" 53 54 file arch/dreamcast/dreamcast/sysasic.c shb 55 56 device maple { [port = -1], [subunit = -1] } 57 attach maple at shb 58 file arch/dreamcast/dev/maple/maple.c maple needs-flag 59 60 device mkbd: wskbddev 61 attach mkbd at maple 62 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 63 64 device mms: wsmousedev 65 attach mms at maple 66 file arch/dreamcast/dev/maple/mms.c mms needs-flag 67 68 device mmem: disk 69 attach mmem at maple 70 file arch/dreamcast/dev/maple/mmemcard.c mmem needs-flag 71 72 device mlcd 73 attach mlcd at maple 74 file arch/dreamcast/dev/maple/mlcd.c mlcd needs-flag 75 76 device pvr: wsemuldisplaydev, rasops16 77 attach pvr at shb 78 file arch/dreamcast/dev/pvr.c pvr needs-flag 79 80 device g1bus { } 81 attach g1bus at shb 82 file arch/dreamcast/dev/g1/g1bus.c g1bus 83 file arch/dreamcast/dev/g1/g1bus_bus_mem.c g1bus 84 85 attach wdc at g1bus with wdc_g1bus 86 file arch/dreamcast/dev/g1/wdc_g1.c wdc_g1bus 87 88 device gdrom: disk 89 attach gdrom at shb 90 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 91 #attach gdrom at atapibus 92 #file arch/dreamcast/dev/g1/gdrom.c gdrom needs-flag 93 94 device g2bus { } 95 attach g2bus at shb 96 file arch/dreamcast/dev/g2/g2bus.c g2bus 97 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 98 99 device g2rtc 100 attach g2rtc at g2bus 101 file arch/dreamcast/dev/g2/g2rtc.c g2rtc 102 103 device gapspci: pcibus 104 attach gapspci at g2bus 105 file arch/dreamcast/dev/g2/gapspci.c gapspci 106 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 107 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 108 109 # LAN Adapter 110 attach mbe at g2bus with mbe_g2bus 111 file arch/dreamcast/dev/g2/if_mbe_g2.c mbe_g2bus 112 113 device aica: audiobus 114 attach aica at g2bus 115 file arch/dreamcast/dev/g2/aica.c aica needs-flag 116 117 include "arch/dreamcast/conf/majors.dreamcast" 118