1 1.1 sanjayl # machine description file for the MAMBO simulator from IBM 2 1.1 sanjayl # Author Sanjay Lal <sanjayl (a] kymasys.com> 3 1.1 sanjayl 4 1.1 sanjayl 5 1.26 mrg include "arch/macppc/conf/std.macppc.g5" 6 1.1 sanjayl 7 1.1 sanjayl options INCLUDE_CONFIG_FILE # embed config file in kernel binary 8 1.1 sanjayl 9 1.38 jakllsch #ident "GENERIC-$Revision: 1.38 $" 10 1.1 sanjayl 11 1.1 sanjayl maxusers 32 12 1.1 sanjayl 13 1.1 sanjayl options ALTIVEC # Include AltiVec support 14 1.1 sanjayl 15 1.1 sanjayl # Standard system options 16 1.1 sanjayl options INSECURE # disable kernel security levels 17 1.1 sanjayl 18 1.1 sanjayl options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 19 1.1 sanjayl options NTP # NTP phase/frequency locked loop 20 1.1 sanjayl options KTRACE # system call tracing via ktrace(1) 21 1.1 sanjayl 22 1.1 sanjayl options SYSVMSG # System V message queues 23 1.1 sanjayl options SYSVSEM # System V semaphores 24 1.1 sanjayl #options SEMMNI=10 # number of semaphore identifiers 25 1.1 sanjayl #options SEMMNS=60 # number of semaphores in system 26 1.1 sanjayl #options SEMUME=10 # max number of undo entries per process 27 1.1 sanjayl #options SEMMNU=30 # number of undo structures in system 28 1.1 sanjayl options SYSVSHM # System V shared memory 29 1.1 sanjayl 30 1.1 sanjayl options USERCONF # userconf(4) support 31 1.1 sanjayl #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 32 1.1 sanjayl options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 33 1.1 sanjayl 34 1.27 sevan # Alternate buffer queue strategies for better responsiveness under high 35 1.27 sevan # disk I/O load. 36 1.29 sevan #options BUFQ_READPRIO 37 1.29 sevan options BUFQ_PRIOCSCAN 38 1.1 sanjayl 39 1.1 sanjayl # Diagnostic/debugging support options 40 1.1 sanjayl options DIAGNOSTIC # cheap kernel consistency checks 41 1.1 sanjayl options DEBUG # expensive debugging checks/support 42 1.1 sanjayl options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 43 1.1 sanjayl options DDB # in-kernel debugger 44 1.1 sanjayl #options DDB_ONPANIC=0 # don't go into ddb on panic. 45 1.1 sanjayl options DDB_HISTORY_SIZE=512 # enable history editing in DDB 46 1.1 sanjayl #options TRAP_PANICWAIT 47 1.1 sanjayl 48 1.1 sanjayl makeoptions DEBUG="-g" # compile full symbol table 49 1.1 sanjayl 50 1.1 sanjayl # Compatibility options 51 1.26 mrg include "conf/compat_netbsd09.config" 52 1.1 sanjayl 53 1.1 sanjayl #options COMPAT_386BSD_MBRPART # recognize old partition ID 54 1.1 sanjayl 55 1.1 sanjayl # File systems 56 1.1 sanjayl file-system FFS # UFS 57 1.1 sanjayl file-system MFS # memory file system 58 1.1 sanjayl file-system KERNFS # /kern 59 1.1 sanjayl file-system NULLFS # loopback file system 60 1.1 sanjayl file-system PROCFS # /proc 61 1.1 sanjayl file-system OVERLAY # overlay file system 62 1.1 sanjayl file-system UMAPFS # NULLFS + uid and gid remapping 63 1.1 sanjayl file-system UNION # union file system 64 1.1 sanjayl 65 1.1 sanjayl 66 1.1 sanjayl # File system options 67 1.35 simonb #options FFS_EI # FFS Endian Independent support 68 1.35 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 69 1.12 bouyer options QUOTA # legacy UFS quotas 70 1.12 bouyer options QUOTA2 # new, in-filesystem UFS quotas 71 1.35 simonb #options UFS_DIRHASH # UFS Large Directory Hashing 72 1.23 manu options UFS_EXTATTR # Extended attribute support for UFS1 73 1.1 sanjayl 74 1.1 sanjayl # Networking options 75 1.1 sanjayl #options GATEWAY # packet forwarding 76 1.1 sanjayl options INET # IP + ICMP + TCP + UDP 77 1.1 sanjayl 78 1.1 sanjayl # These options enable verbose messages for several subsystems. 79 1.1 sanjayl # Warning, these may compile large string tables into the kernel! 80 1.1 sanjayl options PCIVERBOSE # verbose PCI device autoconfig messages 81 1.1 sanjayl options MIIVERBOSE # verbose PHY autoconfig messages 82 1.1 sanjayl #options PCI_CONFIG_DUMP # verbosely dump PCI config space 83 1.1 sanjayl 84 1.1 sanjayl # wscons options 85 1.1 sanjayl #options WSEMUL_SUN # sun terminal emulation 86 1.1 sanjayl options WSEMUL_VT100 # VT100 / VT220 emulation 87 1.17 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 88 1.1 sanjayl #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 89 1.37 jakllsch options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8) 90 1.38 jakllsch options WSDISPLAY_SCROLLSUPPORT 91 1.1 sanjayl options FONT_GALLANT12x22 92 1.1 sanjayl 93 1.1 sanjayl # Optional Mac keyboard tweaks 94 1.1 sanjayl 95 1.1 sanjayl # Tweak the keyboard driver to treat the caps lock key on an ADB 96 1.1 sanjayl # keyboard as a control key; requires special remapping because of 97 1.1 sanjayl # ADB's strange emulation of a mechanically-locked key. 98 1.4 uwe #options CAPS_IS_CONTROL 99 1.1 sanjayl 100 1.1 sanjayl # On Mac laptops, several function keys double as "hot keys" 101 1.1 sanjayl # (brightness, volume, eject) when the Fn modifier is held down. Mac 102 1.1 sanjayl # OS X likes to reprogram the keyboard controller to send hot key 103 1.1 sanjayl # events when Fn is not held down and send function key events when it 104 1.1 sanjayl # is. This option transforms the non-keyboard "button" events back 105 1.1 sanjayl # into function key events. 106 1.4 uwe #options FORCE_FUNCTION_KEYS 107 1.1 sanjayl 108 1.1 sanjayl # Kernel root file system and dump configuration. 109 1.1 sanjayl config netbsd root on ? type ? 110 1.1 sanjayl 111 1.1 sanjayl # 112 1.1 sanjayl # Device configuration 113 1.1 sanjayl # 114 1.1 sanjayl 115 1.1 sanjayl mainbus* at root 116 1.1 sanjayl 117 1.1 sanjayl cpu* at mainbus? 118 1.1 sanjayl bandit* at mainbus? 119 1.1 sanjayl grackle* at mainbus? 120 1.1 sanjayl uninorth* at mainbus? 121 1.1 sanjayl ibmcpc* at mainbus? 122 1.1 sanjayl 123 1.1 sanjayl pci* at bandit? bus ? 124 1.1 sanjayl pci* at grackle? bus ? 125 1.1 sanjayl pci* at uninorth? bus ? 126 1.1 sanjayl pci* at ibmcpc? bus ? 127 1.1 sanjayl pci* at ppb? bus ? 128 1.1 sanjayl 129 1.1 sanjayl pchb* at pci? dev ? function ? # PCI-Host bridges 130 1.1 sanjayl ppb* at pci? dev ? function ? # PCI-PCI bridges 131 1.1 sanjayl 132 1.1 sanjayl # Other PCI devices 133 1.1 sanjayl #ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 134 1.1 sanjayl pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 135 1.1 sanjayl obio* at pci? dev ? function ? 136 1.1 sanjayl 137 1.1 sanjayl # PCI serial interfaces 138 1.1 sanjayl nvram* at obio? # nvram 139 1.1 sanjayl #awacs* at obio? # Apple audio device 140 1.1 sanjayl #ki2c* at obio? # Keywest I2C 141 1.1 sanjayl wi* at obio? # AirMac 142 1.1 sanjayl #snapper* at obio? # Snapper audio device 143 1.1 sanjayl 144 1.1 sanjayl #wsdisplay0 at ofb? console ? 145 1.1 sanjayl 146 1.1 sanjayl # Cryptographic Devices 147 1.1 sanjayl 148 1.1 sanjayl # PCI cryptographic devices 149 1.1 sanjayl # (disabled, requires opencrypto framework which requires generic softints 150 1.1 sanjayl #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 151 1.1 sanjayl #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 152 1.1 sanjayl 153 1.1 sanjayl 154 1.1 sanjayl wdc* at obio? flags 0x1 155 1.1 sanjayl atabus* at ata? 156 1.1 sanjayl wd* at atabus? drive ? flags 0x0000 157 1.1 sanjayl 158 1.1 sanjayl atapibus* at atapi? 159 1.1 sanjayl 160 1.1 sanjayl cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 161 1.1 sanjayl sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 162 1.1 sanjayl uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 163 1.1 sanjayl 164 1.1 sanjayl 165 1.1 sanjayl #pseudo-device crypto # opencrypto framework 166 1.1 sanjayl # (disabled, requires generic softints) 167 1.18 christos pseudo-device vnd # disk-like interface to files 168 1.10 hannken pseudo-device md # memory disk device 169 1.1 sanjayl pseudo-device loop # network loopback 170 1.1 sanjayl pseudo-device pty # pseudo-terminals 171 1.1 sanjayl pseudo-device openfirm # /dev/openfirm 172 1.1 sanjayl pseudo-device wsmux # mouse and keyboard multiplexor 173 1.1 sanjayl pseudo-device clockctl # user control of clock subsystem 174 1.33 isaki pseudo-device drvctl # user control of drive subsystem 175 1.1 sanjayl pseudo-device ksyms # /dev/ksyms 176 1.32 maxv #pseudo-device npf # NPF packet filter 177 1.1 sanjayl 178 1.1 sanjayl # Enable the hooks used for initializing the ram-disk. 179 1.1 sanjayl options MEMORY_DISK_HOOKS 180 1.1 sanjayl options MEMORY_DISK_IS_ROOT # Force root on ram-disk 181 1.21 martin options MEMORY_DISK_ROOT_SIZE=4496 # 2248 KiB 182 1.8 jym options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 183 1.8 jym 184 1.4 uwe options MAMBO 185 1.1 sanjayl 186 1.1 sanjayl # For Mambo console 187 1.1 sanjayl com* at mainbus? 188 1.4 uwe #options COM_DEBUG 189