head	1.18;
access;
symbols
	perseant-exfatfs-base-20250801:1.18
	perseant-exfatfs-base-20240630:1.18
	perseant-exfatfs:1.18.0.62
	perseant-exfatfs-base:1.18
	bouyer-sunxi-drm:1.18.0.60
	bouyer-sunxi-drm-base:1.18
	cjep_sun2x:1.18.0.58
	cjep_sun2x-base:1.18
	cjep_staticlib_x-base1:1.18
	cjep_staticlib_x:1.18.0.56
	cjep_staticlib_x-base:1.18
	thorpej-futex-base:1.18
	bouyer-xenpvh-base2:1.18
	phil-wifi-20200421:1.18
	bouyer-xenpvh-base1:1.18
	phil-wifi-20200411:1.18
	bouyer-xenpvh:1.18.0.54
	bouyer-xenpvh-base:1.18
	phil-wifi-20200406:1.18
	ad-namecache-base3:1.18
	ad-namecache-base2:1.18
	ad-namecache-base1:1.18
	ad-namecache:1.18.0.52
	ad-namecache-base:1.18
	isaki-audio2:1.18.0.50
	isaki-audio2-base:1.18
	pgoyette-compat-merge-20190127:1.18
	pgoyette-compat-20190127:1.18
	pgoyette-compat-20190118:1.18
	pgoyette-compat-1226:1.18
	pgoyette-compat-1126:1.18
	pgoyette-compat-1020:1.18
	pgoyette-compat-0930:1.18
	pgoyette-compat-0906:1.18
	pgoyette-compat-0728:1.18
	pgoyette-compat-0625:1.18
	pgoyette-compat-0521:1.18
	pgoyette-compat-0502:1.18
	pgoyette-compat-0422:1.18
	pgoyette-compat-0415:1.18
	pgoyette-compat-0407:1.18
	pgoyette-compat-0330:1.18
	pgoyette-compat-0322:1.18
	pgoyette-compat-0315:1.18
	pgoyette-compat:1.18.0.48
	pgoyette-compat-base:1.18
	perseant-stdc-iso10646:1.18.0.46
	perseant-stdc-iso10646-base:1.18
	prg-localcount2-base3:1.18
	prg-localcount2-base2:1.18
	prg-localcount2-base1:1.18
	prg-localcount2:1.18.0.44
	prg-localcount2-base:1.18
	pgoyette-localcount-20170426:1.18
	bouyer-socketcan-base1:1.18
	pgoyette-localcount-20170320:1.18
	bouyer-socketcan:1.18.0.42
	bouyer-socketcan-base:1.18
	pgoyette-localcount-20170107:1.18
	pgoyette-localcount-20161104:1.18
	localcount-20160914:1.18
	pgoyette-localcount-20160806:1.18
	pgoyette-localcount-20160726:1.18
	pgoyette-localcount:1.18.0.40
	pgoyette-localcount-base:1.18
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	yamt-pagecache-base9:1.18
	yamt-pagecache-tag8:1.18
	tls-earlyentropy:1.18.0.38
	tls-earlyentropy-base:1.18
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.18
	riastradh-drm2-base3:1.18
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	rmind-smpnet-nbase:1.18
	rmind-smpnet:1.18.0.34
	rmind-smpnet-base:1.18
	agc-symver:1.18.0.36
	agc-symver-base:1.18
	tls-maxphys-base:1.18
	yamt-pagecache-base8:1.18
	netbsd-5-2:1.18.0.32
	yamt-pagecache-base7:1.18
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	yamt-pagecache-base6:1.18
	yamt-pagecache-base5:1.18
	yamt-pagecache-base4:1.18
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	jmcneill-usbmp:1.18.0.30
	jmcneill-usbmp-base:1.18
	jmcneill-audiomp3:1.18.0.28
	jmcneill-audiomp3-base:1.18
	yamt-pagecache-base3:1.18
	yamt-pagecache-base2:1.18
	yamt-pagecache:1.18.0.26
	yamt-pagecache-base:1.18
	rmind-uvmplock-nbase:1.18
	jym-xensuspend-nbase:1.18
	bouyer-quota2-nbase:1.18
	bouyer-quota2:1.18.0.24
	bouyer-quota2-base:1.18
	jruoho-x86intr:1.18.0.22
	jruoho-x86intr-base:1.18
	matt-nb5-pq3:1.18.0.20
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.18
	netbsd-5-1-RELEASE:1.18
	yamt-nfs-mp-base11:1.18
	netbsd-5-1-RC4:1.18
	uebayasi-xip-base2:1.18
	yamt-nfs-mp-base10:1.18
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	netbsd-5-1-RC1:1.18
	rmind-uvmplock:1.18.0.16
	rmind-uvmplock-base:1.18
	yamt-nfs-mp-base9:1.18
	uebayasi-xip:1.18.0.14
	uebayasi-xip-base:1.18
	netbsd-5-0-2-RELEASE:1.18
	yamt-nfs-mp-base8:1.18
	yamt-nfs-mp-base7:1.18
	netbsd-5-0-1-RELEASE:1.18
	jymxensuspend-base:1.18
	yamt-nfs-mp-base6:1.18
	yamt-nfs-mp-base5:1.18
	yamt-nfs-mp-base4:1.18
	yamt-nfs-mp-base3:1.18
	netbsd-5-0:1.18.0.12
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.10
	jym-xensuspend-base:1.18
	netbsd-5-0-RC1:1.18
	haad-dm-base2:1.18
	haad-nbase2:1.18
	ad-audiomp2:1.18.0.8
	ad-audiomp2-base:1.18
	netbsd-5:1.18.0.6
	netbsd-5-base:1.18
	haad-dm-base1:1.18
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-fixsa-newbase:1.8
	haad-dm:1.18.0.4
	haad-dm-base:1.18
	simonb-wapbl-nbase:1.18
	yamt-pf42-base4:1.18
	simonb-wapbl:1.18.0.2
	simonb-wapbl-base:1.18
	yamt-pf42-base3:1.18
	hpcarm-cleanup-nbase:1.18
	yamt-pf42-base2:1.18
	yamt-nfs-mp-base2:1.18
	yamt-nfs-mp:1.17.0.4
	yamt-nfs-mp-base:1.17
	yamt-pf42:1.17.0.2
	yamt-pf42-base:1.17
	ad-socklock-base1:1.17
	yamt-lazymbuf-base15:1.17
	yamt-lazymbuf-base14:1.17
	keiichi-mipv6-nbase:1.17
	mjf-devfs2:1.16.0.6
	mjf-devfs2-base:1.18
	nick-net80211-sync:1.16.0.4
	nick-net80211-sync-base:1.16
	keiichi-mipv6:1.16.0.2
	keiichi-mipv6-base:1.17
	bouyer-xeni386-merge1:1.13.6.2
	matt-armv6-prevmlocking:1.10.10.1
	wrstuden-fixsa-base-1:1.8
	vmlocking2-base3:1.13
	netbsd-4-0:1.8.0.10
	netbsd-4-0-RELEASE:1.8
	bouyer-xeni386-nbase:1.16
	yamt-kmem-base3:1.13
	cube-autoconf:1.13.0.8
	cube-autoconf-base:1.13
	yamt-kmem-base2:1.13
	bouyer-xeni386:1.13.0.6
	bouyer-xeni386-base:1.16
	yamt-kmem:1.13.0.4
	yamt-kmem-base:1.13
	vmlocking2-base2:1.13
	reinoud-bufcleanup-nbase:1.13
	vmlocking2:1.13.0.2
	vmlocking2-base1:1.13
	netbsd-4-0-RC5:1.8
	matt-nb4-arm:1.8.0.8
	matt-nb4-arm-base:1.8
	matt-armv6-nbase:1.17
	jmcneill-base:1.12
	netbsd-4-0-RC4:1.8
	mjf-devfs:1.12.0.2
	mjf-devfs-base:1.16
	bouyer-xenamd64-base2:1.13
	vmlocking-nbase:1.13
	yamt-x86pmap-base4:1.12
	bouyer-xenamd64:1.11.0.4
	bouyer-xenamd64-base:1.13
	netbsd-4-0-RC3:1.8
	yamt-x86pmap-base3:1.11
	yamt-x86pmap-base2:1.11
	netbsd-4-0-RC2:1.8
	yamt-x86pmap:1.11.0.2
	yamt-x86pmap-base:1.11
	nick-csl-alignment-base5:1.11
	nick-csl-alignment-base4:1.10
	netbsd-4-0-RC1:1.8
	matt-armv6:1.10.0.10
	matt-armv6-base:1.15
	nick-csl-alignment-base3:1.10
	nick-csl-alignment-base2:1.10
	jmcneill-pm:1.10.0.8
	jmcneill-pm-base:1.13
	hpcarm-cleanup:1.10.0.6
	hpcarm-cleanup-base:1.16
	nick-csl-alignment:1.10.0.4
	nick-csl-alignment-base:1.10
	matt-mips64:1.10.0.2
	matt-mips64-base:1.10
	yamt-idlelwp-base8:1.9
	wrstuden-fixsa:1.8.0.6
	wrstuden-fixsa-base:1.8
	ppcoea-renovation:1.9.0.16
	ppcoea-renovation-base:1.11
	thorpej-atomic:1.9.0.14
	thorpej-atomic-base:1.9
	reinoud-bufcleanup:1.9.0.12
	reinoud-bufcleanup-base:1.13
	mjf-ufs-trans:1.9.0.10
	mjf-ufs-trans-base:1.10
	vmlocking:1.9.0.8
	vmlocking-base:1.11
	ad-audiomp:1.9.0.6
	ad-audiomp-base:1.9
	yamt-idlelwp:1.9.0.4
	post-newlock2-merge:1.9
	newlock2-nbase:1.9
	yamt-lazymbuf:1.9.0.2
	yamt-splraiseipl-base5:1.9
	yamt-splraiseipl-base4:1.9
	yamt-splraiseipl:1.8.0.4
	yamt-splraiseipl-base3:1.8
	netbsd-4:1.8.0.2
	netbsd-4-base:1.8
	newlock2:1.7.0.2
	newlock2-base:1.9;
