files.xen revision 1.35
11.35Sbouyer#	$NetBSD: files.xen,v 1.35 2006/03/06 20:34:09 bouyer Exp $
21.1Scl#	NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp 
31.4Scl#	NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp 
41.1Scl
51.3Swizmaxpartitions 8
61.1Scl
71.1Sclmaxusers 2 16 128
81.1Scl
91.30Syamtdefparam opt_kernbase.h	KERNBASE
101.30Syamt
111.1Scl# Processor type options.
121.1Scldefflag	opt_cputype.h	I686_CPU
131.1Scl
141.1Scl# delay before cpu_reset() for reboot.
151.1Scldefparam		CPURESET_DELAY
161.1Scl
171.1Scl# No unmapped page below kernel stack
181.1Scldefflag			NOREDZONE
191.1Scl
201.1Scl# Beep on halt
211.1Scldefflag opt_beep.h		BEEP_ONHALT
221.1Scldefparam opt_beep.h		BEEP_ONHALT_COUNT
231.1Scldefparam opt_beep.h		BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD
241.1Scl
251.1Sclfile	arch/xen/i386/autoconf.c
261.1Sclfile	arch/i386/i386/db_dbgreg.S	ddb | kstack_check_dr0
271.1Sclfile	arch/i386/i386/db_disasm.c	ddb
281.1Sclfile	arch/i386/i386/db_interface.c	ddb
291.1Sclfile	arch/i386/i386/db_memrw.c	ddb | kgdb
301.1Sclfile	arch/i386/i386/db_trace.c	ddb
311.1Sclfile	kern/subr_disk_mbr.c		disk
321.1Sclfile	arch/xen/i386/gdt.c
331.5Sclfile	arch/xen/i386/hypervisor_machdep.c
341.1Sclfile	arch/i386/i386/in_cksum.S	inet | inet6
351.1Sclfile	arch/i386/i386/ipkdb_glue.c	ipkdb
361.1Sclfile	arch/i386/i386/kgdb_machdep.c	kgdb
371.1Sclfile	arch/xen/i386/machdep.c
381.1Sclfile	arch/xen/i386/identcpu.c
391.1Sclfile	arch/i386/i386/math_emulate.c	math_emulate
401.1Sclfile	arch/i386/i386/mem.c
411.1Sclfile	kern/kern_microtime.c		i586_cpu | i686_cpu
421.1Sclfile	arch/i386/i386/mtrr_k6.c	mtrr
431.1Sclfile	netns/ns_cksum.c		ns
441.1Sclfile	arch/xen/i386/pmap.c
451.1Sclfile	arch/i386/i386/process_machdep.c
461.1Sclfile	arch/i386/i386/procfs_machdep.c	procfs
471.11Sclfile	arch/xen/i386/sys_machdep.c
481.1Sclfile	arch/i386/i386/syscall.c
491.1Sclfile	arch/xen/i386/trap.c
501.1Sclfile	arch/i386/i386/vm_machdep.c
511.1Sclfile	arch/xen/i386/xen_machdep.c
521.1Scl
531.1Sclfile	arch/xen/xen/xen_debug.c
541.1Scl
551.1Sclfile	arch/xen/xen/clock.c
561.17Sbouyerfile	arch/xen/xen/evtchn.c
571.33Sbouyerfile	arch/xen/xen/ctrl_if.c			!xen3
581.1Scl
591.35Sbouyerfile	arch/xen/xen/xengnt.c			xen3
601.35Sbouyer
611.1Sclfile	dev/cons.c
621.1Scl
631.1Sclfile	arch/i386/i386/mptramp.S		multiprocessor
641.33Sbouyerfile    arch/i386/i386/ipifuncs.c		multiprocessor
651.1Scl
661.33Sbouyerfile	arch/i386/i386/pmc.c			perfctrs
671.1Scl
681.1Sclfile	crypto/des/arch/i386/des_enc.S		des
691.1Sclfile	crypto/des/arch/i386/des_cbc.S		des
701.1Scl
711.1Sclfile	crypto/blowfish/arch/i386/bf_enc.S	blowfish
721.1Sclfile	crypto/blowfish/arch/i386/bf_cbc.S	blowfish & !i386_cpu
731.1Scl
741.1Scl#
751.1Scl# Machine-independent SCSI drivers
761.1Scl#
771.1Scl
781.17Sbouyerinclude	"dev/scsipi/files.scsipi"
791.1Scl
801.1Scl#
811.1Scl# Machine-independent ATA drivers
821.1Scl#
831.1Scl
841.17Sbouyerinclude	"dev/ata/files.ata"
851.1Scl
861.1Scl# Memory Disk for install floppy
871.1Sclfile	dev/md_root.c			memory_disk_hooks
881.1Scl
891.27Sbouyerfile	arch/x86/x86/bus_dma.c		pci
901.28Sbouyerfile	arch/xen/x86/xen_bus_dma.c	pci
911.27Sbouyerfile	arch/xen/x86/bus_space.c	pci
921.1Sclfile	arch/x86/x86/cacheinfo.c
931.1Sclfile	arch/xen/x86/consinit.c
941.1Sclfile	arch/xen/x86/intr.c
951.1Sclfile	arch/x86/x86/ipi.c		multiprocessor
961.1Sclfile	arch/x86/x86/lock_machdep.c	lockdebug
971.1Sclfile	arch/x86/x86/softintr.c
981.32Sjmmvfile	arch/x86/x86/x86_machdep.c
991.1Scl
1001.1Sclinclude	"arch/xen/conf/files.compat"
1011.1Scl
1021.13Sdrochner# i386 specific mainbus attributes
1031.13Sdrochnerdefine cpubus { [apid = -1] }
1041.13Sdrochnerdefine apmbus {}
1051.13Sdrochnerdefine pnpbiosbus {}
1061.17Sbouyerdefine vesabiosbus {}  
1071.13Sdrochnerdefine hypervisorbus {}
1081.29Sbouyerdefine xendevbus {}
1091.13Sdrochner
1101.1Scl#
1111.1Scl# System bus types
1121.1Scl#
1131.1Scl
1141.17Sbouyerdevice mainbus: cpubus, hypervisorbus
1151.1Sclattach	mainbus at root
1161.5Sclfile	arch/xen/i386/mainbus.c		mainbus
1171.5Scl
1181.5Scl# Xen hypervisor
1191.29Sbouyerdevice	hypervisor { }: isabus, pcibus, sysmon_power, xendevbus
1201.17Sbouyerattach hypervisor at hypervisorbus
1211.5Sclfile	arch/xen/xen/hypervisor.c	hypervisor needs-flag
1221.1Scl
1231.35Sbouyer# Xenbus (xen3 only)
1241.35Sbouyerdevice xenbus {[id = -1]}
1251.35Sbouyerattach xenbus at xendevbus
1261.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag
1271.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag
1281.35Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 needs-flag
1291.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag
1301.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag
1311.35Sbouyer
1321.1Scl# Numeric Processing Extension; Math Co-processor
1331.1Scldevice	npx
1341.1Sclfile	arch/xen/i386/npx.c		npx needs-flag
1351.1Scl
1361.29Sbouyerattach	npx at xendevbus with npx_hv
1371.1Sclfile	arch/xen/i386/npx_hv.c		npx_hv
1381.1Scl
1391.1Scl# Xen console support
1401.6Scldevice	xencons: tty
1411.29Sbouyerattach	xencons at xendevbus
1421.6Sclfile	arch/xen/xen/xencons.c		xencons needs-flag
1431.1Scl
1441.17Sbouyer# Xen event peudo-device
1451.17Sbouyerdefpseudo xenevt
1461.17Sbouyer
1471.27Sbouyer# Xen Network driver
1481.27Sbouyerdevice	xennet: arp, ether, ifnet
1491.29Sbouyerattach	xennet at xendevbus
1501.27Sbouyerfile	arch/xen/xen/if_xennet.c	xennet needs-flag
1511.27Sbouyer
1521.27Sbouyer# Xen Block device driver and wd/sd/cd identities
1531.27Sbouyerdevice	xbd: disk
1541.29Sbouyerattach	xbd at xendevbus
1551.27Sbouyerfile	arch/xen/xen/xbd.c		xbd | wd_xen | sd_xen | cd_xen needs-flag
1561.27Sbouyer
1571.27Sbouyer#attach	wd at hypervisor with wd_xen
1581.27Sbouyer#attach	sd at hypervisor with sd_xen
1591.27Sbouyer#attach	cd at hypervisor with cd_xen
1601.27Sbouyer
1611.27Sbouyer# Non-Xen specific devices and options
1621.27Sbouyer
1631.9Sclinclude	"dev/wscons/files.wscons"
1641.9Sclinclude	"dev/wsfont/files.wsfont"
1651.1Scl
1661.10Sclinclude	"dev/pckbport/files.pckbport"
1671.10Scl
1681.17Sbouyer#
1691.17Sbouyer# Machine-independent PCI devices
1701.17Sbouyer#
1711.17Sbouyerinclude "dev/i2o/files.i2o"
1721.17Sbouyerinclude "dev/pci/files.pci"
1731.17Sbouyerinclude "dev/pci/files.agp"
1741.17Sbouyerfile 	arch/i386/pci/agp_machdep.c	agp
1751.17Sbouyerfile	arch/xen/xen/pciide_machdep.c	pciide_common
1761.23Schs
1771.23Schs# Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL)
1781.24Sdyoungobject	/athhal-i386-elf.hal.o	ath
1791.23Schs
1801.17Sbouyer#
1811.17Sbouyer# Machine-independent ISA devices
1821.17Sbouyer#
1831.17Sbouyerinclude "dev/isa/files.isa"
1841.17Sbouyer
1851.31Sbouyerinclude "dev/usb/files.usb"
1861.17Sbouyer
1871.31Sbouyerinclude "dev/ieee1394/files.ieee1394"
1881.17Sbouyer
1891.17Sbouyer# PCI-Host bridge chipsets
1901.17Sbouyerdevice	pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis,
1911.17Sbouyer	      agp_via
1921.17Sbouyerattach	pchb at pci
1931.17Sbouyerfile	arch/i386/pci/pchb.c		pchb			needs-flag
1941.34Stronfile	arch/x86/pci/pchb_rnd.c		pchb & rnd
1951.17Sbouyer
1961.17Sbouyer# PCI-ISA bridges
1971.17Sbouyerdevice  pcib: isabus
1981.17Sbouyerattach  pcib at pci
1991.17Sbouyerfile    arch/xen/xen/pcib.c            pcib
2001.17Sbouyer
2011.1Scl# CPUS
2021.1Scl
2031.1Scldevice cpu
2041.13Sdrochnerattach cpu at cpubus
2051.1Sclfile	arch/xen/i386/cpu.c		cpu
2061.1Scl
2071.1Scl#
2081.1Scl# Compatibility modules
2091.1Scl#
2101.1Scl
2111.1Scl# VM86 mode
2121.1Sclfile	arch/i386/i386/vm86.c			vm86
2131.1Scl
2141.1Scl# VM86 in kernel
2151.1Sclfile	arch/i386/i386/kvm86.c			kvm86
2161.1Sclfile	arch/i386/i386/kvm86call.S		kvm86
2171.1Scl
2181.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2191.1Sclfile	arch/i386/i386/compat_13_machdep.c	compat_13 | compat_aout
2201.1Sclfile	arch/i386/i386/compat_16_machdep.c	compat_16 | compat_ibcs2
2211.1Scl
2221.1Scl# SVR4 binary compatibility (COMPAT_SVR4)
2231.1Sclinclude	"compat/svr4/files.svr4"
2241.1Sclfile	arch/i386/i386/svr4_machdep.c		compat_svr4
2251.1Sclfile	arch/i386/i386/svr4_sigcode.S		compat_svr4
2261.1Sclfile	arch/i386/i386/svr4_syscall.c		compat_svr4
2271.1Scl
2281.1Scl# MACH binary compatibility (COMPAT_MACH)
2291.1Sclinclude	"compat/mach/files.mach"
2301.1Sclfile	arch/i386/i386/mach_machdep.c		compat_mach | compat_darwin
2311.1Sclfile	arch/i386/i386/mach_sigcode.S		compat_mach | compat_darwin
2321.1Sclfile	arch/i386/i386/mach_syscall.c		compat_mach | compat_darwin
2331.1Sclfile	arch/i386/i386/macho_machdep.c		exec_macho
2341.1Scl
2351.1Scl# DARWIN binary compatibility (COMPAT_DARWIN)
2361.1Sclinclude	"compat/darwin/files.darwin"
2371.1Sclfile	arch/i386/i386/darwin_machdep.c		compat_darwin
2381.1Scl
2391.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2)
2401.1Sclinclude	"compat/ibcs2/files.ibcs2"
2411.1Sclfile	arch/i386/i386/ibcs2_machdep.c		compat_ibcs2
2421.1Sclfile	arch/i386/i386/ibcs2_sigcode.S		compat_ibcs2
2431.1Sclfile	arch/i386/i386/ibcs2_syscall.c		compat_ibcs2
2441.1Scl
2451.1Scl# Linux binary compatibility (COMPAT_LINUX)
2461.1Sclinclude	"compat/linux/files.linux"
2471.1Sclinclude	"compat/linux/arch/i386/files.linux_i386"
2481.1Sclfile	arch/i386/i386/linux_sigcode.S		compat_linux
2491.1Sclfile	arch/i386/i386/linux_syscall.c		compat_linux
2501.22Syamtfile	arch/x86/x86/linux_trap.c		compat_linux
2511.1Scl
2521.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD)
2531.1Sclinclude	"compat/freebsd/files.freebsd"
2541.1Sclfile	arch/i386/i386/freebsd_machdep.c	compat_freebsd
2551.1Sclfile	arch/i386/i386/freebsd_sigcode.S	compat_freebsd
2561.1Sclfile	arch/i386/i386/freebsd_syscall.c	compat_freebsd
2571.1Scl
2581.1Scl# Win32 binary compatibility (COMPAT_PECOFF)
2591.1Sclinclude	"compat/pecoff/files.pecoff"
2601.1Scl
2611.1Scl# OSS audio driver compatibility
2621.1Sclinclude	"compat/ossaudio/files.ossaudio"
2631.1Scl
2641.26Syamt#
2651.26Syamt# CARDBUS
2661.26Syamt#
2671.26Syamtinclude	"dev/cardbus/files.cardbus"
2681.26Syamtfile	arch/i386/i386/rbus_machdep.c	cardbus
2691.26Syamt
2701.26Syamt# this wants to be probed as late as possible.
2711.26Syamt#
2721.26Syamt# Machine-independent PCMCIA drivers
2731.26Syamt#
2741.26Syamtinclude	"dev/pcmcia/files.pcmcia"
2751.26Syamt
2761.12Scl# Domain-0 operations
2771.12Scldefflag	opt_xen.h			DOM0OPS
2781.12Sclfile	arch/xen/xen/privcmd.c		dom0ops
2791.17Sbouyerfile 	arch/xen/i386/xen_shm_machdep.c	dom0ops
2801.33Sbouyerfile	arch/xen/xen/xbdback.c		dom0ops & !xen3
2811.33Sbouyerfile	arch/xen/xen/xennetback.c	dom0ops & !xen3
2821.27Sbouyerfile	arch/xen/xen/pci_machdep.c	hypervisor & pci
2831.17Sbouyerfile	arch/xen/xen/isa_machdep.c	hypervisor & dom0ops
2841.17Sbouyerfile	arch/xen/xen/xenevt.c		xenevt & dom0ops
2851.12Scl
2861.18Sbouyerinclude "arch/i386/conf/majors.i386"
287