MAMBO revision 1.18
11.1Ssanjayl# machine description file for the MAMBO simulator from IBM 21.1Ssanjayl# Author Sanjay Lal <sanjayl@kymasys.com> 31.1Ssanjayl 41.1Ssanjayl 51.1Ssanjaylinclude "arch/macppc/conf/std.macppc.g5" 61.1Ssanjayl 71.1Ssanjayloptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 81.1Ssanjayl 91.18Schristos#ident "GENERIC-$Revision: 1.18 $" 101.1Ssanjayl 111.1Ssanjaylmaxusers 32 121.1Ssanjayl 131.1Ssanjayloptions ALTIVEC # Include AltiVec support 141.1Ssanjayl 151.1Ssanjayl# Standard system options 161.1Ssanjayloptions INSECURE # disable kernel security levels 171.1Ssanjayl 181.1Ssanjayloptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 191.1Ssanjayloptions NTP # NTP phase/frequency locked loop 201.1Ssanjayloptions KTRACE # system call tracing via ktrace(1) 211.1Ssanjayl 221.1Ssanjayloptions SYSVMSG # System V message queues 231.1Ssanjayloptions SYSVSEM # System V semaphores 241.1Ssanjayl#options SEMMNI=10 # number of semaphore identifiers 251.1Ssanjayl#options SEMMNS=60 # number of semaphores in system 261.1Ssanjayl#options SEMUME=10 # max number of undo entries per process 271.1Ssanjayl#options SEMMNU=30 # number of undo structures in system 281.1Ssanjayloptions SYSVSHM # System V shared memory 291.1Ssanjayl 301.1Ssanjayloptions USERCONF # userconf(4) support 311.1Ssanjayl#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 321.1Ssanjayloptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 331.1Ssanjayl 341.1Ssanjayl# Enable experimental buffer queue strategy for better responsiveness under 351.1Ssanjayl# high disk I/O load. Use it with caution - it's not proven to be stable yet. 361.1Ssanjayl#options NEW_BUFQ_STRATEGY 371.1Ssanjayl 381.1Ssanjayl# Diagnostic/debugging support options 391.1Ssanjayloptions DIAGNOSTIC # cheap kernel consistency checks 401.1Ssanjayloptions DEBUG # expensive debugging checks/support 411.1Ssanjayloptions ZS_CONSOLE_ABORT# allow break to get into DDB on serial 421.1Ssanjayloptions DDB # in-kernel debugger 431.1Ssanjayl#options DDB_ONPANIC=0 # don't go into ddb on panic. 441.1Ssanjayloptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 451.1Ssanjayl#options TRAP_PANICWAIT 461.1Ssanjayl 471.1Ssanjaylmakeoptions DEBUG="-g" # compile full symbol table 481.1Ssanjayl 491.1Ssanjayl# Compatibility options 501.1Ssanjayloptions COMPAT_09 # NetBSD 0.9, 511.1Ssanjayloptions COMPAT_10 # NetBSD 1.0, 521.1Ssanjayloptions COMPAT_11 # NetBSD 1.1, 531.1Ssanjayloptions COMPAT_12 # NetBSD 1.2, 541.1Ssanjayloptions COMPAT_13 # NetBSD 1.3, 551.1Ssanjayloptions COMPAT_14 # NetBSD 1.4, 561.3Smanuoptions COMPAT_15 # NetBSD 1.5, 571.1Ssanjayloptions COMPAT_16 # NetBSD 1.6, 581.1Ssanjayloptions COMPAT_20 # NetBSD 2.0 591.1Ssanjayloptions COMPAT_43 # and 4.3BSD 601.1Ssanjayl 611.1Ssanjayl#options COMPAT_386BSD_MBRPART # recognize old partition ID 621.1Ssanjayl#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 631.4Suweoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 641.1Ssanjayl 651.1Ssanjayl# File systems 661.1Ssanjaylfile-system FFS # UFS 671.1Ssanjaylfile-system MFS # memory file system 681.1Ssanjaylfile-system KERNFS # /kern 691.1Ssanjaylfile-system NULLFS # loopback file system 701.1Ssanjaylfile-system PROCFS # /proc 711.1Ssanjaylfile-system OVERLAY # overlay file system 721.1Ssanjaylfile-system UMAPFS # NULLFS + uid and gid remapping 731.1Ssanjaylfile-system UNION # union file system 741.1Ssanjayl 751.1Ssanjayl 761.1Ssanjayl# File system options 771.12Sbouyeroptions QUOTA # legacy UFS quotas 781.12Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 791.14Swiz#options FFS_EI # FFS Endian Independent support 801.4Suwe#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 811.1Ssanjayl#options FFS_NO_SNAPSHOT # ffs snapshots 821.1Ssanjayl#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 831.1Ssanjayl # immutable) behave as system flags. 841.1Ssanjayl 851.1Ssanjayl# Networking options 861.1Ssanjayl#options GATEWAY # packet forwarding 871.1Ssanjayloptions INET # IP + ICMP + TCP + UDP 881.1Ssanjayl 891.1Ssanjayl# These options enable verbose messages for several subsystems. 901.1Ssanjayl# Warning, these may compile large string tables into the kernel! 911.1Ssanjayloptions PCIVERBOSE # verbose PCI device autoconfig messages 921.1Ssanjayloptions MIIVERBOSE # verbose PHY autoconfig messages 931.1Ssanjayl#options PCI_CONFIG_DUMP # verbosely dump PCI config space 941.1Ssanjayl 951.1Ssanjayl# wscons options 961.1Ssanjayl#options WSEMUL_SUN # sun terminal emulation 971.1Ssanjayloptions WSEMUL_VT100 # VT100 / VT220 emulation 981.17Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 991.1Ssanjayl#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1001.1Ssanjayloptions FONT_GALLANT12x22 1011.1Ssanjayl 1021.1Ssanjayl# Optional Mac keyboard tweaks 1031.1Ssanjayl 1041.1Ssanjayl# Tweak the keyboard driver to treat the caps lock key on an ADB 1051.1Ssanjayl# keyboard as a control key; requires special remapping because of 1061.1Ssanjayl# ADB's strange emulation of a mechanically-locked key. 1071.4Suwe#options CAPS_IS_CONTROL 1081.1Ssanjayl 1091.1Ssanjayl# On Mac laptops, several function keys double as "hot keys" 1101.1Ssanjayl# (brightness, volume, eject) when the Fn modifier is held down. Mac 1111.1Ssanjayl# OS X likes to reprogram the keyboard controller to send hot key 1121.1Ssanjayl# events when Fn is not held down and send function key events when it 1131.1Ssanjayl# is. This option transforms the non-keyboard "button" events back 1141.1Ssanjayl# into function key events. 1151.4Suwe#options FORCE_FUNCTION_KEYS 1161.1Ssanjayl 1171.1Ssanjayl# Kernel root file system and dump configuration. 1181.1Ssanjaylconfig netbsd root on ? type ? 1191.1Ssanjayl 1201.1Ssanjayl# 1211.1Ssanjayl# Device configuration 1221.1Ssanjayl# 1231.1Ssanjayl 1241.1Ssanjaylmainbus* at root 1251.1Ssanjayl 1261.1Ssanjaylcpu* at mainbus? 1271.1Ssanjaylbandit* at mainbus? 1281.1Ssanjaylgrackle* at mainbus? 1291.1Ssanjayluninorth* at mainbus? 1301.1Ssanjaylibmcpc* at mainbus? 1311.1Ssanjayl 1321.1Ssanjaylpci* at bandit? bus ? 1331.1Ssanjaylpci* at grackle? bus ? 1341.1Ssanjaylpci* at uninorth? bus ? 1351.1Ssanjaylpci* at ibmcpc? bus ? 1361.1Ssanjaylpci* at ppb? bus ? 1371.1Ssanjayl 1381.1Ssanjaylpchb* at pci? dev ? function ? # PCI-Host bridges 1391.1Ssanjaylppb* at pci? dev ? function ? # PCI-PCI bridges 1401.1Ssanjayl 1411.1Ssanjayl# Other PCI devices 1421.1Ssanjayl#ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 1431.1Ssanjayl# OFB_ENABLE_CACHE speeds up the console on many machines, but should 1441.1Ssanjayl# not be enabled on some older machines, such as the rev. A-D iMacs. 1451.1Ssanjayl#options OFB_ENABLE_CACHE # Speed up console 1461.1Ssanjaylpciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 1471.1Ssanjaylobio* at pci? dev ? function ? 1481.1Ssanjaylmacofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 1491.1Ssanjayl#macofcons0 at mainbus? # OpenFirmware console (for debugging) 1501.1Ssanjayl 1511.1Ssanjayl# PCI serial interfaces 1521.1Ssanjaylnvram* at obio? # nvram 1531.1Ssanjayl# awacs is disabled because on most systems (7300 - 9600 PowerMacs, 1541.1Ssanjayl# many kinds of G4s), very heavy load can cause the machine to lock 1551.1Ssanjayl# up. ONLY enable this if your machine is never under heavy load, or 1561.1Ssanjayl# you'd rather have audio than worry about occasional lockups. 1571.1Ssanjayl#awacs* at obio? # Apple audio device 1581.1Ssanjayl#ki2c* at obio? # Keywest I2C 1591.1Ssanjaylwi* at obio? # AirMac 1601.1Ssanjayl#snapper* at obio? # Snapper audio device 1611.1Ssanjayl 1621.1Ssanjayl#wsdisplay0 at ofb? console ? 1631.1Ssanjayl 1641.1Ssanjayl# Cryptographic Devices 1651.1Ssanjayl 1661.1Ssanjayl# PCI cryptographic devices 1671.1Ssanjayl# (disabled, requires opencrypto framework which requires generic softints 1681.1Ssanjayl#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 1691.1Ssanjayl#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 1701.1Ssanjayl 1711.1Ssanjayl 1721.1Ssanjaylwdc* at obio? flags 0x1 1731.1Ssanjaylatabus* at ata? 1741.1Ssanjaylwd* at atabus? drive ? flags 0x0000 1751.1Ssanjayl 1761.1Ssanjaylatapibus* at atapi? 1771.1Ssanjayl 1781.1Ssanjaylcd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 1791.1Ssanjaylsd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 1801.1Ssanjayluk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 1811.1Ssanjayl 1821.1Ssanjayl 1831.1Ssanjayl#pseudo-device crypto # opencrypto framework 1841.1Ssanjayl # (disabled, requires generic softints) 1851.18Schristospseudo-device vnd # disk-like interface to files 1861.10Shannkenpseudo-device md # memory disk device 1871.1Ssanjaylpseudo-device loop # network loopback 1881.1Ssanjaylpseudo-device pty # pseudo-terminals 1891.1Ssanjaylpseudo-device openfirm # /dev/openfirm 1901.1Ssanjaylpseudo-device wsmux # mouse and keyboard multiplexor 1911.1Ssanjaylpseudo-device clockctl # user control of clock subsystem 1921.1Ssanjaylpseudo-device ksyms # /dev/ksyms 1931.1Ssanjaylpseudo-device nsmb # SMB requester 1941.1Ssanjayl#pseudo-device pf # PF packet filter 1951.1Ssanjayl#pseudo-device pflog # PF log if 1961.1Ssanjayl 1971.1Ssanjayl# Enable the hooks used for initializing the ram-disk. 1981.1Ssanjayloptions MEMORY_DISK_HOOKS 1991.1Ssanjayloptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 2001.11Saymericoptions MEMORY_DISK_ROOT_SIZE=4224 # 2112 KiB 2011.8Sjymoptions MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 2021.8Sjym 2031.4Suweoptions MAMBO 2041.1Ssanjayl 2051.1Ssanjayl# For Mambo console 2061.1Ssanjaylcom* at mainbus? 2071.4Suwe#options COM_DEBUG 208