locks; strict;
comment	@# @;


1.18
date	2008.04.29.12.46.15;	author ad;	state dead;
branches;
next	1.17;

1.17
date	2008.02.29.14.42.32;	author jmmv;	state Exp;
branches
	1.17.2.1
	1.17.4.1;
next	1.16;

1.16
date	2008.01.16.09.37.07;	author ad;	state Exp;
branches
	1.16.2.1
	1.16.6.1;
next	1.15;

1.15
date	2008.01.07.08.39.07;	author martti;	state Exp;
branches;
next	1.14;

1.14
date	2007.12.31.15.31.56;	author ad;	state Exp;
branches;
next	1.13;

1.13
date	2007.11.14.17.54.58;	author ad;	state Exp;
branches
	1.13.6.1;
next	1.12;

1.12
date	2007.10.17.19.54.43;	author garbled;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2007.09.06.11.10.31;	author martti;	state Exp;
branches
	1.11.4.1;
next	1.10;

1.10
date	2007.05.29.21.37.09;	author christos;	state Exp;
branches
	1.10.4.1
	1.10.8.1
	1.10.10.1;
next	1.9;

1.9
date	2006.12.11.15.24.28;	author yamt;	state Exp;
branches
	1.9.2.1
	1.9.8.1
	1.9.10.1
	1.9.16.1;
next	1.8;

1.8
date	2006.11.28.16.15.37;	author christos;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	2006.11.17.22.18.22;	author tsutsui;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	2006.11.11.19.00.17;	author jmmv;	state Exp;
branches;
next	1.5;

1.5
date	2006.11.11.18.47.10;	author jmmv;	state Exp;
branches;
next	1.4;

1.4
date	2006.11.01.19.33.41;	author tls;	state Exp;
branches;
next	1.3;

1.3
date	2006.10.25.13.56.15;	author jmmv;	state Exp;
branches;
next	1.2;

1.2
date	2006.10.22.21.08.48;	author jmmv;	state Exp;
branches;
next	1.1;

1.1
date	2006.10.22.18.49.24;	author jmmv;	state Exp;
branches;
next	;

