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