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