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