MIPSSIM revision 1.1
11.1Ssimonb# $NetBSD: MIPSSIM,v 1.1 2021/01/27 05:24:16 simonb Exp $
21.1Ssimonb#
31.1Ssimonb# Kernel config for the QEMU MIPS "mipssim" simulator
41.1Ssimonb
51.1Ssimonbinclude 	"arch/evbmips/conf/std.mipssim"
61.1Ssimonb
71.1Ssimonb#ident 		"GENERIC-$Revision: 1.1 $"
81.1Ssimonb
91.1Ssimonbmaxusers	32
101.1Ssimonb
111.1Ssimonboptions 	MIPS32
121.1Ssimonboptions 	MIPS32R2
131.1Ssimonboptions 	NOFPU		# No FPU
141.1Ssimonboptions 	FPEMUL		# emulate FPU insn
151.1Ssimonboptions 	HZ=512		# for profiling
161.1Ssimonb
171.1Ssimonb#options 	LOCKDEBUG
181.1Ssimonboptions 	SOSEND_COUNTERS
191.1Ssimonboptions 	INET_CSUM_COUNTERS
201.1Ssimonboptions 	TCP_CSUM_COUNTERS
211.1Ssimonboptions 	UDP_CSUM_COUNTERS
221.1Ssimonboptions 	TCP_OUTPUT_COUNTERS
231.1Ssimonb
241.1Ssimonb#options 	NTP		# network time protocol
251.1Ssimonb
261.1Ssimonb# Debugging options
271.1Ssimonboptions 	DIAGNOSTIC	# extra kernel sanity checking
281.1Ssimonboptions 	DEBUG		# extra kernel debugging support
291.1Ssimonboptions 	DDB		# kernel dynamic debugger
301.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
311.1Ssimonbmakeoptions 	DEBUG="-g"	# compile full symbol table
321.1Ssimonbmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
331.1Ssimonb
341.1Ssimonbpseudo-device	md				# memory disk device
351.1Ssimonboptions 	MEMORY_DISK_HOOKS
361.1Ssimonboptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
371.1Ssimonboptions 	MEMORY_DISK_ROOT_SIZE=32768	# size of memory disk, in blocks
381.1Ssimonb
391.1Ssimonb# Compatibility options
401.1Ssimonbinclude         "conf/compat_netbsd50.config"
411.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
421.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
431.1Ssimonb
441.1Ssimonb# File systems
451.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
461.1Ssimonb#file-system	MFS		# memory-based filesystem
471.1Ssimonb#file-system 	EXT2FS		# second extended file system (linux)
481.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
491.1Ssimonb#file-system	KERNFS		# kernel data-structure filesystem
501.1Ssimonb#file-system	NULLFS		# NULL layered filesystem
511.1Ssimonb#file-system 	OVERLAY		# overlay file system
521.1Ssimonb#file-system	FDESC		# user file descriptor filesystem
531.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
541.1Ssimonb#file-system	LFS		# Log-based filesystem (still experimental)
551.1Ssimonb#file-system	PROCFS		# /proc
561.1Ssimonb#file-system	CD9660		# ISO 9660 + Rock Ridge file system
571.1Ssimonb#file-system	UNION		# union file system
581.1Ssimonb#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
591.1Ssimonb#file-system 	CODA		# Coda File System; also needs vcoda (below)
601.1Ssimonbfile-system	PTYFS		# /dev/pts/N support
611.1Ssimonb
621.1Ssimonb# File system options
631.1Ssimonb#options 	NFSSERVER	# Sun NFS-compatible filesystem server
641.1Ssimonb#options 	QUOTA		# legacy UFS quotas
651.1Ssimonb#options 	QUOTA2		# new, in-filesystem UFS quotas
661.1Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
671.1Ssimonb#options 	FFS_EI		# FFS Endian Independent support
681.1Ssimonb#options 	WAPBL		# File system journaling support
691.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
701.1Ssimonb				# immutable) behave as system flags.
711.1Ssimonb
721.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high
731.1Ssimonb# disk I/O load.
741.1Ssimonb#options 	BUFQ_READPRIO
751.1Ssimonb#options 	BUFQ_PRIOCSCAN
761.1Ssimonb
771.1Ssimonb# Networking options
781.1Ssimonb#options 	GATEWAY		# IP packet forwarding
791.1Ssimonboptions 	INET		# Internet protocols
801.1Ssimonb#options 	INET6		# IPV6
811.1Ssimonb#options 	IPSEC		# IP security
821.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
831.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
841.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
851.1Ssimonb#options 	PIM		# Protocol Independent Multicast
861.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
871.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
881.1Ssimonb#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
891.1Ssimonb
901.1Ssimonb# JIT compiler for bpfilter
911.1Ssimonb#options	SLJIT
921.1Ssimonb#options	BPFJIT
931.1Ssimonb
941.1Ssimonb# These options enable verbose messages for several subsystems.
951.1Ssimonb# Warning, these may compile large string tables into the kernel!
961.1Ssimonb#options 	MIIVERBOSE	# verbose PHY autoconfig messages
971.1Ssimonb
981.1Ssimonboptions 	NFS_BOOT_DHCP
991.1Ssimonb
1001.1Ssimonbconfig		netbsd		root on ? type ?
1011.1Ssimonb
1021.1Ssimonbmainbus0 	at root
1031.1Ssimonbcpu* 		at mainbus?
1041.1Ssimonbcom*		at mainbus?
1051.1Ssimonb# mipsnet*	at mainbus?
1061.1Ssimonb# options 	MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45"
1071.1Ssimonb
1081.1Ssimonb# Network pseudo-devices
1091.1Ssimonbpseudo-device	bpfilter			# Berkeley packet filter
1101.1Ssimonb#pseudo-device 	carp				# Common Address Redundancy Protocol
1111.1Ssimonbpseudo-device	loop				# network loopback
1121.1Ssimonb#pseudo-device	ppp				# Point-to-Point Protocol
1131.1Ssimonb#pseudo-device	sl				# Serial Line IP
1141.1Ssimonb#pseudo-device	tun				# network tunneling over tty
1151.1Ssimonb#pseudo-device	gre				# generic L3 over IP tunnel
1161.1Ssimonb#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1171.1Ssimonb#pseudo-device	gif				# RFC1933 tunnel
1181.1Ssimonb#pseudo-device	faith				# IPv[46] tcp relay translation
1191.1Ssimonb# Miscellaneous pseudo-devices
1201.1Ssimonbpseudo-device	pty				# pseudo-terminals
1211.1Ssimonb#pseudo-device	sequencer			# MIDI sequencer
1221.1Ssimonb
1231.1Ssimonb# A pseudo device needed for Coda		# also needs CODA (above)
1241.1Ssimonb#pseudo-device	vcoda				# coda minicache <-> venus comm.
1251.1Ssimonbpseudo-device	clockctl			# user control of clock subsystem
1261.1Ssimonbpseudo-device	ksyms				# /dev/ksyms
1271.1Ssimonb
1281.1Ssimonbinclude "dev/veriexec.config"
129