MIPSSIM revision 1.6
11.6Ssimonb# $NetBSD: MIPSSIM,v 1.6 2022/08/07 02:52:25 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.6Ssimonb#ident "GENERIC-$Revision: 1.6 $" 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.6Ssimonboptions FFS_EI # FFS Endian Independent support 741.1Ssimonb#options QUOTA # legacy UFS quotas 751.1Ssimonb#options QUOTA2 # new, in-filesystem UFS quotas 761.6Ssimonb#options UFS_DIRHASH # UFS Large Directory Hashing 771.6Ssimonb#options UFS_EXTATTR # Extended attribute support for UFS1 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.6Ssimonboptions DISKLABEL_EI # disklabel Endian Independent support 821.6Ssimonb#options NFSSERVER # Network File System server 831.1Ssimonb 841.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high 851.1Ssimonb# disk I/O load. 861.1Ssimonb#options BUFQ_READPRIO 871.1Ssimonb#options BUFQ_PRIOCSCAN 881.1Ssimonb 891.1Ssimonb# Networking options 901.1Ssimonb#options GATEWAY # IP packet forwarding 911.1Ssimonboptions INET # Internet protocols 921.4Sniaoptions INET6 # IPV6 931.1Ssimonb#options IPSEC # IP security 941.1Ssimonb#options IPSEC_DEBUG # debug for IP security 951.1Ssimonb#options MROUTING # packet forwarding of multicast packets 961.1Ssimonb#options NETATALK # AppleTalk (over Ethernet) protocol 971.1Ssimonb#options PIM # Protocol Independent Multicast 981.1Ssimonb#options PPP_BSDCOMP # BSD-Compress compression support for PPP 991.1Ssimonb#options PPP_DEFLATE # Deflate compression support for PPP 1001.1Ssimonb#options PPP_FILTER # Active filter support for PPP (requires bpf) 1011.1Ssimonb 1021.1Ssimonb# JIT compiler for bpfilter 1031.1Ssimonb#options SLJIT 1041.1Ssimonb#options BPFJIT 1051.1Ssimonb 1061.1Ssimonb# These options enable verbose messages for several subsystems. 1071.1Ssimonb# Warning, these may compile large string tables into the kernel! 1081.1Ssimonb#options MIIVERBOSE # verbose PHY autoconfig messages 1091.1Ssimonb 1101.1Ssimonboptions NFS_BOOT_DHCP 1111.1Ssimonb 1121.1Ssimonbconfig netbsd root on ? type ? 1131.1Ssimonb 1141.1Ssimonbmainbus0 at root 1151.1Ssimonbcpu* at mainbus? 1161.1Ssimonbcom* at mainbus? 1171.1Ssimonb# mipsnet* at mainbus? 1181.1Ssimonb# options MIPSSIM_ETH_MACADDR="ba:bb:1e:01:23:45" 1191.1Ssimonb 1201.3Sreinoud 1211.3Sreinoud# Virtio devices 1221.3Sreinoudvirtio* at mainbus? # Virtio PCI device 1231.3Sreinoud#viomb* at virtio? # Virtio memory balloon device 1241.3Sreinoudld* at virtio? # Virtio disk device 1251.3Sreinoudvioif* at virtio? # Virtio network device 1261.3Sreinoudviornd* at virtio? # Virtio entropy device 1271.3Sreinoudvioscsi* at virtio? # Virtio SCSI device 1281.3Sreinoud#vio9p* at virtio? # Virtio 9P device 1291.3Sreinoud 1301.3Sreinoud# SCSI bus support 1311.3Sreinoudscsibus* at scsi? 1321.3Sreinoud 1331.3Sreinoud# SCSI devices 1341.3Sreinoudsd* at scsibus? target ? lun ? # SCSI disk drives 1351.3Sreinoud#st* at scsibus? target ? lun ? # SCSI tape drives 1361.3Sreinoudcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1371.3Sreinoud#ch* at scsibus? target ? lun ? # SCSI autochangers 1381.3Sreinoud#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 1391.3Sreinoud#ss* at scsibus? target ? lun ? # SCSI scanners 1401.3Sreinoud#uk* at scsibus? target ? lun ? # SCSI unknown 1411.3Sreinoud 1421.3Sreinoud 1431.1Ssimonb# Network pseudo-devices 1441.1Ssimonbpseudo-device bpfilter # Berkeley packet filter 1451.1Ssimonb#pseudo-device carp # Common Address Redundancy Protocol 1461.1Ssimonbpseudo-device loop # network loopback 1471.1Ssimonb#pseudo-device ppp # Point-to-Point Protocol 1481.1Ssimonb#pseudo-device sl # Serial Line IP 1491.1Ssimonb#pseudo-device tun # network tunneling over tty 1501.1Ssimonb#pseudo-device gre # generic L3 over IP tunnel 1511.1Ssimonb#pseudo-device ipip # RFC 2003 IP Encapsulation 1521.1Ssimonb#pseudo-device gif # RFC1933 tunnel 1531.1Ssimonb#pseudo-device faith # IPv[46] tcp relay translation 1541.1Ssimonb# Miscellaneous pseudo-devices 1551.1Ssimonbpseudo-device pty # pseudo-terminals 1561.1Ssimonb#pseudo-device sequencer # MIDI sequencer 1571.1Ssimonb 1581.1Ssimonb# A pseudo device needed for Coda # also needs CODA (above) 1591.1Ssimonb#pseudo-device vcoda # coda minicache <-> venus comm. 1601.1Ssimonbpseudo-device clockctl # user control of clock subsystem 1611.1Ssimonbpseudo-device ksyms # /dev/ksyms 1621.1Ssimonb 1631.1Ssimonbinclude "dev/veriexec.config" 164