1 # files.dreamcast,v 1.29 2007/04/10 02:30:19 macallan 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 gdrom: disk 81 attach gdrom at shb 82 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 83 84 device g2bus { } 85 attach g2bus at shb 86 file arch/dreamcast/dev/g2/g2bus.c g2bus 87 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 88 89 device g2rtc 90 attach g2rtc at g2bus 91 file arch/dreamcast/dev/g2/g2rtc.c g2rtc 92 93 device gapspci: pcibus 94 attach gapspci at g2bus 95 file arch/dreamcast/dev/g2/gapspci.c gapspci 96 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 97 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 98 99 # LAN Adapter 100 attach mbe at g2bus with mbe_g2bus 101 file arch/dreamcast/dev/g2/if_mbe_g2.c mbe_g2bus 102 103 device aica: audiobus, auconv, mulaw 104 attach aica at g2bus 105 file arch/dreamcast/dev/g2/aica.c aica needs-flag 106 107 include "arch/dreamcast/conf/majors.dreamcast" 108