MIPSSIM revision 1.2
1# $NetBSD: MIPSSIM,v 1.2 2021/02/08 00:47:53 simonb Exp $
2#
3# Kernel config for the QEMU MIPS "mipssim" simulator
4
5include 	"arch/evbmips/conf/std.mipssim"
6
7#ident 		"GENERIC-$Revision: 1.2 $"
8
9maxusers	32
10
11options 	MIPS32
12options 	MIPS32R2
13options 	NOFPU		# No FPU
14options 	FPEMUL		# emulate FPU insn
15#options 	HZ=512		# for profiling
16
17#options 	LOCKDEBUG
18options 	SOSEND_COUNTERS
19options 	INET_CSUM_COUNTERS
20options 	TCP_CSUM_COUNTERS
21options 	UDP_CSUM_COUNTERS
22options 	TCP_OUTPUT_COUNTERS
23
24#options 	NTP		# network time protocol
25
26# Debugging options
27options 	DIAGNOSTIC	# extra kernel sanity checking
28options 	DEBUG		# extra kernel debugging support
29options 	DDB		# kernel dynamic debugger
30options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
31makeoptions 	DEBUG="-g"	# compile full symbol table
32makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
33
34pseudo-device	md				# memory disk device
35options 	MEMORY_DISK_HOOKS
36options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
37options 	MEMORY_DISK_ROOT_SIZE=32768	# size of memory disk, in blocks
38
39# Compatibility options
40include         "conf/compat_netbsd50.config"
41#options 	EXEC_ECOFF	# exec ECOFF binaries
42#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
43
44# File systems
45file-system	FFS		# Berkeley Fast Filesystem
46#file-system	MFS		# memory-based filesystem
47#file-system 	EXT2FS		# second extended file system (linux)
48file-system	NFS		# Sun NFS-compatible filesystem client
49#file-system	KERNFS		# kernel data-structure filesystem
50#file-system	NULLFS		# NULL layered filesystem
51#file-system 	OVERLAY		# overlay file system
52#file-system	FDESC		# user file descriptor filesystem
53#file-system	UMAPFS		# uid/gid remapping filesystem
54#file-system	LFS		# Log-based filesystem (still experimental)
55#file-system	PROCFS		# /proc
56#file-system	CD9660		# ISO 9660 + Rock Ridge file system
57#file-system	UNION		# union file system
58#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
59#file-system 	CODA		# Coda File System; also needs vcoda (below)
60file-system	PTYFS		# /dev/pts/N support
61
62# File system options
63#options 	NFSSERVER	# Sun NFS-compatible filesystem server
64#options 	QUOTA		# legacy UFS quotas
65#options 	QUOTA2		# new, in-filesystem UFS quotas
66#options 	DISKLABEL_EI	# disklabel Endian Independent support
67#options 	FFS_EI		# FFS Endian Independent support
68#options 	WAPBL		# File system journaling support
69#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70				# immutable) behave as system flags.
71
72# Alternate buffer queue strategies for better responsiveness under high
73# disk I/O load.
74#options 	BUFQ_READPRIO
75#options 	BUFQ_PRIOCSCAN
76
77# Networking options
78#options 	GATEWAY		# IP packet forwarding
79options 	INET		# Internet protocols
80#options 	INET6		# IPV6
81#options 	IPSEC		# IP security
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	MROUTING	# packet forwarding of multicast packets
84#options 	NETATALK	# AppleTalk (over Ethernet) protocol
85#options 	PIM		# Protocol Independent Multicast
86#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
87#options 	PPP_DEFLATE	# Deflate compression support for PPP
88#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
89
90# JIT compiler for bpfilter
91#options	SLJIT
92#options	BPFJIT
93
94# These options enable verbose messages for several subsystems.
95# Warning, these may compile large string tables into the kernel!
96#options 	MIIVERBOSE	# verbose PHY autoconfig messages
97
98options 	NFS_BOOT_DHCP
99
100config		netbsd		root on ? type ?
101
102mainbus0 	at root
103cpu* 		at mainbus?
104com*		at mainbus?
105# mipsnet*	at mainbus?
106# options 	MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45"
107
108# Network pseudo-devices
109pseudo-device	bpfilter			# Berkeley packet filter
110#pseudo-device 	carp				# Common Address Redundancy Protocol
111pseudo-device	loop				# network loopback
112#pseudo-device	ppp				# Point-to-Point Protocol
113#pseudo-device	sl				# Serial Line IP
114#pseudo-device	tun				# network tunneling over tty
115#pseudo-device	gre				# generic L3 over IP tunnel
116#pseudo-device	ipip				# RFC 2003 IP Encapsulation
117#pseudo-device	gif				# RFC1933 tunnel
118#pseudo-device	faith				# IPv[46] tcp relay translation
119# Miscellaneous pseudo-devices
120pseudo-device	pty				# pseudo-terminals
121#pseudo-device	sequencer			# MIDI sequencer
122
123# A pseudo device needed for Coda		# also needs CODA (above)
124#pseudo-device	vcoda				# coda minicache <-> venus comm.
125pseudo-device	clockctl			# user control of clock subsystem
126pseudo-device	ksyms				# /dev/ksyms
127
128include "dev/veriexec.config"
129