1.17.2.1
date	2008.06.17.15.15.41;	author yamt;	state dead;
branches;
next	;

1.17.4.1
date	2008.05.16.02.22.33;	author yamt;	state dead;
branches;
next	;

1.16.2.1
date	2008.03.24.07.14.58;	author keiichi;	state Exp;
branches;
next	;

1.16.6.1
date	2008.04.03.12.42.18;	author mjf;	state Exp;
branches;
next	1.16.6.2;

1.16.6.2
date	2008.06.02.13.22.14;	author mjf;	state dead;
branches;
next	;

1.13.6.1
date	2008.01.02.21.48.11;	author bouyer;	state Exp;
branches;
next	1.13.6.2;

1.13.6.2
date	2008.01.08.22.09.56;	author bouyer;	state Exp;
branches;
next	1.13.6.3;

1.13.6.3
date	2008.01.19.12.14.18;	author bouyer;	state Exp;
branches;
next	;

1.12.2.1
date	2007.11.19.00.46.22;	author mjf;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2008.02.18.21.04.37;	author mjf;	state Exp;
branches;
next	;

1.11.4.1
date	2007.11.18.19.34.21;	author bouyer;	state Exp;
branches;
next	;

1.10.4.1
date	2007.09.10.10.54.28;	author skrll;	state Exp;
branches;
next	;

1.10.8.1
date	2007.10.02.18.27.13;	author joerg;	state Exp;
branches;
next	1.10.8.2;

1.10.8.2
date	2007.11.21.21.53.13;	author joerg;	state Exp;
branches;
next	;

1.10.10.1
date	2007.11.06.23.17.18;	author matt;	state Exp;
branches;
next	1.10.10.2;

1.10.10.2
date	2008.01.09.01.46.30;	author matt;	state Exp;
branches;
next	1.10.10.3;

1.10.10.3
date	2008.03.23.02.04.06;	author matt;	state Exp;
branches;
next	;

1.9.2.1
date	2006.12.11.15.24.28;	author yamt;	state dead;
branches;
next	1.9.2.2;

1.9.2.2
date	2006.12.30.20.46.05;	author yamt;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2007.09.03.14.26.35;	author yamt;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2007.10.27.11.26.28;	author yamt;	state Exp;
branches;
next	1.9.2.5;

1.9.2.5
date	2007.11.15.11.42.51;	author yamt;	state Exp;
branches;
next	1.9.2.6;

1.9.2.6
date	2008.01.21.09.36.53;	author yamt;	state Exp;
branches;
next	1.9.2.7;

1.9.2.7
date	2008.03.17.09.14.20;	author yamt;	state Exp;
branches;
next	;

1.9.8.1
date	2007.06.09.23.55.10;	author ad;	state Exp;
branches;
next	1.9.8.2;

1.9.8.2
date	2007.10.09.13.37.51;	author ad;	state Exp;
branches;
next	1.9.8.3;

1.9.8.3
date	2007.12.03.18.36.32;	author ad;	state Exp;
branches;
next	;

1.9.10.1
date	2007.07.11.19.59.53;	author mjf;	state Exp;
branches;
next	;

1.9.16.1
date	2007.06.26.18.12.37;	author garbled;	state Exp;
branches;
next	1.9.16.2;

1.9.16.2
date	2007.10.03.19.23.40;	author garbled;	state Exp;
branches;
next	;

1.8.4.1
date	2006.11.28.16.15.37;	author yamt;	state dead;
branches;
next	1.8.4.2;

1.8.4.2
date	2006.12.10.07.16.04;	author yamt;	state Exp;
branches;
next	1.8.4.3;

1.8.4.3
date	2006.12.18.11.42.04;	author yamt;	state Exp;
branches;
next	;

1.7.2.1
date	2006.11.17.22.18.22;	author ad;	state dead;
branches;
next	1.7.2.2;

1.7.2.2
date	2006.11.18.21.29.18;	author ad;	state Exp;
branches;
next	1.7.2.3;

1.7.2.3
date	2007.02.06.16.55.40;	author ad;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Current should boot quickly on these emulators now, so the configs aren't
required. If it boots slowly please adjust the code to disable ISAPNP probes
which are the main slow part of boot on x86. See x86/platform.c.
@
text
@# $NetBSD: QEMU,v 1.17 2008/02/29 14:42:32 jmmv Exp $
#
# QEMU machine description file
#
# Machine description trimmed to support a subset of the hardware emulated
# by QEMU that works fine from NetBSD.  MI options have been kept in this
# file, but most MD ones have been removed.
#

include 	"arch/i386/conf/std.i386"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"QEMU-$Revision: 1.17 $"

maxusers	32		# estimated number of users

makeoptions 	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"

# CPU-related options.
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
# insert delay no-ops in interrupts; recommended on very old machines
#options 	PIC_DELAY

options 	MTRR		# memory-type range register syscall support
# doesn't work with MP just yet..
#options 	PERFCTRS	# performance-monitoring counters support

options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options 	CPURESET_DELAY=2000

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
#	you don't want the option below ON iff you are using the
#	serial console option of the new boot strap code.
#options 	CONS_OVERRIDE	# Always use above! independent of boot info

# The following options override the memory sizes passed in from the boot
# block.  Use them *only* if the boot block is unable to determine the correct
# values.  Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options 	REALBASEMEM=639		# size of base memory (in KB)
#options 	REALEXTMEM=15360	# size of extended memory (in KB)

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
#options 	NO_TSC_TIME	# Don't use TSC microtime, even if available.
				# Improves time behavior under VMware.

options 	KTRACE		# system call tracing via ktrace(1)

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=2048	# 2048 pages is the default
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support

options 	LKM		# loadable kernel modules

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

