[BACK]Return to GENERIC CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / dreamcast / conf

File: [cvs.NetBSD.org] / src / sys / arch / dreamcast / conf / GENERIC (download)

Revision 1.61, Sat Sep 10 19:20:49 2005 UTC (15 years, 5 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.60: +2 -1 lines

Initial addition of tmpfs, an efficient memory file-system.  This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).

# $NetBSD: GENERIC,v 1.61 2005/09/10 19:20:49 jmmv Exp $
#
# GENERIC machine description file
# 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include 	"arch/dreamcast/conf/std.dreamcast"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	16		# estimated number of users

# Standard system options
#options 	INSECURE	# disable kernel security levels

#options 	RTC_OFFSET=-540
options 	HZ=100		# clock interrupt generates every 1/HZ sec
options 	NTP		# NTP phase/frequency locked loop

options 	KTRACE		# system call tracing via ktrace(1)
options 	SYSTRACE	# system call vetting via sistrace(1)

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V-like memory sharing
#options 	SHMMAXPGS=1024	# 1024 pages is the default
options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	KGDB			# remote debugger
#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
#makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=220000
#options 	SYSCALL_DEBUG
#options 	UVMHIST
#options 	UVMHIST_PRINT

# Compatibility options
options 	COMPAT_16	# NetBSD 1.6,
options 	COMPAT_20	# NetBSD 2.0,
options 	COMPAT_30	# NetBSD 3.0 compatibility.
options 	COMPAT_43	# and 4.3BSD
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Executable format options
options 	EXEC_COFF	# COFF executables
options 	EXEC_ELF32	# 32-bit ELF executables

# File systems
file-system 	FFS		# UFS
#file-system	EXT2FS		# second extended file system (linux)
#file-system	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system	CD9660		# CD-ROM file system
#file-system	MSDOSFS		# MS-DOS file system
file-system	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	PROCFS		# /proc
#file-system 	NULLFS		# loopback file system
#file-system	OVERLAY		# overlay file system
#file-system	PORTAL		# portal file system (still experimental)
#file-system 	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
#file-system	PTYFS		# /dev/pts/N support
#file-system	TMPFS		# experimental - Efficient memory file-system

# File system options
#options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent supoprt
#options 	SOFTDEP		# FFS soft updates support
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
#options 	NFSSERVER	# Network File System server
options 	FFS_NO_SNAPSHOT	# ffs snapshots
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC, HDLC	# X.25
#options 	NETATALK	# AppleTalk networking protocols
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflrate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#options 	IPFILTER_LOG	# ipmon(8) log support
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

#options 	ALTQ		# Manipulate network interfaces' output queues
#options 	ALTQ_BLUE	# Stochastic Fair Blue
#options 	ALTQ_CBQ	# Class-Based Queueing
#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
#options 	ALTQ_FIFOQ	# First-In First-Out Queue
#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
#options 	ALTQ_LOCALQ	# Local queueing discipline
#options 	ALTQ_PRIQ	# Priority Queueing
#options 	ALTQ_RED	# Random Early Detection
#options 	ALTQ_RIO	# RED with IN/OUT
#options 	ALTQ_WFQ	# Weighted Fair Queueing

#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

options 	NFS_BOOT_DHCP	# Support DHCP NFS root

options 	KLOADER		# in-kernel bootloader
#options 	KLOADER_DEBUG

# wscons options
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	FONT_BOLD8x16
#options 	FONT_SONY8x16

# Kernel root file system and dump configuration.
#config		netbsd	root on ? type nfs
#config		netbsd	root on wd0a type ffs
config		netbsd	root on ? type ?

#
# Device configuration
#

mainbus0 at root

cpu*		at mainbus?
shb*		at mainbus?

# Serial Devices
#options 	SCIFCONSOLE
options 	SCIFCN_SPEED=57600
scif0		at shb?

pvr0		at shb?
wsdisplay*	at pvr? console ?

maple0		at shb?

mkbd*		at maple? port ? subunit ?
wskbd*		at mkbd? mux 1 console ?

mms*		at maple? port ? subunit ?
wsmouse*	at mms? mux 0

mmem*		at maple? port ? subunit ?
mlcd*		at maple? port ? subunit ?

gdrom0		at shb?

g2bus0		at shb?
gapspci*	at g2bus?			# GAPS PCI bridge
pci*		at gapspci?
rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
ukphy*		at mii? phy ?

mbe*		at g2bus?			# SEGA LAN Adapter

aica*		at g2bus?			# AICA Sound Processing Unit
audio*		at aica?

#pseudo-device	cgd		2	# cryptographic disk devices
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		2	# disk-like interface to files
#options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
pseudo-device	bpfilter	4	# Berkeley packet filter
#pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
#pseudo-device	ppp		1	# Point-to-Point Protocol
#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
#pseudo-device	sl		1	# Serial Line IP
#pseudo-device	tun		1	# network tunneling over tty
#pseudo-device	tap			# virtual Ethernet
#pseudo-device	gre		1	# generic L3 over IP tunnel
#pseudo-device	gif		1	# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	vlan			# IEEE 802.1q encapsulation
#pseudo-device	bridge			# simple inter-network bridging
#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	ksyms			# /dev/ksyms
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if