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