# Beep when it is safe to power down the system (requires sysbeep)
#options 	BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
#options 	BEEP_ONHALT_COUNT=3	# Times to beep
#options 	BEEP_ONHALT_PITCH=1500	# Default frequency (in Hz)
#options 	BEEP_ONHALT_PERIOD=250	# Default duration (in msecs)

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Likely stable but not yet the default.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# expensive kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	KGDB		# remote debugger
#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions 	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
options 	COMPAT_09	# NetBSD 0.9
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
options 	COMPAT_14	# NetBSD 1.4
options 	COMPAT_15	# NetBSD 1.5
options 	COMPAT_16	# NetBSD 1.6
options 	COMPAT_20	# NetBSD 2.0
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_40	# NetBSD 4.0
options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
options 	COMPAT_386BSD_MBRPART # recognize old partition ID
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_SVR4	# binary compatibility with SVR4
options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
#options 	COMPAT_MACH	# binary compatibility with Mach binaries
#options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries
#options 	EXEC_MACHO	# exec MACH-O binaries
#options 	COMPAT_NDIS	# NDIS network driver
#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# 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 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
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 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate 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_LOOKUP	# ippool(8) 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

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
#options 	WSKBD_USONLY			# strip off non-US keymaps
# don't attach pckbd as the console if no PS/2 keyboard is found
options 	PCKBD_CNATTACH_MAY_FAIL
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver 
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
# console scrolling support.
options 	WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options 	VGA_RASTERCONSOLE
# enable splash screen support; requires hw driver support
#options 	SPLASHSCREEN
#options 	SPLASHSCREEN_PROGRESS

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

#
# Device configuration
#

mainbus0 at root

cpu* at mainbus?

apm0	at mainbus0			# Advanced power management

# Tuning for power management, see apm(4) for more details.
#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
#options 	APM_POWER_PRINT		# Print stats on the console
#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts

# Basic Bus Support

# PCI bus support
pci*	at mainbus? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

# ISA bus support
isa0	at pcib?

# ISA Plug-and-Play bus support
isapnp0 at isa?

# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

# VESA framebuffer console
#options 	KVM86			# required for vesabios
#vesabios*	at vesabiosbus?
#vesafb* 	at vesabios?
#options 	VESAFB_WIDTH=640
#options 	VESAFB_HEIGHT=480
#options 	VESAFB_DEPTH=8
#options 	VESAFB_PM		# power management support
#wsdisplay*	at vesafb? console ?

attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?

# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
piixide* 	at pci? dev ? function ?	# Intel IDE controllers

# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

# Network Interfaces

# PCI network interfaces
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet

# Audio Devices

# PCI audio devices
eap*	at pci? dev ? function ?	# Ensoniq AudioPCI

# ISA audio devices
sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster

# Audio support
audio*	at audiobus?

# MIDI support
midi*	at midibus?
midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?		# PC speaker

# Pull in optional local configuration
cinclude "arch/i386/conf/GENERIC.local"

# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	fss		4	# file system snapshot device

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

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl			# Serial Line IP
pseudo-device	strip			# Starmode Radio IP (Metricom)
pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
pseudo-device	tun			# network tunneling over tty
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 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
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda		4	# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

#options 	FILEASSOC		# fileassoc(9) - required for Veriexec 

# Veriexec
#pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5

options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
@


1.17
log
@Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include.  This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@@ earlier this month.  No strong objections.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.16 2008/01/16 09:37:07 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.16 $"
@


1.17.2.1
log
@fix merge botches
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.17 2008/02/29 14:42:32 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.17 $"
@


1.17.4.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.17 2008/02/29 14:42:32 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.17 $"
@


1.16
log
@Remove options MATH_EMULATE.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.15 2008/01/07 08:39:07 martti Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.15 $"
d391 1
a391 1
include	"arch/i386/conf/GENERIC.local"
@


1.16.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
#ident 		"QEMU-$Revision$"
d391 1
a391 1
cinclude "arch/i386/conf/GENERIC.local"
@


1.16.6.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.16.6.1 2008/04/03 12:42:18 mjf Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.16.6.1 $"
@


1.16.2.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.17 2008/02/29 14:42:32 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.17 $"
d391 1
a391 1
cinclude "arch/i386/conf/GENERIC.local"
@


1.15
log
@Fixed indentation, it should be

option<space><tab>
makeoption<space><tab>
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.14 2007/12/31 15:31:56 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.14 $"
a20 1
#options 	MATH_EMULATE	# floating point emulation
@


1.14
log
@Remove systrace. Ok core@@.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.13 2007/11/14 17:54:58 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.13 $"
d18 1
a18 1
makeoptions	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d99 1
a99 1
#makeoptions	DEBUG="-g"	# compile full symbol table
d459 1
a459 1
#options	FILEASSOC		# fileassoc(9) - required for Veriexec 
@


1.13
log
@- Remove I486_CPU, I586_CPU, I686_CPU options. They buy us nothing and
  clutter the code significantly.
- Remove pccons.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.12 2007/10/17 19:54:43 garbled Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.12 $"
a60 1
#options 	SYSTRACE	# system call vetting via systrace(1)
@


1.13.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
#ident 		"QEMU-$Revision$"
d61 1
@


1.13.6.2
log
@Sync with HEAD
@
text
@d18 1
a18 1
makeoptions 	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d99 1
a99 1
#makeoptions 	DEBUG="-g"	# compile full symbol table
d459 1
a459 1
#options 	FILEASSOC		# fileassoc(9) - required for Veriexec 
@


1.13.6.3
log
@Sync with HEAD
@
text
@d21 1
@


1.12
log
@Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.16.2 2007/10/03 19:23:40 garbled Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.16.2 $"
a17 5
# CPU support.  At least one is REQUIRED.
#options 	I386_CPU
#options 	I486_CPU
#options 	I586_CPU
options 	I686_CPU
@


1.12.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.13 2007/11/14 17:54:58 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.13 $"
d18 5
@


1.12.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.16 2008/01/16 09:37:07 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.16 $"
d18 1
a18 1
makeoptions 	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d21 1
d61 1
d100 1
a100 1
#makeoptions 	DEBUG="-g"	# compile full symbol table
d460 1
a460 1
#options 	FILEASSOC		# fileassoc(9) - required for Veriexec 
@


1.11
log
@Fixed indentation (it should be <keyword><space><tab><name>tab><comment>).
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.10 2007/05/29 21:37:09 christos Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.10 $"
@


1.11.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
#ident 		"QEMU-$Revision$"
d18 5
@


