MIPSSIM revision 1.5
11.5Ssimonb# $NetBSD: MIPSSIM,v 1.5 2021/11/16 06:46:41 simonb Exp $ 21.1Ssimonb# 31.1Ssimonb# Kernel config for the QEMU MIPS "mipssim" simulator 41.3Sreinoud# 51.3Sreinoud# The QEMU virtio support is experimental and subject to change 61.3Sreinoud# and will likely be removed when qemu gains a MIPS "virt" target. 71.3Sreinoud# 81.1Ssimonb 91.1Ssimonbinclude "arch/evbmips/conf/std.mipssim" 101.1Ssimonb 111.5Ssimonb#ident "GENERIC-$Revision: 1.5 $" 121.1Ssimonb 131.1Ssimonbmaxusers 32 141.1Ssimonb 151.1Ssimonboptions MIPS32 161.1Ssimonboptions MIPS32R2 171.1Ssimonboptions NOFPU # No FPU 181.1Ssimonboptions FPEMUL # emulate FPU insn 191.5Ssimonboptions HZ=50 # half usual host speed 201.1Ssimonb 211.1Ssimonb#options LOCKDEBUG 221.1Ssimonboptions SOSEND_COUNTERS 231.1Ssimonboptions INET_CSUM_COUNTERS 241.1Ssimonboptions TCP_CSUM_COUNTERS 251.1Ssimonboptions UDP_CSUM_COUNTERS 261.1Ssimonboptions TCP_OUTPUT_COUNTERS 271.1Ssimonb 281.4Sniaoptions NTP # network time protocol 291.1Ssimonb 301.1Ssimonb# Debugging options 311.1Ssimonboptions DIAGNOSTIC # extra kernel sanity checking 321.1Ssimonboptions DEBUG # extra kernel debugging support 331.1Ssimonboptions DDB # kernel dynamic debugger 341.1Ssimonboptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 351.1Ssimonbmakeoptions DEBUG="-g" # compile full symbol table 361.1Ssimonbmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 371.1Ssimonb 381.1Ssimonbpseudo-device md # memory disk device 391.1Ssimonboptions MEMORY_DISK_HOOKS 401.1Ssimonboptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 411.1Ssimonboptions MEMORY_DISK_ROOT_SIZE=32768 # size of memory disk, in blocks 421.1Ssimonb 431.1Ssimonb# Compatibility options 441.1Ssimonbinclude "conf/compat_netbsd50.config" 451.1Ssimonb#options EXEC_ECOFF # exec ECOFF binaries 461.1Ssimonb#options COMPAT_ULTRIX # binary compatibility with Ultrix 471.1Ssimonb 481.4Sniaoptions SYSVMSG # System V-like message queues 491.4Sniaoptions SYSVSEM # System V-like semaphores 501.4Sniaoptions SYSVSHM # System V-like memory sharing 511.4Snia 521.1Ssimonb# File systems 531.1Ssimonbfile-system FFS # Berkeley Fast Filesystem 541.1Ssimonb#file-system MFS # memory-based filesystem 551.1Ssimonb#file-system EXT2FS # second extended file system (linux) 561.1Ssimonbfile-system NFS # Sun NFS-compatible filesystem client 571.4Sniafile-system KERNFS # kernel data-structure filesystem 581.4Sniafile-system NULLFS # NULL layered filesystem 591.4Sniafile-system OVERLAY # overlay file system 601.4Sniafile-system FDESC # user file descriptor filesystem 611.1Ssimonb#file-system UMAPFS # uid/gid remapping filesystem 621.1Ssimonb#file-system LFS # Log-based filesystem (still experimental) 631.4Sniafile-system PROCFS # /proc 641.1Ssimonb#file-system CD9660 # ISO 9660 + Rock Ridge file system 651.4Sniafile-system UNION # union file system 661.1Ssimonb#file-system MSDOSFS # MS-DOS FAT filesystem(s). 671.1Ssimonb#file-system CODA # Coda File System; also needs vcoda (below) 681.1Ssimonbfile-system PTYFS # /dev/pts/N support 691.4Sniafile-system MFS # memory-based filesystem 701.4Sniafile-system TMPFS # Efficient memory file-system 711.1Ssimonb 721.1Ssimonb# File system options 731.1Ssimonb#options NFSSERVER # Sun NFS-compatible filesystem server 741.1Ssimonb#options QUOTA # legacy UFS quotas 751.1Ssimonb#options QUOTA2 # new, in-filesystem UFS quotas 761.3Sreinoudoptions DISKLABEL_EI # disklabel Endian Independent support 771.3Sreinoudoptions FFS_EI # FFS Endian Independent support 781.4Sniaoptions WAPBL # File system journaling support 791.1Ssimonb#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 801.1Ssimonb # immutable) behave as system flags. 811.1Ssimonb 821.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high 831.1Ssimonb# disk I/O load. 841.1Ssimonb#options BUFQ_READPRIO 851.1Ssimonb#options BUFQ_PRIOCSCAN 861.1Ssimonb 871.1Ssimonb# Networking options 881.1Ssimonb#options GATEWAY # IP packet forwarding 891.1Ssimonboptions INET # Internet protocols 901.4Sniaoptions INET6 # IPV6 911.1Ssimonb#options IPSEC # IP security 921.1Ssimonb#options IPSEC_DEBUG # debug for IP security 931.1Ssimonb#options MROUTING # packet forwarding of multicast packets 941.1Ssimonb#options NETATALK # AppleTalk (over Ethernet) protocol 951.1Ssimonb#options PIM # Protocol Independent Multicast 961.1Ssimonb#options PPP_BSDCOMP # BSD-Compress compression support for PPP 971.1Ssimonb#options PPP_DEFLATE # Deflate compression support for PPP 981.1Ssimonb#options PPP_FILTER # Active filter support for PPP (requires bpf) 991.1Ssimonb 1001.1Ssimonb# JIT compiler for bpfilter 1011.1Ssimonb#options SLJIT 1021.1Ssimonb#options BPFJIT 1031.1Ssimonb 1041.1Ssimonb# These options enable verbose messages for several subsystems. 1051.1Ssimonb# Warning, these may compile large string tables into the kernel! 1061.1Ssimonb#options MIIVERBOSE # verbose PHY autoconfig messages 1071.1Ssimonb 1081.1Ssimonboptions NFS_BOOT_DHCP 1091.1Ssimonb 1101.1Ssimonbconfig netbsd root on ? type ? 1111.1Ssimonb 1121.1Ssimonbmainbus0 at root 1131.1Ssimonbcpu* at mainbus? 1141.1Ssimonbcom* at mainbus? 1151.1Ssimonb# mipsnet* at mainbus? 1161.1Ssimonb# options MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45" 1171.1Ssimonb 1181.3Sreinoud 1191.3Sreinoud# Virtio devices 1201.3Sreinoudvirtio* at mainbus? # Virtio PCI device 1211.3Sreinoud#viomb* at virtio? # Virtio memory balloon device 1221.3Sreinoudld* at virtio? # Virtio disk device 1231.3Sreinoudvioif* at virtio? # Virtio network device 1241.3Sreinoudviornd* at virtio? # Virtio entropy device 1251.3Sreinoudvioscsi* at virtio? # Virtio SCSI device 1261.3Sreinoud#vio9p* at virtio? # Virtio 9P device 1271.3Sreinoud 1281.3Sreinoud# SCSI bus support 1291.3Sreinoudscsibus* at scsi? 1301.3Sreinoud 1311.3Sreinoud# SCSI devices 1321.3Sreinoudsd* at scsibus? target ? lun ? # SCSI disk drives 1331.3Sreinoud#st* at scsibus? target ? lun ? # SCSI tape drives 1341.3Sreinoudcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1351.3Sreinoud#ch* at scsibus? target ? lun ? # SCSI autochangers 1361.3Sreinoud#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 1371.3Sreinoud#ss* at scsibus? target ? lun ? # SCSI scanners 1381.3Sreinoud#uk* at scsibus? target ? lun ? # SCSI unknown 1391.3Sreinoud 1401.3Sreinoud 1411.1Ssimonb# Network pseudo-devices 1421.1Ssimonbpseudo-device bpfilter # Berkeley packet filter 1431.1Ssimonb#pseudo-device carp # Common Address Redundancy Protocol 1441.1Ssimonbpseudo-device loop # network loopback 1451.1Ssimonb#pseudo-device ppp # Point-to-Point Protocol 1461.1Ssimonb#pseudo-device sl # Serial Line IP 1471.1Ssimonb#pseudo-device tun # network tunneling over tty 1481.1Ssimonb#pseudo-device gre # generic L3 over IP tunnel 1491.1Ssimonb#pseudo-device ipip # RFC 2003 IP Encapsulation 1501.1Ssimonb#pseudo-device gif # RFC1933 tunnel 1511.1Ssimonb#pseudo-device faith # IPv[46] tcp relay translation 1521.1Ssimonb# Miscellaneous pseudo-devices 1531.1Ssimonbpseudo-device pty # pseudo-terminals 1541.1Ssimonb#pseudo-device sequencer # MIDI sequencer 1551.1Ssimonb 1561.1Ssimonb# A pseudo device needed for Coda # also needs CODA (above) 1571.1Ssimonb#pseudo-device vcoda # coda minicache <-> venus comm. 1581.1Ssimonbpseudo-device clockctl # user control of clock subsystem 1591.1Ssimonbpseudo-device ksyms # /dev/ksyms 1601.1Ssimonb 1611.1Ssimonbinclude "dev/veriexec.config" 162