MAMBO revision 1.37
11.53.4.3Sgarbled# machine description file for the MAMBO simulator from IBM
21.1Sfvdl# Author Sanjay Lal <sanjayl@kymasys.com>
31.1Sfvdl 
41.49Sad
51.49Sadinclude 	"arch/macppc/conf/std.macppc.g5"
61.1Sfvdl
71.1Sfvdloptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.1Sfvdl
91.1Sfvdl#ident 		"GENERIC-$Revision: 1.37 $"
101.1Sfvdl
111.1Sfvdlmaxusers	32
121.1Sfvdl
131.1Sfvdloptions 	ALTIVEC		# Include AltiVec support
141.1Sfvdl
151.1Sfvdl# Standard system options
161.1Sfvdloptions 	INSECURE	# disable kernel security levels
171.1Sfvdl
181.1Sfvdloptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
191.1Sfvdloptions 	NTP		# NTP phase/frequency locked loop
201.1Sfvdloptions 	KTRACE		# system call tracing via ktrace(1)
211.1Sfvdl
221.1Sfvdloptions 	SYSVMSG		# System V message queues
231.1Sfvdloptions 	SYSVSEM		# System V semaphores
241.1Sfvdl#options 	SEMMNI=10	# number of semaphore identifiers
251.1Sfvdl#options 	SEMMNS=60	# number of semaphores in system
261.1Sfvdl#options 	SEMUME=10	# max number of undo entries per process
271.1Sfvdl#options 	SEMMNU=30	# number of undo structures in system
281.1Sfvdloptions 	SYSVSHM		# System V shared memory
291.1Sfvdl
301.1Sfvdloptions 	USERCONF	# userconf(4) support
311.1Sfvdl#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
321.1Sfvdloptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Sfvdl
341.1Sfvdl# Alternate buffer queue strategies for better responsiveness under high
351.1Sfvdl# disk I/O load.
361.1Sfvdl#options 	BUFQ_READPRIO
371.1Sfvdloptions 	BUFQ_PRIOCSCAN
381.1Sfvdl
391.1Sfvdl# Diagnostic/debugging support options
401.1Sfvdloptions 	DIAGNOSTIC	# cheap kernel consistency checks
411.1Sfvdloptions 	DEBUG		# expensive debugging checks/support
421.1Sfvdloptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
431.1Sfvdloptions 	DDB		# in-kernel debugger
441.1Sfvdl#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
451.1Sfvdloptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
461.1Sfvdl#options 	TRAP_PANICWAIT
471.1Sfvdl
481.1Sfvdlmakeoptions 	DEBUG="-g"	# compile full symbol table
491.1Sfvdl
501.1Sfvdl# Compatibility options
511.1Sfvdlinclude 	"conf/compat_netbsd09.config"
521.1Sfvdl
531.1Sfvdl#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
541.1Sfvdl
551.1Sfvdl# File systems
561.6Sagcfile-system 	FFS		# UFS
571.1Sfvdlfile-system 	MFS		# memory file system
581.1Sfvdlfile-system 	KERNFS		# /kern
591.1Sfvdlfile-system 	NULLFS		# loopback file system
601.1Sfvdlfile-system 	PROCFS		# /proc
611.1Sfvdlfile-system 	OVERLAY		# overlay file system
621.1Sfvdlfile-system 	UMAPFS		# NULLFS + uid and gid remapping
631.1Sfvdlfile-system 	UNION		# union file system
641.1Sfvdl
651.1Sfvdl
661.1Sfvdl# File system options
671.1Sfvdl#options 	FFS_EI		# FFS Endian Independent support
681.1Sfvdl#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
691.1Sfvdloptions 	QUOTA		# legacy UFS quotas
701.1Sfvdloptions 	QUOTA2		# new, in-filesystem UFS quotas
711.1Sfvdl#options 	UFS_DIRHASH	# UFS Large Directory Hashing
721.1Sfvdloptions 	UFS_EXTATTR	# Extended attribute support for UFS1
731.1Sfvdl
741.5Slukem# Networking options
751.5Slukem#options 	GATEWAY		# packet forwarding
761.53.4.3Sgarbledoptions 	INET		# IP + ICMP + TCP + UDP
771.1Sfvdl
781.4Smartin# These options enable verbose messages for several subsystems.
791.1Sfvdl# Warning, these may compile large string tables into the kernel!
801.1Sfvdloptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
811.1Sfvdloptions 	MIIVERBOSE	# verbose PHY autoconfig messages
821.22Sdrochner#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
831.22Sdrochner
841.1Sfvdl# wscons options
851.1Sfvdl#options 	WSEMUL_SUN			# sun terminal emulation
861.47Sadoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
871.1Sfvdloptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
881.1Sfvdl#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
891.1Sfvdloptions 	WSDISPLAY_CUSTOM_OUTPUT		# color customization from wsconsctl(8)
901.1Sfvdloptions 	FONT_GALLANT12x22
911.1Sfvdl
921.1Sfvdl# Optional Mac keyboard tweaks
931.1Sfvdl
941.1Sfvdl# Tweak the keyboard driver to treat the caps lock key on an ADB
951.53.4.1Smatt# keyboard as a control key; requires special remapping because of
961.1Sfvdl# ADB's strange emulation of a mechanically-locked key.
971.1Sfvdl#options 	CAPS_IS_CONTROL
981.1Sfvdl
991.1Sfvdl# On Mac laptops, several function keys double as "hot keys"
1001.1Sfvdl# (brightness, volume, eject) when the Fn modifier is held down.  Mac
1011.1Sfvdl# OS X likes to reprogram the keyboard controller to send hot key
1021.1Sfvdl# events when Fn is not held down and send function key events when it
1031.1Sfvdl# is.  This option transforms the non-keyboard "button" events back
1041.1Sfvdl# into function key events.
1051.1Sfvdl#options 	FORCE_FUNCTION_KEYS
1061.1Sfvdl
1071.1Sfvdl# Kernel root file system and dump configuration.
1081.1Sfvdlconfig		netbsd	root on ? type ?
1091.1Sfvdl
1101.1Sfvdl#
1111.1Sfvdl# Device configuration
1121.1Sfvdl#
1131.1Sfvdl
1141.1Sfvdlmainbus* at root
1151.1Sfvdl
1161.1Sfvdlcpu*	at mainbus?
1171.1Sfvdlbandit*	at mainbus?
1181.1Sfvdlgrackle* at mainbus?
1191.1Sfvdluninorth* at mainbus?
1201.1Sfvdlibmcpc* at mainbus?
1211.1Sfvdl
1221.1Sfvdlpci*	at bandit? bus ?
1231.1Sfvdlpci*	at grackle? bus ?
1241.1Sfvdlpci*	at uninorth? bus ?
1251.1Sfvdlpci*	at ibmcpc? bus ?
1261.1Sfvdlpci*	at ppb? bus ?
1271.53.4.1Smatt
1281.1Sfvdlpchb*	at pci? dev ? function ?	# PCI-Host bridges
1291.1Sfvdlppb*	at pci? dev ? function ?	# PCI-PCI bridges
1301.1Sfvdl
1311.1Sfvdl# Other  PCI devices
1321.1Sfvdl#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
1331.1Sfvdlpciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1341.1Sfvdlobio*	at pci? dev ? function ?
1351.1Sfvdl
1361.53Sxtraeme# PCI serial interfaces
1371.39Skardelnvram*	at obio?			# nvram
1381.1Sfvdl#awacs*	at obio?			# Apple audio device
1391.1Sfvdl#ki2c*	at obio?			# Keywest I2C
1401.1Sfvdlwi*	at obio?			# AirMac
1411.1Sfvdl#snapper* at obio?			# Snapper audio device
1421.1Sfvdl
1431.1Sfvdl#wsdisplay0 at ofb? console ?
1441.1Sfvdl
1451.1Sfvdl# Cryptographic Devices
1461.1Sfvdl
1471.1Sfvdl# PCI cryptographic devices
1481.26Stoshii# (disabled, requires opencrypto framework which requires generic softints
1491.26Stoshii#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
1501.26Stoshii#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
1511.26Stoshii
1521.26Stoshii
1531.26Stoshiiwdc*	at obio? flags 0x1
1541.26Stoshiiatabus* at ata?
1551.26Stoshiiwd*	at atabus? drive ? flags 0x0000
1561.1Sfvdl
1571.1Sfvdlatapibus* at atapi?
1581.1Sfvdl
1591.1Sfvdlcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1601.1Sfvdlsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1611.20Swizuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1621.1Sfvdl
1631.1Sfvdl
1641.1Sfvdl#pseudo-device 	crypto			# opencrypto framework
1651.1Sfvdl					# (disabled, requires generic softints)
1661.1Sfvdlpseudo-device	vnd			# disk-like interface to files
1671.1Sfvdlpseudo-device	md			# memory disk device
1681.31Sthorpejpseudo-device	loop			# network loopback
1691.31Sthorpejpseudo-device	pty			# pseudo-terminals
1701.1Sfvdlpseudo-device	openfirm		# /dev/openfirm
1711.1Sfvdlpseudo-device	wsmux			# mouse and keyboard multiplexor
1721.1Sfvdlpseudo-device	clockctl		# user control of clock subsystem
1731.1Sfvdlpseudo-device	drvctl			# user control of drive subsystem
1741.1Sfvdlpseudo-device	ksyms			# /dev/ksyms
1751.1Sfvdl#pseudo-device	npf			# NPF packet filter
1761.1Sfvdl
1771.1Sfvdl# Enable the hooks used for initializing the ram-disk.
1781.1Sfvdloptions 	MEMORY_DISK_HOOKS
1791.1Sfvdloptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
1801.1Sfvdloptions 	MEMORY_DISK_ROOT_SIZE=4496	# 2248 KiB
1811.1Sfvdloptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
1821.1Sfvdl
1831.1Sfvdloptions 	MAMBO
1841.1Sfvdl
1851.1Sfvdl# For Mambo console
1861.1Sfvdlcom* at mainbus?
1871.1Sfvdl#options 	COM_DEBUG
1881.1Sfvdl