1.10
log
@Add COMPAT_40 for struct ifreq changes.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9 2006/12/11 15:24:28 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9 $"
d153 5
a157 5
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.10.10.1
log
@sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.12 2007/10/17 19:54:43 garbled Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.12 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.10.10.2
log
@sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.10.10.1 2007/11/06 23:17:18 matt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.10.10.1 $"
d18 6
a23 1
makeoptions 	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d66 1
d105 1
a105 1
#makeoptions 	DEBUG="-g"	# compile full symbol table
d465 1
a465 1
#options 	FILEASSOC		# fileassoc(9) - required for Veriexec 
@


1.10.10.3
log
@sync with HEAD
@
text
@d1 1
a1 1
# QEMU,v 1.10.10.2 2008/01/09 01:46:30 matt Exp
d14 1
a14 1
#ident 		"QEMU-1.10.10.2"
d21 1
d392 1
a392 1
cinclude "arch/i386/conf/GENERIC.local"
@


1.10.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.11 2007/09/06 11:10:31 martti Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.11 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.10.8.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.10.8.1 2007/10/02 18:27:13 joerg Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.10.8.1 $"
d18 5
@


1.10.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.11 2007/09/06 11:10:31 martti Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.11 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.9
log
@- remove a static configuration, FILEASSOC_NHOOKS.  do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c.  unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
#ident 		"QEMU-$Revision$"
d119 1
@


1.9.2.1
log
@file QEMU was added on branch yamt-lazymbuf on 2006-12-30 20:46:05 +0000
@
text
@d1 480
@


1.9.2.2
log
@sync with head.
@
text
@a0 480
# $NetBSD: QEMU,v 1.9.2.1 2006/12/30 20:46:05 yamt Exp $
#
# QEMU machine description file
#
# Machine description trimmed to support a subset of the hardware emulated
# by QEMU that works fine from NetBSD.  MI options have been kept in this
# file, but most MD ones have been removed.
#

include 	"arch/i386/conf/std.i386"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"QEMU-$Revision: 1.9.2.1 $"

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
#options 	I386_CPU
#options 	I486_CPU
#options 	I586_CPU
options 	I686_CPU
makeoptions	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"

# CPU-related options.
#options 	MATH_EMULATE	# floating point emulation
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
# insert delay no-ops in interrupts; recommended on very old machines
#options 	PIC_DELAY

options 	MTRR		# memory-type range register syscall support
# doesn't work with MP just yet..
#options 	PERFCTRS	# performance-monitoring counters support

options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options 	CPURESET_DELAY=2000

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
#	you don't want the option below ON iff you are using the
#	serial console option of the new boot strap code.
#options 	CONS_OVERRIDE	# Always use above! independent of boot info

# The following options override the memory sizes passed in from the boot
# block.  Use them *only* if the boot block is unable to determine the correct
# values.  Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options 	REALBASEMEM=639		# size of base memory (in KB)
#options 	REALEXTMEM=15360	# size of extended memory (in KB)

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
#options 	NO_TSC_TIME	# Don't use TSC microtime, even if available.
				# Improves time behavior under VMware.

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

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=2048	# 2048 pages is the default
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support

options 	LKM		# loadable kernel modules

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

# Beep when it is safe to power down the system (requires sysbeep)
#options 	BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
#options 	BEEP_ONHALT_COUNT=3	# Times to beep
#options 	BEEP_ONHALT_PITCH=1500	# Default frequency (in Hz)
#options 	BEEP_ONHALT_PERIOD=250	# Default duration (in msecs)

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Likely stable but not yet the default.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# expensive kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	KGDB		# remote debugger
#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
options 	COMPAT_09	# NetBSD 0.9
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
options 	COMPAT_14	# NetBSD 1.4
options 	COMPAT_15	# NetBSD 1.5
options 	COMPAT_16	# NetBSD 1.6
options 	COMPAT_20	# NetBSD 2.0
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
options 	COMPAT_386BSD_MBRPART # recognize old partition ID
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_SVR4	# binary compatibility with SVR4
options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
#options 	COMPAT_MACH	# binary compatibility with Mach binaries
#options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries
#options 	EXEC_MACHO	# exec MACH-O binaries
#options 	COMPAT_NDIS	# NDIS network driver
#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# 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 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
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 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate 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_LOOKUP	# ippool(8) 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

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
#options 	WSKBD_USONLY			# strip off non-US keymaps
# don't attach pckbd as the console if no PS/2 keyboard is found
options 	PCKBD_CNATTACH_MAY_FAIL
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver 
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
# console scrolling support.
options 	WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options 	VGA_RASTERCONSOLE
# enable splash screen support; requires hw driver support
#options 	SPLASHSCREEN
#options 	SPLASHSCREEN_PROGRESS

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

#
# Device configuration
#

mainbus0 at root

cpu* at mainbus?

apm0	at mainbus0			# Advanced power management

# Tuning for power management, see apm(4) for more details.
#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
#options 	APM_POWER_PRINT		# Print stats on the console
#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts

# Basic Bus Support

# PCI bus support
pci*	at mainbus? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

# ISA bus support
isa0	at pcib?

# ISA Plug-and-Play bus support
isapnp0 at isa?

# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

# VESA framebuffer console
#options 	KVM86			# required for vesabios
#vesabios*	at vesabiosbus?
#vesafb* 	at vesabios?
#options 	VESAFB_WIDTH=640
#options 	VESAFB_HEIGHT=480
#options 	VESAFB_DEPTH=8
#options 	VESAFB_PM		# power management support
#wsdisplay*	at vesafb? console ?

attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?

# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
piixide* 	at pci? dev ? function ?	# Intel IDE controllers

# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

# Network Interfaces

# PCI network interfaces
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet

# Audio Devices

# PCI audio devices
eap*	at pci? dev ? function ?	# Ensoniq AudioPCI

# ISA audio devices
sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster

# Audio support
audio*	at audiobus?

# MIDI support
midi*	at midibus?
midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?		# PC speaker

# Pull in optional local configuration
include	"arch/i386/conf/GENERIC.local"

# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	fss		4	# file system snapshot device

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

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl			# Serial Line IP
pseudo-device	strip			# Starmode Radio IP (Metricom)
pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
pseudo-device	tun			# network tunneling over tty
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 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
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda		4	# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

