MAMBO revision 1.30
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.30 $" 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 30options USERCONF # userconf(4) support 31#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 32options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 33 34# Alternate buffer queue strategies for better responsiveness under high 35# disk I/O load. 36#options BUFQ_READPRIO 37options BUFQ_PRIOCSCAN 38 39# Diagnostic/debugging support options 40options DIAGNOSTIC # cheap kernel consistency checks 41options DEBUG # expensive debugging checks/support 42options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 43options DDB # in-kernel debugger 44#options DDB_ONPANIC=0 # don't go into ddb on panic. 45options DDB_HISTORY_SIZE=512 # enable history editing in DDB 46#options TRAP_PANICWAIT 47 48makeoptions DEBUG="-g" # compile full symbol table 49 50# Compatibility options 51include "conf/compat_netbsd09.config" 52 53#options COMPAT_386BSD_MBRPART # recognize old partition ID 54 55# File systems 56file-system FFS # UFS 57file-system MFS # memory file system 58file-system KERNFS # /kern 59file-system NULLFS # loopback file system 60file-system PROCFS # /proc 61file-system OVERLAY # overlay file system 62file-system UMAPFS # NULLFS + uid and gid remapping 63file-system UNION # union file system 64 65 66# File system options 67options QUOTA # legacy UFS quotas 68options QUOTA2 # new, in-filesystem UFS quotas 69#options FFS_EI # FFS Endian Independent support 70#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 71#options FFS_NO_SNAPSHOT # ffs snapshots 72options UFS_EXTATTR # Extended attribute support for UFS1 73#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 74 # immutable) behave as system flags. 75 76# Networking options 77#options GATEWAY # packet forwarding 78options INET # IP + ICMP + TCP + UDP 79 80# These options enable verbose messages for several subsystems. 81# Warning, these may compile large string tables into the kernel! 82options PCIVERBOSE # verbose PCI device autoconfig messages 83options MIIVERBOSE # verbose PHY autoconfig messages 84#options PCI_CONFIG_DUMP # verbosely dump PCI config space 85 86# wscons options 87#options WSEMUL_SUN # sun terminal emulation 88options WSEMUL_VT100 # VT100 / VT220 emulation 89options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 90#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 91options FONT_GALLANT12x22 92 93# Optional Mac keyboard tweaks 94 95# Tweak the keyboard driver to treat the caps lock key on an ADB 96# keyboard as a control key; requires special remapping because of 97# ADB's strange emulation of a mechanically-locked key. 98#options CAPS_IS_CONTROL 99 100# On Mac laptops, several function keys double as "hot keys" 101# (brightness, volume, eject) when the Fn modifier is held down. Mac 102# OS X likes to reprogram the keyboard controller to send hot key 103# events when Fn is not held down and send function key events when it 104# is. This option transforms the non-keyboard "button" events back 105# into function key events. 106#options FORCE_FUNCTION_KEYS 107 108# Kernel root file system and dump configuration. 109config netbsd root on ? type ? 110 111# 112# Device configuration 113# 114 115mainbus* at root 116 117cpu* at mainbus? 118bandit* at mainbus? 119grackle* at mainbus? 120uninorth* at mainbus? 121ibmcpc* at mainbus? 122 123pci* at bandit? bus ? 124pci* at grackle? bus ? 125pci* at uninorth? bus ? 126pci* at ibmcpc? bus ? 127pci* at ppb? bus ? 128 129pchb* at pci? dev ? function ? # PCI-Host bridges 130ppb* at pci? dev ? function ? # PCI-PCI bridges 131 132# Other PCI devices 133#ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 134pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 135obio* at pci? dev ? function ? 136macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 137#macofcons0 at mainbus? # OpenFirmware console (for debugging) 138 139# PCI serial interfaces 140nvram* at obio? # nvram 141#awacs* at obio? # Apple audio device 142#ki2c* at obio? # Keywest I2C 143wi* at obio? # AirMac 144#snapper* at obio? # Snapper audio device 145 146#wsdisplay0 at ofb? console ? 147 148# Cryptographic Devices 149 150# PCI cryptographic devices 151# (disabled, requires opencrypto framework which requires generic softints 152#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 153#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 154 155 156wdc* at obio? flags 0x1 157atabus* at ata? 158wd* at atabus? drive ? flags 0x0000 159 160atapibus* at atapi? 161 162cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 163sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 164uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 165 166 167#pseudo-device crypto # opencrypto framework 168 # (disabled, requires generic softints) 169pseudo-device vnd # disk-like interface to files 170pseudo-device md # memory disk device 171pseudo-device loop # network loopback 172pseudo-device pty # pseudo-terminals 173pseudo-device openfirm # /dev/openfirm 174pseudo-device wsmux # mouse and keyboard multiplexor 175pseudo-device clockctl # user control of clock subsystem 176pseudo-device ksyms # /dev/ksyms 177pseudo-device nsmb # SMB requester 178#pseudo-device pf # PF packet filter 179#pseudo-device pflog # PF log if 180 181# Enable the hooks used for initializing the ram-disk. 182options MEMORY_DISK_HOOKS 183options MEMORY_DISK_IS_ROOT # Force root on ram-disk 184options MEMORY_DISK_ROOT_SIZE=4496 # 2248 KiB 185options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 186 187options MAMBO 188 189# For Mambo console 190com* at mainbus? 191#options COM_DEBUG 192