summaryrefslogtreecommitdiff
path: root/sys/arch/evbmips/conf/MIPSSIM
blob: 3300c15b8cb06a33fa22ed8a7cebb41135b0fa7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# $NetBSD: MIPSSIM,v 1.8 2022/11/27 14:54:25 he Exp $
#
# Kernel config for the QEMU MIPS "mipssim" simulator
#
# The QEMU virtio support is experimental and subject to change
# and will likely be removed when qemu gains a MIPS "virt" target.
#

include 	"arch/evbmips/conf/std.mipssim"

#ident 		"GENERIC-$Revision: 1.8 $"

maxusers	32

options 	MIPS32
options 	MIPS32R2
options 	NOFPU		# No FPU
options 	FPEMUL		# emulate FPU insn
options 	HZ=50		# half usual host speed

#options 	LOCKDEBUG
options 	SOSEND_COUNTERS
options 	INET_CSUM_COUNTERS
options 	TCP_CSUM_COUNTERS
options 	UDP_CSUM_COUNTERS
options 	TCP_OUTPUT_COUNTERS

options 	MSGBUFSIZE=32768 # need a bit more than 4K for virtio qemu

options 	NTP		# network time protocol

# Debugging options
options 	DIAGNOSTIC	# extra kernel sanity checking
options 	DEBUG		# extra kernel debugging support
options 	DDB		# kernel dynamic debugger
options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
makeoptions 	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1	# size for embedded symbol table

pseudo-device	md				# memory disk device
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
options 	MEMORY_DISK_ROOT_SIZE=32768	# size of memory disk, in blocks

# Compatibility options
include         "conf/compat_netbsd50.config"
#options 	EXEC_ECOFF	# exec ECOFF binaries
#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# File systems
file-system	FFS		# Berkeley Fast Filesystem
#file-system	MFS		# memory-based filesystem
#file-system 	EXT2FS		# second extended file system (linux)
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	KERNFS		# kernel data-structure filesystem
file-system	NULLFS		# NULL layered filesystem
file-system 	OVERLAY		# overlay file system
file-system	FDESC		# user file descriptor filesystem
#file-system	UMAPFS		# uid/gid remapping filesystem
#file-system	LFS		# Log-based filesystem (still experimental)
file-system	PROCFS		# /proc
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	UNION		# union file system
#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
#file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/pts/N support
file-system	MFS		# memory-based filesystem
file-system	TMPFS		# Efficient memory file-system

# File system options
options 	FFS_EI		# FFS Endian Independent support
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	NFSSERVER	# Network File System server

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Networking options
#options 	GATEWAY		# IP packet forwarding
options 	INET		# Internet protocols
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# packet forwarding of multicast packets
#options 	NETATALK	# AppleTalk (over Ethernet) protocol
#options 	PIM		# Protocol Independent Multicast
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)

# JIT compiler for bpfilter
#options	SLJIT
#options	BPFJIT

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	MIIVERBOSE	# verbose PHY autoconfig messages

options 	NFS_BOOT_DHCP

config		netbsd		root on ? type ?

mainbus0 	at root
cpu* 		at mainbus?
com*		at mainbus?
# mipsnet*	at mainbus?
# options 	MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45"


# Virtio devices
virtio*		at mainbus?		# Virtio PCI device
#viomb*		at virtio?		# Virtio memory balloon device
ld*		at virtio?		# Virtio disk device
vioif*		at virtio?		# Virtio network device
viornd*		at virtio?		# Virtio entropy device
vioscsi*	at virtio?		# Virtio SCSI device
#vio9p*		at virtio?		# Virtio 9P device

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI autochangers
#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
#ss*	at scsibus? target ? lun ?	# SCSI scanners
#uk*	at scsibus? target ? lun ?	# SCSI unknown


# Network pseudo-devices
pseudo-device	bpfilter			# Berkeley packet filter
#pseudo-device 	carp				# Common Address Redundancy Protocol
pseudo-device	loop				# network loopback
#pseudo-device	ppp				# Point-to-Point Protocol
#pseudo-device	sl				# Serial Line IP
#pseudo-device	tun				# network tunneling over tty
#pseudo-device	gre				# generic L3 over IP tunnel
#pseudo-device	ipip				# RFC 2003 IP Encapsulation
#pseudo-device	gif				# RFC1933 tunnel
#pseudo-device	faith				# IPv[46] tcp relay translation
# Miscellaneous pseudo-devices
pseudo-device	pty				# pseudo-terminals
#pseudo-device	sequencer			# MIDI sequencer

# A pseudo device needed for Coda		# also needs CODA (above)
#pseudo-device	vcoda				# coda minicache <-> venus comm.
pseudo-device	clockctl			# user control of clock subsystem
pseudo-device	ksyms				# /dev/ksyms

include "dev/veriexec.config"