#options	FILEASSOC		# fileassoc(9) - required for Veriexec 

# Veriexec
#pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5

options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
@


1.9.2.3
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.2.2 2007/09/03 14:26:35 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.2.2 $"
a118 1
options 	COMPAT_40	# NetBSD 4.0
@


1.9.2.4
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.2.3 2007/10/27 11:26:28 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.2.3 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.9.2.5
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.2.4 2007/11/15 11:42:51 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.2.4 $"
d18 5
@


1.9.2.6
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.2.5 2008/01/21 09:36:53 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.2.5 $"
d18 1
a18 1
makeoptions 	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d21 1
d61 1
d100 1
a100 1
#makeoptions 	DEBUG="-g"	# compile full symbol table
d460 1
a460 1
#options 	FILEASSOC		# fileassoc(9) - required for Veriexec 
@


1.9.2.7
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.2.6 2008/03/17 09:14:20 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.2.6 $"
d391 1
a391 1
cinclude "arch/i386/conf/GENERIC.local"
@


1.9.10.1
log
@Sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.10 2007/05/29 21:37:09 christos Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.10 $"
a118 1
options 	COMPAT_40	# NetBSD 4.0
@


1.9.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.10 2007/05/29 21:37:09 christos Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.10 $"
a118 1
options 	COMPAT_40	# NetBSD 4.0
@


1.9.16.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.11 2007/09/06 11:10:31 martti Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.11 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.9.8.1
log
@Sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9 2006/12/11 15:24:28 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9 $"
a118 1
options 	COMPAT_40	# NetBSD 4.0
@


1.9.8.2
log
@Sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.8.1 2007/06/09 23:55:10 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.8.1 $"
d153 5
a157 5
file-system 	CODA		# Coda File System; also needs vcoda (below)
file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system 	PTYFS		# /dev/ptm support
file-system 	TMPFS		# Efficient memory file-system
#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
@


1.9.8.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.9.8.2 2007/10/09 13:37:51 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.9.8.2 $"
d18 5
@


1.8
log
@s/COPTS/CPUFLAGS/
s/-O2 //
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.7 2006/11/17 22:18:22 tsutsui Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.7 $"
a464 1
#options	FILEASSOC_NHOOKS=4	# Default number of storage slots
@


1.8.4.1
log
@file QEMU was added on branch yamt-splraiseipl on 2006-12-10 07:16:04 +0000
@
text
@d1 481
@


1.8.4.2
log
@sync with head.
@
text
@a0 481
# $NetBSD: QEMU,v 1.8.4.1 2006/12/10 07:16:04 yamt Exp $
#
# QEMU machine description file
#
# Machine description trimmed to support a subset of the hardware emulated
# by QEMU that works fine from NetBSD.  MI options have been kept in this
# file, but most MD ones have been removed.
#

include 	"arch/i386/conf/std.i386"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"QEMU-$Revision: 1.8.4.1 $"

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
#options 	I386_CPU
#options 	I486_CPU
#options 	I586_CPU
options 	I686_CPU
makeoptions	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"

# CPU-related options.
#options 	MATH_EMULATE	# floating point emulation
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
# insert delay no-ops in interrupts; recommended on very old machines
#options 	PIC_DELAY

options 	MTRR		# memory-type range register syscall support
# doesn't work with MP just yet..
#options 	PERFCTRS	# performance-monitoring counters support

options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options 	CPURESET_DELAY=2000

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
#	you don't want the option below ON iff you are using the
#	serial console option of the new boot strap code.
#options 	CONS_OVERRIDE	# Always use above! independent of boot info

# The following options override the memory sizes passed in from the boot
# block.  Use them *only* if the boot block is unable to determine the correct
# values.  Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options 	REALBASEMEM=639		# size of base memory (in KB)
#options 	REALEXTMEM=15360	# size of extended memory (in KB)

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
#options 	NO_TSC_TIME	# Don't use TSC microtime, even if available.
				# Improves time behavior under VMware.

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

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=2048	# 2048 pages is the default
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support

options 	LKM		# loadable kernel modules

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

# Beep when it is safe to power down the system (requires sysbeep)
#options 	BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
#options 	BEEP_ONHALT_COUNT=3	# Times to beep
#options 	BEEP_ONHALT_PITCH=1500	# Default frequency (in Hz)
#options 	BEEP_ONHALT_PERIOD=250	# Default duration (in msecs)

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Likely stable but not yet the default.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# expensive kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	KGDB		# remote debugger
#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
options 	COMPAT_09	# NetBSD 0.9
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
options 	COMPAT_14	# NetBSD 1.4
options 	COMPAT_15	# NetBSD 1.5
options 	COMPAT_16	# NetBSD 1.6
options 	COMPAT_20	# NetBSD 2.0
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
options 	COMPAT_386BSD_MBRPART # recognize old partition ID
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_SVR4	# binary compatibility with SVR4
options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
#options 	COMPAT_MACH	# binary compatibility with Mach binaries
#options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries
#options 	EXEC_MACHO	# exec MACH-O binaries
#options 	COMPAT_NDIS	# NDIS network driver
#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# 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 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
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 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate 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_LOOKUP	# ippool(8) 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

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
#options 	WSKBD_USONLY			# strip off non-US keymaps
# don't attach pckbd as the console if no PS/2 keyboard is found
options 	PCKBD_CNATTACH_MAY_FAIL
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver 
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
# console scrolling support.
options 	WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options 	VGA_RASTERCONSOLE
# enable splash screen support; requires hw driver support
#options 	SPLASHSCREEN
#options 	SPLASHSCREEN_PROGRESS

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

#
# Device configuration
#

mainbus0 at root

cpu* at mainbus?

apm0	at mainbus0			# Advanced power management

# Tuning for power management, see apm(4) for more details.
#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
#options 	APM_POWER_PRINT		# Print stats on the console
#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts

# Basic Bus Support

# PCI bus support
pci*	at mainbus? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

# ISA bus support
isa0	at pcib?

# ISA Plug-and-Play bus support
isapnp0 at isa?

# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

