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