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