# VESA framebuffer console
#options 	KVM86			# required for vesabios
#vesabios*	at vesabiosbus?
#vesafb* 	at vesabios?
#options 	VESAFB_WIDTH=640
#options 	VESAFB_HEIGHT=480
#options 	VESAFB_DEPTH=8
#options 	VESAFB_PM		# power management support
#wsdisplay*	at vesafb? console ?

attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?

# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
piixide* 	at pci? dev ? function ?	# Intel IDE controllers

# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

# Network Interfaces

# PCI network interfaces
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet

# Audio Devices

# PCI audio devices
eap*	at pci? dev ? function ?	# Ensoniq AudioPCI

# ISA audio devices
sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster

# Audio support
audio*	at audiobus?

# MIDI support
midi*	at midibus?
midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?		# PC speaker

# Pull in optional local configuration
include	"arch/i386/conf/GENERIC.local"

# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	fss		4	# file system snapshot device

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

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl			# Serial Line IP
pseudo-device	strip			# Starmode Radio IP (Metricom)
pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
pseudo-device	tun			# network tunneling over tty
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 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
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda		4	# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

#options	FILEASSOC		# fileassoc(9) - required for Veriexec 
#options	FILEASSOC_NHOOKS=4	# Default number of storage slots

# Veriexec
#pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5

options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
@


1.8.4.3
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.8.4.2 2006/12/18 11:42:04 yamt Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.8.4.2 $"
d465 1
@


1.7
log
@COPTS should have -O2 otherwise we'll get no generic optimization.

XXX: I prefer CPUFLAGS, but there isn't any conclusion yet.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.6 2006/11/11 19:00:17 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.6 $"
d23 1
a23 1
makeoptions	COPTS="-O2 -march=pentiumpro -mtune=pentiumpro"
@


1.7.2.1
log
@file QEMU was added on branch newlock2 on 2006-11-18 21:29:18 +0000
@
text
@d1 481
@


1.7.2.2
log
@Sync with head.
@
text
@a0 481
# $NetBSD: QEMU,v 1.7.2.1 2006/11/18 21:29:18 ad Exp $
#
# QEMU machine description file
#
# Machine description trimmed to support a subset of the hardware emulated
# by QEMU that works fine from NetBSD.  MI options have been kept in this
# file, but most MD ones have been removed.
#

include 	"arch/i386/conf/std.i386"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"QEMU-$Revision: 1.7.2.1 $"

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
#options 	I386_CPU
#options 	I486_CPU
#options 	I586_CPU
options 	I686_CPU
makeoptions	COPTS="-march=pentiumpro -mtune=pentiumpro"

# CPU-related options.
#options 	MATH_EMULATE	# floating point emulation
options 	VM86		# virtual 8086 emulation
options 	USER_LDT	# user-settable LDT; used by WINE
# insert delay no-ops in interrupts; recommended on very old machines
#options 	PIC_DELAY

options 	MTRR		# memory-type range register syscall support
# doesn't work with MP just yet..
#options 	PERFCTRS	# performance-monitoring counters support

options 	MULTIBOOT	# Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options 	CPURESET_DELAY=2000

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
#	you don't want the option below ON iff you are using the
#	serial console option of the new boot strap code.
#options 	CONS_OVERRIDE	# Always use above! independent of boot info

# The following options override the memory sizes passed in from the boot
# block.  Use them *only* if the boot block is unable to determine the correct
# values.  Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options 	REALBASEMEM=639		# size of base memory (in KB)
#options 	REALEXTMEM=15360	# size of extended memory (in KB)

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
#options 	NO_TSC_TIME	# Don't use TSC microtime, even if available.
				# Improves time behavior under VMware.

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

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=2048	# 2048 pages is the default
options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support

options 	LKM		# loadable kernel modules

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

# Beep when it is safe to power down the system (requires sysbeep)
#options 	BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
#options 	BEEP_ONHALT_COUNT=3	# Times to beep
#options 	BEEP_ONHALT_PITCH=1500	# Default frequency (in Hz)
#options 	BEEP_ONHALT_PERIOD=250	# Default duration (in msecs)

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Likely stable but not yet the default.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# expensive kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
#options 	KGDB		# remote debugger
#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
options 	COMPAT_09	# NetBSD 0.9
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
options 	COMPAT_14	# NetBSD 1.4
options 	COMPAT_15	# NetBSD 1.5
options 	COMPAT_16	# NetBSD 1.6
options 	COMPAT_20	# NetBSD 2.0
options 	COMPAT_30	# NetBSD 3.0
options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
options 	COMPAT_386BSD_MBRPART # recognize old partition ID
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_SVR4	# binary compatibility with SVR4
options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
options 	COMPAT_LINUX	# binary compatibility with Linux
options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
#options 	COMPAT_MACH	# binary compatibility with Mach binaries
#options 	COMPAT_DARWIN	# binary compatibility with Darwin binaries
#options 	EXEC_MACHO	# exec MACH-O binaries
#options 	COMPAT_NDIS	# NDIS network driver
#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# 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 	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
file-system 	OVERLAY		# overlay file system
file-system 	PORTAL		# portal filesystem (still experimental)
file-system 	PROCFS		# /proc
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	SOFTDEP		# FFS soft updates support.
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
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 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate 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_LOOKUP	# ippool(8) 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

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# wscons options
#
# builtin terminal emulations
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
#options 	WS_DEFAULT_FG=WSCOL_WHITE
#options 	WS_DEFAULT_BG=WSCOL_BLACK
#options 	WS_DEFAULT_COLATTR="(0)"
#options 	WS_DEFAULT_MONOATTR="(0)"
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WS_KERNEL_COLATTR=""
#options 	WS_KERNEL_MONOATTR=""
# customization of console border color
options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
#options 	WSKBD_USONLY			# strip off non-US keymaps
# don't attach pckbd as the console if no PS/2 keyboard is found
options 	PCKBD_CNATTACH_MAY_FAIL
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver 
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
# work around a hardware bug that loaded fonts don't work; found on ATI cards
#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
# console scrolling support.
options 	WSDISPLAY_SCROLLSUPPORT
# enable VGA raster mode capable of displaying multilingual text on console
#options 	VGA_RASTERCONSOLE
# enable splash screen support; requires hw driver support
#options 	SPLASHSCREEN
#options 	SPLASHSCREEN_PROGRESS

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

