MAMBO revision 1.7
1# machine description file for the MAMBO simulator from IBM 2# Author Sanjay Lal <sanjayl@kymasys.com> 3 4 5include "arch/macppc/conf/std.macppc.g5" 6 7options INCLUDE_CONFIG_FILE # embed config file in kernel binary 8 9#ident "GENERIC-$Revision: 1.7 $" 10 11maxusers 32 12 13options ALTIVEC # Include AltiVec support 14 15# Standard system options 16options INSECURE # disable kernel security levels 17 18options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 19options NTP # NTP phase/frequency locked loop 20options KTRACE # system call tracing via ktrace(1) 21 22options SYSVMSG # System V message queues 23options SYSVSEM # System V semaphores 24#options SEMMNI=10 # number of semaphore identifiers 25#options SEMMNS=60 # number of semaphores in system 26#options SEMUME=10 # max number of undo entries per process 27#options SEMMNU=30 # number of undo structures in system 28options SYSVSHM # System V shared memory 29#options SHMMAXPGS=1024 # 1024 pages is the default 30options P1003_1B_SEMAPHORE # p1003.1b semaphore support 31 32 33options USERCONF # userconf(4) support 34#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 35options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 36 37# Enable experimental buffer queue strategy for better responsiveness under 38# high disk I/O load. Use it with caution - it's not proven to be stable yet. 39#options NEW_BUFQ_STRATEGY 40 41# Diagnostic/debugging support options 42options DIAGNOSTIC # cheap kernel consistency checks 43options DEBUG # expensive debugging checks/support 44options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 45options DDB # in-kernel debugger 46#options DDB_ONPANIC=0 # don't go into ddb on panic. 47options DDB_HISTORY_SIZE=512 # enable history editing in DDB 48#options TRAP_PANICWAIT 49 50makeoptions DEBUG="-g" # compile full symbol table 51 52# Compatibility options 53options COMPAT_09 # NetBSD 0.9, 54options COMPAT_10 # NetBSD 1.0, 55options COMPAT_11 # NetBSD 1.1, 56options COMPAT_12 # NetBSD 1.2, 57options COMPAT_13 # NetBSD 1.3, 58options COMPAT_14 # NetBSD 1.4, 59options COMPAT_15 # NetBSD 1.5, 60options COMPAT_16 # NetBSD 1.6, 61options COMPAT_20 # NetBSD 2.0 62options COMPAT_43 # and 4.3BSD 63 64#options COMPAT_386BSD_MBRPART # recognize old partition ID 65#options COMPAT_DARWIN # Darwin binary compatibility (experimental) 66#options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN 67#options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH 68#options DEBUG_DARWIN # COMPAT_DARWIN debugging 69#options DEBUG_MACH # COMPAT_MACH debugging 70#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 71options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 72 73# File systems 74file-system FFS # UFS 75file-system MFS # memory file system 76file-system KERNFS # /kern 77file-system NULLFS # loopback file system 78file-system PROCFS # /proc 79file-system OVERLAY # overlay file system 80file-system UMAPFS # NULLFS + uid and gid remapping 81file-system UNION # union file system 82 83 84# File system options 85options QUOTA # UFS quotas 86#options FFS_EI # FFS Endian Independant support 87#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 88#options FFS_NO_SNAPSHOT # ffs snapshots 89#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 90 # immutable) behave as system flags. 91 92# Networking options 93#options GATEWAY # packet forwarding 94options INET # IP + ICMP + TCP + UDP 95 96# These options enable verbose messages for several subsystems. 97# Warning, these may compile large string tables into the kernel! 98options PCIVERBOSE # verbose PCI device autoconfig messages 99options MIIVERBOSE # verbose PHY autoconfig messages 100#options PCI_CONFIG_DUMP # verbosely dump PCI config space 101 102# wscons options 103#options WSEMUL_SUN # sun terminal emulation 104options WSEMUL_VT100 # VT100 / VT220 emulation 105#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 106options FONT_GALLANT12x22 107 108# Optional Mac keyboard tweaks 109 110# Tweak the keyboard driver to treat the caps lock key on an ADB 111# keyboard as a control key; requires special remapping because of 112# ADB's strange emulation of a mechanically-locked key. 113#options CAPS_IS_CONTROL 114 115# On Mac laptops, several function keys double as "hot keys" 116# (brightness, volume, eject) when the Fn modifier is held down. Mac 117# OS X likes to reprogram the keyboard controller to send hot key 118# events when Fn is not held down and send function key events when it 119# is. This option transforms the non-keyboard "button" events back 120# into function key events. 121#options FORCE_FUNCTION_KEYS 122 123# Kernel root file system and dump configuration. 124config netbsd root on ? type ? 125 126# 127# Device configuration 128# 129 130mainbus* at root 131 132cpu* at mainbus? 133bandit* at mainbus? 134grackle* at mainbus? 135uninorth* at mainbus? 136ibmcpc* at mainbus? 137 138pci* at bandit? bus ? 139pci* at grackle? bus ? 140pci* at uninorth? bus ? 141pci* at ibmcpc? bus ? 142pci* at ppb? bus ? 143 144pchb* at pci? dev ? function ? # PCI-Host bridges 145ppb* at pci? dev ? function ? # PCI-PCI bridges 146 147# Other PCI devices 148#ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 149# OFB_ENABLE_CACHE speeds up the console on many machines, but should 150# not be enabled on some older machines, such as the rev. A-D iMacs. 151#options OFB_ENABLE_CACHE # Speed up console 152pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 153obio* at pci? dev ? function ? 154macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 155#macofcons0 at mainbus? # OpenFirmware console (for debugging) 156 157# PCI serial interfaces 158nvram* at obio? # nvram 159# awacs is disabled because on most systems (7300 - 9600 PowerMacs, 160# many kinds of G4s), very heavy load can cause the machine to lock 161# up. ONLY enable this if your machine is never under heavy load, or 162# you'd rather have audio than worry about occasional lockups. 163#awacs* at obio? # Apple audio device 164#ki2c* at obio? # Keywest I2C 165wi* at obio? # AirMac 166#snapper* at obio? # Snapper audio device 167 168#wsdisplay0 at ofb? console ? 169 170# Cryptographic Devices 171 172# PCI cryptographic devices 173# (disabled, requires opencrypto framework which requires generic softints 174#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 175#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 176 177 178wdc* at obio? flags 0x1 179atabus* at ata? 180wd* at atabus? drive ? flags 0x0000 181 182atapibus* at atapi? 183 184cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 185sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 186uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 187 188 189#pseudo-device crypto # opencrypto framework 190 # (disabled, requires generic softints) 191pseudo-device vnd 4 # disk-like interface to files 192pseudo-device md 1 # memory disk device 193pseudo-device loop # network loopback 194pseudo-device pty # pseudo-terminals 195pseudo-device rnd # /dev/random and in-kernel generator 196pseudo-device openfirm # /dev/openfirm 197pseudo-device wsmux # mouse and keyboard multiplexor 198pseudo-device clockctl # user control of clock subsystem 199pseudo-device ksyms # /dev/ksyms 200pseudo-device nsmb # SMB requester 201#pseudo-device pf # PF packet filter 202#pseudo-device pflog # PF log if 203 204# Enable the hooks used for initializing the ram-disk. 205options MEMORY_DISK_HOOKS 206options MEMORY_DISK_IS_ROOT # Force root on ram-disk 207options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 208options MAMBO 209 210# For Mambo console 211com* at mainbus? 212#options COM_DEBUG 213