MAMBO revision 1.6
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.6 $" 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 87options SOFTDEP # FFS soft updates support. 88#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 89#options FFS_NO_SNAPSHOT # ffs snapshots 90#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 91 # immutable) behave as system flags. 92 93# Networking options 94#options GATEWAY # packet forwarding 95options INET # IP + ICMP + TCP + UDP 96 97# These options enable verbose messages for several subsystems. 98# Warning, these may compile large string tables into the kernel! 99options PCIVERBOSE # verbose PCI device autoconfig messages 100options MIIVERBOSE # verbose PHY autoconfig messages 101#options PCI_CONFIG_DUMP # verbosely dump PCI config space 102 103# wscons options 104#options WSEMUL_SUN # sun terminal emulation 105options WSEMUL_VT100 # VT100 / VT220 emulation 106#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 107options FONT_GALLANT12x22 108 109# Optional Mac keyboard tweaks 110 111# Tweak the keyboard driver to treat the caps lock key on an ADB 112# keyboard as a control key; requires special remapping because of 113# ADB's strange emulation of a mechanically-locked key. 114#options CAPS_IS_CONTROL 115 116# On Mac laptops, several function keys double as "hot keys" 117# (brightness, volume, eject) when the Fn modifier is held down. Mac 118# OS X likes to reprogram the keyboard controller to send hot key 119# events when Fn is not held down and send function key events when it 120# is. This option transforms the non-keyboard "button" events back 121# into function key events. 122#options FORCE_FUNCTION_KEYS 123 124# Kernel root file system and dump configuration. 125config netbsd root on ? type ? 126 127# 128# Device configuration 129# 130 131mainbus* at root 132 133cpu* at mainbus? 134bandit* at mainbus? 135grackle* at mainbus? 136uninorth* at mainbus? 137ibmcpc* at mainbus? 138 139pci* at bandit? bus ? 140pci* at grackle? bus ? 141pci* at uninorth? bus ? 142pci* at ibmcpc? bus ? 143pci* at ppb? bus ? 144 145pchb* at pci? dev ? function ? # PCI-Host bridges 146ppb* at pci? dev ? function ? # PCI-PCI bridges 147 148# Other PCI devices 149#ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 150# OFB_ENABLE_CACHE speeds up the console on many machines, but should 151# not be enabled on some older machines, such as the rev. A-D iMacs. 152#options OFB_ENABLE_CACHE # Speed up console 153pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 154obio* at pci? dev ? function ? 155macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 156#macofcons0 at mainbus? # OpenFirmware console (for debugging) 157 158# PCI serial interfaces 159nvram* at obio? # nvram 160# awacs is disabled because on most systems (7300 - 9600 PowerMacs, 161# many kinds of G4s), very heavy load can cause the machine to lock 162# up. ONLY enable this if your machine is never under heavy load, or 163# you'd rather have audio than worry about occasional lockups. 164#awacs* at obio? # Apple audio device 165#ki2c* at obio? # Keywest I2C 166wi* at obio? # AirMac 167#snapper* at obio? # Snapper audio device 168 169#wsdisplay0 at ofb? console ? 170 171# Cryptographic Devices 172 173# PCI cryptographic devices 174# (disabled, requires opencrypto framework which requires generic softints 175#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 176#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 177 178 179wdc* at obio? flags 0x1 180atabus* at ata? 181wd* at atabus? drive ? flags 0x0000 182 183atapibus* at atapi? 184 185cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 186sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 187uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 188 189 190#pseudo-device crypto # opencrypto framework 191 # (disabled, requires generic softints) 192pseudo-device vnd 4 # disk-like interface to files 193pseudo-device md 1 # memory disk device 194pseudo-device loop # network loopback 195pseudo-device pty # pseudo-terminals 196pseudo-device rnd # /dev/random and in-kernel generator 197pseudo-device openfirm # /dev/openfirm 198pseudo-device wsmux # mouse and keyboard multiplexor 199pseudo-device clockctl # user control of clock subsystem 200pseudo-device ksyms # /dev/ksyms 201pseudo-device nsmb # SMB requester 202#pseudo-device pf # PF packet filter 203#pseudo-device pflog # PF log if 204 205# Enable the hooks used for initializing the ram-disk. 206options MEMORY_DISK_HOOKS 207options MEMORY_DISK_IS_ROOT # Force root on ram-disk 208options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes 209options MAMBO 210 211# For Mambo console 212com* at mainbus? 213#options COM_DEBUG 214