#
# Device configuration
#

mainbus0 at root

cpu* at mainbus?

apm0	at mainbus0			# Advanced power management

# Tuning for power management, see apm(4) for more details.
#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
#options 	APM_POWER_PRINT		# Print stats on the console
#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts

# Basic Bus Support

# PCI bus support
pci*	at mainbus? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges

# ISA bus support
isa0	at pcib?

# ISA Plug-and-Play bus support
isapnp0 at isa?

# Coprocessor Support

# Math Coprocessor support
npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

# VESA framebuffer console
#options 	KVM86			# required for vesabios
#vesabios*	at vesabiosbus?
#vesafb* 	at vesabios?
#options 	VESAFB_WIDTH=640
#options 	VESAFB_HEIGHT=480
#options 	VESAFB_DEPTH=8
#options 	VESAFB_PM		# power management support
#wsdisplay*	at vesafb? console ?

attimer0	at isa?
pcppi0		at isa?
sysbeep0	at pcppi?

# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports

# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
piixide* 	at pci? dev ? function ?	# Intel IDE controllers

# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives

# Miscellaneous mass storage devices

# ISA floppy
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?			# the drives themselves

# Network Interfaces

# PCI network interfaces
ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet

# Audio Devices

# PCI audio devices
eap*	at pci? dev ? function ?	# Ensoniq AudioPCI

# ISA audio devices
sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster

# Audio support
audio*	at audiobus?

# MIDI support
midi*	at midibus?
midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0	at pcppi?		# PC speaker

# Pull in optional local configuration
include	"arch/i386/conf/GENERIC.local"

# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	ccd		4	# concatenated/striped disk devices
#pseudo-device	cgd		4	# cryptographic disk devices
pseudo-device	raid		8	# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	fss		4	# file system snapshot device

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

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	sl			# Serial Line IP
pseudo-device	strip			# Starmode Radio IP (Metricom)
pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
pseudo-device	tun			# network tunneling over tty
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 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
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer	1	# MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda		4	# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

#options	FILEASSOC		# fileassoc(9) - required for Veriexec 
#options	FILEASSOC_NHOOKS=4	# Default number of storage slots

# Veriexec
#pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5

options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
@


1.7.2.3
log
@Fix merge errors.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.7.2.2 2007/02/06 16:55:40 ad Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.7.2.2 $"
d23 1
a23 1
makeoptions	CPUFLAGS="-march=pentiumpro -mtune=pentiumpro"
d465 1
@


1.6
log
@Enable TMPFS by default.  OK'ed by core@@.

I'm leaving those platforms with few users and those whose machines are
not very powerful untouched per uwe@@'s suggestion.  The port masters or
the real users of those ports are better suited to make the decision of
enabling it.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.5 2006/11/11 18:47:10 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.5 $"
d23 1
a23 1
makeoptions	COPTS="-march=pentiumpro -mtune=pentiumpro"
@


1.5
log
@Remove tmpfs's experimental status.  OK'ed by core@@.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.4 2006/11/01 19:33:41 tls Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.4 $"
d155 1
a155 1
#file-system	TMPFS		# Efficient memory file-system
@


1.4
log
@Change GENERIC, GENERIC.MP, GENERIC.MPACPI, GENERIC_LAPTOP, INSTALL,
INSTALL.MP, INSTALL_LAPTOP, and DISKLESS kernels so that they are
smaller and faster by removing support for actual i386 CPUs (which
lack write protection in supervisor mode, which requires a costly
workaround) and math coprocessor emulation.  Coprocessor emulation
is retained in the LAPTOP kernels, but not in the others.  Where
it is known that a configuration cannot be run with particular CPUs
(i486 in *MP kernels) remove that support as well.  Compile all
kernels with appropriate architecture and tuning flags (reduces
size, makes things faster).  Those requiring support for machines
with i386 CPU or lacking coprocessor can use the *SMALL or *TINY
kernels.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.3 2006/10/25 13:56:15 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.3 $"
d155 1
a155 1
#file-system	TMPFS		# experimental - Efficient memory file-system
@


1.3
log
@Remove the usage of Multiboot's "a.out kludge" to tell the boot loader to
reserve some more space for the BSS section than the binary says.  This
trick was used to leave room after the kernel's image to copy the symbol
table following the format required by ksyms_init.  (It was also used to
workaround a bug in the physical address fields of the binary, but this has
been long fixed.)  Yes, the MULTIBOOT_SYMTAB_SPACE option goes away; yay!

Instead, copy the required data after the kernel in a way that avoids having
to reserve space and use the new ksyms_init_explicit function to avoid the
need to construct a minimal ELF image.

Fixes ksyms when using an "unpatched" GRUB (one that does not contain the
fix to honour the "a.out kludge" for ELF images, even when present) -- i.e.
ddb and lkms.  As a side effect, the new code is much clearer to read and
digest.

Closes PR port-i386/32865.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.2 2006/10/22 21:08:48 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.2 $"
d23 1
@


1.2
log
@Forgot to remove non-applicable *VERBOSE options.
@
text
@d1 1
a1 1
# $NetBSD: QEMU,v 1.1 2006/10/22 18:49:24 jmmv Exp $
d14 1
a14 1
#ident 		"QEMU-$Revision: 1.1 $"
a35 1
#options 	MULTIBOOT_SYMTAB_SPACE=1048576
@


1.1
log
@Kernel configuration file for the QEMU virtual machine.  This is based on
GENERIC and keeps all MI stuff untouched but removes all MD devices that
are not supported by QEMU.  Inspired by the recently added PARALLELS file.
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
a14 1
#ident 		"QEMU-$Revision$"
a206 3
#options 	ACPIVERBOSE	# verbose ACPI device autoconfig messages
#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
a208 7
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
#options 	SCSIVERBOSE	# human readable SCSI error messages
options 	USBVERBOSE	# verbose USB device autoconfig messages
#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
#options 	I2OVERBOSE	# verbose I2O driver messages
#options 	MCAVERBOSE	# verbose MCA device autoconfig messages
@
