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