1 1.20 uch # $NetBSD: GENERIC,v 1.20 2002/03/24 18:14:27 uch Exp $ 2 1.1 marcus # 3 1.14 gmcgarry # GENERIC machine description file 4 1.14 gmcgarry # 5 1.14 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.14 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.14 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 marcus # 9 1.14 gmcgarry # The machine description file can be customised for your specific 10 1.14 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.14 gmcgarry # 12 1.14 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.14 gmcgarry # man page. 14 1.14 gmcgarry # 15 1.14 gmcgarry # For further information on hardware support for this architecture, see 16 1.14 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.14 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.14 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.14 gmcgarry # device. 20 1.1 marcus 21 1.14 gmcgarry include "arch/dreamcast/conf/std.dreamcast" 22 1.1 marcus 23 1.20 uch maxusers 16 # estimated number of users 24 1.20 uch 25 1.1 marcus # Enable the hooks used for initializing the root memory-disk. 26 1.1 marcus options MEMORY_DISK_HOOKS 27 1.1 marcus options MEMORY_DISK_IS_ROOT # force root on memory disk 28 1.1 marcus options MEMORY_DISK_SERVER=0 # no userspace memory disk support 29 1.19 lukem options MEMORY_DISK_SIZE=2880 # size of memory disk, in blocks 30 1.19 lukem #options MEMORY_DISK_SIZE=6000 31 1.1 marcus 32 1.1 marcus # CPU support 33 1.20 uch options SH4 34 1.1 marcus options SH7750 35 1.13 lukem options PCLOCK=49900000 # 50MHz 36 1.13 lukem #options PCLOCK=50000000 # 50MHz 37 1.13 lukem options IOM_ROM_BEGIN=0x00000000 38 1.13 lukem options IOM_ROM_SIZE=0x00100000 # 1MB 39 1.13 lukem options IOM_RAM_BEGIN=0x8c000000 40 1.13 lukem options IOM_RAM_SIZE=0x01000000 # 16MB 41 1.1 marcus 42 1.1 marcus # Standard system options 43 1.1 marcus #options UCONSOLE # users can use TIOCCONS (for xconsole) 44 1.1 marcus #options INSECURE # disable kernel security levels 45 1.1 marcus 46 1.13 lukem #options RTC_OFFSET=-540 47 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec 48 1.1 marcus #options NTP # NTP phase/frequency locked loop 49 1.1 marcus 50 1.1 marcus #options KTRACE # system call tracing via ktrace(1) 51 1.16 jdolecek 52 1.16 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 53 1.1 marcus 54 1.1 marcus #options SYSVMSG # System V-like message queues 55 1.1 marcus #options SYSVSEM # System V-like semaphores 56 1.13 lukem #options SEMMNI=10 # number of semaphore identifiers 57 1.13 lukem #options SEMMNS=60 # number of semaphores in system 58 1.13 lukem #options SEMUME=10 # max number of undo entries per process 59 1.13 lukem #options SEMMNU=30 # number of undo structures in system 60 1.1 marcus #options SYSVSHM # System V-like memory sharing 61 1.1 marcus #options SHMMAXPGS=1024 # 1024 pages is the default 62 1.1 marcus 63 1.1 marcus # Diagnostic/debugging support options 64 1.1 marcus #options DIAGNOSTIC # cheap kernel consistency checks 65 1.1 marcus #options DEBUG # expensive debugging checks/support 66 1.1 marcus #options DDB # in-kernel debugger 67 1.18 uch #options KGDB # remote debugger 68 1.18 uch #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 69 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table 70 1.1 marcus #options SYSCALL_DEBUG 71 1.1 marcus #options UVMHIST 72 1.13 lukem #options UVMHIST_PRINT 73 1.1 marcus 74 1.1 marcus # Compatibility options 75 1.1 marcus options COMPAT_43 # and 4.3BSD 76 1.1 marcus 77 1.1 marcus # Executable format options 78 1.1 marcus options EXEC_COFF # COFF executables 79 1.1 marcus options EXEC_ELF32 # 32-bit ELF executables 80 1.1 marcus 81 1.1 marcus # File systems 82 1.1 marcus file-system FFS # UFS 83 1.1 marcus file-system MFS # memory file system 84 1.6 thorpej file-system NFS # Network File System client 85 1.1 marcus file-system PROCFS # /proc 86 1.1 marcus file-system KERNFS # /kern 87 1.1 marcus #file-system NULLFS # loopback file system 88 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping 89 1.4 marcus file-system CD9660 # CD-ROM file system 90 1.1 marcus 91 1.1 marcus # File system options 92 1.1 marcus #options QUOTA # UFS quotas 93 1.1 marcus #options NFSSERVER # Network File System server 94 1.1 marcus 95 1.1 marcus # Networking options 96 1.1 marcus options INET # IP + ICMP + TCP + UDP 97 1.6 thorpej options NFS_BOOT_DHCP # Support DHCP NFS root 98 1.1 marcus 99 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages 100 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space 101 1.1 marcus 102 1.1 marcus # Kernel root file system and dump configuration. 103 1.1 marcus #config netbsd root on ? type nfs 104 1.1 marcus #config netbsd root on wd0a type ffs 105 1.6 thorpej config netbsd root on ? type ? 106 1.1 marcus 107 1.20 uch 108 1.20 uch # wscons options 109 1.20 uch options WSEMUL_VT100 # VT100 / VT220 emulation 110 1.20 uch options FONT_BOLD8x16 111 1.20 uch 112 1.1 marcus # 113 1.1 marcus # Device configuration 114 1.1 marcus # 115 1.1 marcus 116 1.1 marcus mainbus0 at root 117 1.1 marcus 118 1.20 uch cpu* at mainbus? 119 1.20 uch shb* at mainbus? 120 1.1 marcus 121 1.1 marcus # Serial Devices 122 1.18 uch #options SCIFCONSOLE 123 1.13 lukem options SCIFCN_SPEED=57600 124 1.20 uch scif0 at shb? 125 1.3 marcus 126 1.6 thorpej pvr0 at shb? 127 1.13 lukem wsdisplay* at pvr? console ? 128 1.3 marcus 129 1.6 thorpej maple0 at shb? 130 1.6 thorpej mkbd* at maple? port ? subunit ? 131 1.6 thorpej wskbd* at mkbd? console ? 132 1.6 thorpej 133 1.6 thorpej gdrom0 at shb? 134 1.6 thorpej 135 1.6 thorpej g2bus0 at shb? 136 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge 137 1.6 thorpej pci* at gapspci? 138 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter 139 1.6 thorpej ukphy* at mii? phy ? 140 1.1 marcus 141 1.1 marcus #pseudo-device vnd 4 # disk-like interface to files 142 1.1 marcus #pseudo-device bpfilter 8 # Berkeley packet filter 143 1.12 atatat #pseudo-device bridge # simple inter-network bridging 144 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT 145 1.1 marcus pseudo-device loop # network loopback 146 1.1 marcus pseudo-device pty # pseudo-terminals 147 1.1 marcus #pseudo-device ppp 2 # Point-to-Point Protocol 148 1.15 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 149 1.1 marcus #pseudo-device tun 2 # network tunneling over tty 150 1.9 itojun pseudo-device rnd # /dev/random and in-kernel generator 151 1.1 marcus pseudo-device md 1 # memory disk device (ramdisk) 152