files.xen revision 1.44
11.44Schristos#	$NetBSD: files.xen,v 1.44 2006/07/09 01:59:42 christos 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.40Sbouyer# PCI fixup options
261.40Sbouyerdefflag opt_pcifixup.h  PCI_ADDR_FIXUP PCI_BUS_FIXUP
271.40Sbouyer			PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
281.40Sbouyer
291.40Sbouyerdefparam                PCI_CONF_MODE
301.40Sbouyer
311.1Sclfile	arch/xen/i386/autoconf.c
321.1Sclfile	arch/i386/i386/db_dbgreg.S	ddb | kstack_check_dr0
331.1Sclfile	arch/i386/i386/db_disasm.c	ddb
341.1Sclfile	arch/i386/i386/db_interface.c	ddb
351.1Sclfile	arch/i386/i386/db_memrw.c	ddb | kgdb
361.1Sclfile	arch/i386/i386/db_trace.c	ddb
371.1Sclfile	kern/subr_disk_mbr.c		disk
381.1Sclfile	arch/xen/i386/gdt.c
391.5Sclfile	arch/xen/i386/hypervisor_machdep.c
401.1Sclfile	arch/i386/i386/in_cksum.S	inet | inet6
411.1Sclfile	arch/i386/i386/ipkdb_glue.c	ipkdb
421.1Sclfile	arch/i386/i386/kgdb_machdep.c	kgdb
431.1Sclfile	arch/xen/i386/machdep.c
441.1Sclfile	arch/xen/i386/identcpu.c
451.1Sclfile	arch/i386/i386/math_emulate.c	math_emulate
461.1Sclfile	arch/i386/i386/mem.c
471.1Sclfile	kern/kern_microtime.c		i586_cpu | i686_cpu
481.1Sclfile	arch/i386/i386/mtrr_k6.c	mtrr
491.1Sclfile	netns/ns_cksum.c		ns
501.1Sclfile	arch/xen/i386/pmap.c
511.1Sclfile	arch/i386/i386/process_machdep.c
521.1Sclfile	arch/i386/i386/procfs_machdep.c	procfs
531.11Sclfile	arch/xen/i386/sys_machdep.c
541.1Sclfile	arch/i386/i386/syscall.c
551.1Sclfile	arch/xen/i386/trap.c
561.1Sclfile	arch/i386/i386/vm_machdep.c
571.1Sclfile	arch/xen/i386/xen_machdep.c
581.1Scl
591.1Sclfile	arch/xen/xen/xen_debug.c
601.1Scl
611.1Sclfile	arch/xen/xen/clock.c
621.17Sbouyerfile	arch/xen/xen/evtchn.c
631.33Sbouyerfile	arch/xen/xen/ctrl_if.c			!xen3
641.1Scl
651.35Sbouyerfile	arch/xen/xen/xengnt.c			xen3
661.35Sbouyer
671.1Sclfile	dev/cons.c
681.1Scl
691.1Sclfile	arch/i386/i386/mptramp.S		multiprocessor
701.33Sbouyerfile    arch/i386/i386/ipifuncs.c		multiprocessor
711.1Scl
721.33Sbouyerfile	arch/i386/i386/pmc.c			perfctrs
731.1Scl
741.1Sclfile	crypto/des/arch/i386/des_enc.S		des
751.1Sclfile	crypto/des/arch/i386/des_cbc.S		des
761.1Scl
771.1Sclfile	crypto/blowfish/arch/i386/bf_enc.S	blowfish
781.1Sclfile	crypto/blowfish/arch/i386/bf_cbc.S	blowfish & !i386_cpu
791.1Scl
801.1Scl#
811.1Scl# Machine-independent SCSI drivers
821.1Scl#
831.1Scl
841.17Sbouyerinclude	"dev/scsipi/files.scsipi"
851.1Scl
861.1Scl#
871.1Scl# Machine-independent ATA drivers
881.1Scl#
891.1Scl
901.17Sbouyerinclude	"dev/ata/files.ata"
911.1Scl
921.1Scl# Memory Disk for install floppy
931.1Sclfile	dev/md_root.c			memory_disk_hooks
941.1Scl
951.27Sbouyerfile	arch/x86/x86/bus_dma.c		pci
961.28Sbouyerfile	arch/xen/x86/xen_bus_dma.c	pci
971.27Sbouyerfile	arch/xen/x86/bus_space.c	pci
981.1Sclfile	arch/x86/x86/cacheinfo.c
991.1Sclfile	arch/xen/x86/consinit.c
1001.1Sclfile	arch/xen/x86/intr.c
1011.1Sclfile	arch/x86/x86/ipi.c		multiprocessor
1021.1Sclfile	arch/x86/x86/lock_machdep.c	lockdebug
1031.1Sclfile	arch/x86/x86/softintr.c
1041.32Sjmmvfile	arch/x86/x86/x86_machdep.c
1051.1Scl
1061.1Sclinclude	"arch/xen/conf/files.compat"
1071.1Scl
1081.13Sdrochner# i386 specific mainbus attributes
1091.13Sdrochnerdefine cpubus { [apid = -1] }
1101.13Sdrochnerdefine apmbus {}
1111.13Sdrochnerdefine pnpbiosbus {}
1121.17Sbouyerdefine vesabiosbus {}  
1131.13Sdrochnerdefine hypervisorbus {}
1141.29Sbouyerdefine xendevbus {}
1151.13Sdrochner
1161.1Scl#
1171.1Scl# System bus types
1181.1Scl#
1191.1Scl
1201.17Sbouyerdevice mainbus: cpubus, hypervisorbus
1211.1Sclattach	mainbus at root
1221.5Sclfile	arch/xen/i386/mainbus.c		mainbus
1231.5Scl
1241.5Scl# Xen hypervisor
1251.40Sbouyerdevice	hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus
1261.17Sbouyerattach hypervisor at hypervisorbus
1271.5Sclfile	arch/xen/xen/hypervisor.c	hypervisor needs-flag
1281.1Scl
1291.35Sbouyer# Xenbus (xen3 only)
1301.35Sbouyerdevice xenbus {[id = -1]}
1311.35Sbouyerattach xenbus at xendevbus
1321.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag
1331.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag
1341.37Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag
1351.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag
1361.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag
1371.35Sbouyer
1381.1Scl# Numeric Processing Extension; Math Co-processor
1391.1Scldevice	npx
1401.1Sclfile	arch/xen/i386/npx.c		npx needs-flag
1411.1Scl
1421.29Sbouyerattach	npx at xendevbus with npx_hv
1431.1Sclfile	arch/xen/i386/npx_hv.c		npx_hv
1441.1Scl
1451.1Scl# Xen console support
1461.6Scldevice	xencons: tty
1471.29Sbouyerattach	xencons at xendevbus
1481.6Sclfile	arch/xen/xen/xencons.c		xencons needs-flag
1491.1Scl
1501.17Sbouyer# Xen event peudo-device
1511.17Sbouyerdefpseudo xenevt
1521.41Sbouyerdefpseudo xvif
1531.43Sbouyerdefpseudo xbdback
1541.17Sbouyer
1551.27Sbouyer# Xen Network driver
1561.27Sbouyerdevice	xennet: arp, ether, ifnet
1571.36Sbouyerattach xennet at xendevbus with xennet_hypervisor
1581.36Sbouyerattach xennet at xenbus with xennet_xenbus
1591.37Sbouyerfile   arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag
1601.36Sbouyerfile   arch/xen/xen/if_xennet.c        xennet_hypervisor needs-flag
1611.27Sbouyer
1621.27Sbouyer# Xen Block device driver and wd/sd/cd identities
1631.27Sbouyerdevice	xbd: disk
1641.38Sbouyerattach	xbd at xendevbus with xbd_hypervisor
1651.38Sbouyerattach	xbd at xenbus with xbd_xenbus
1661.38Sbouyer#file	arch/xen/xen/xbd_hypervisor.c	xbd_hypervisor
1671.38Sbouyerfile	arch/xen/xen/xbd_xenbus.c	xbd_xenbus
1681.38Sbouyer#file	arch/xen/xen/xbd.c		xbd | xbd_hypervisor | xbd_xenbus needs-flag
1691.38Sbouyerfile	arch/xen/xen/xbd.c		xbd_hypervisor needs-flag
1701.27Sbouyer
1711.27Sbouyer# Non-Xen specific devices and options
1721.27Sbouyer
1731.9Sclinclude	"dev/wscons/files.wscons"
1741.9Sclinclude	"dev/wsfont/files.wsfont"
1751.1Scl
1761.10Sclinclude	"dev/pckbport/files.pckbport"
1771.10Scl
1781.17Sbouyer#
1791.17Sbouyer# Machine-independent PCI devices
1801.17Sbouyer#
1811.17Sbouyerinclude "dev/i2o/files.i2o"
1821.17Sbouyerinclude "dev/pci/files.pci"
1831.17Sbouyerinclude "dev/pci/files.agp"
1841.17Sbouyerfile 	arch/i386/pci/agp_machdep.c	agp
1851.17Sbouyerfile	arch/xen/xen/pciide_machdep.c	pciide_common
1861.23Schs
1871.17Sbouyer#
1881.17Sbouyer# Machine-independent ISA devices
1891.17Sbouyer#
1901.17Sbouyerinclude "dev/isa/files.isa"
1911.17Sbouyer
1921.31Sbouyerinclude "dev/usb/files.usb"
1931.17Sbouyer
1941.31Sbouyerinclude "dev/ieee1394/files.ieee1394"
1951.17Sbouyer
1961.40Sbouyerdevice  fdc {drive = -1} #XXX
1971.40Sbouyer
1981.44Schristosinclude "dev/apm/files.apm"
1991.44Schristos
2001.40Sbouyerinclude "dev/acpi/files.acpi"
2011.40Sbouyerfile	arch/xen/xen/xen_acpi_machdep.c	acpi
2021.40Sbouyerfile	arch/x86/x86/acpi_machdep.c	acpi
2031.40Sbouyerfile	arch/x86/x86/i8259.c		acpi
2041.40Sbouyer
2051.40Sbouyerfile    arch/i386/pci/pci_bus_fixup.c   pci_bus_fixup
2061.40Sbouyerfile    arch/i386/pci/pci_addr_fixup.c  pci_addr_fixup
2071.40Sbouyer
2081.17Sbouyer# PCI-Host bridge chipsets
2091.17Sbouyerdevice	pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis,
2101.17Sbouyer	      agp_via
2111.17Sbouyerattach	pchb at pci
2121.17Sbouyerfile	arch/i386/pci/pchb.c		pchb			needs-flag
2131.34Stronfile	arch/x86/pci/pchb_rnd.c		pchb & rnd
2141.17Sbouyer
2151.17Sbouyer# PCI-ISA bridges
2161.17Sbouyerdevice  pcib: isabus
2171.17Sbouyerattach  pcib at pci
2181.17Sbouyerfile    arch/xen/xen/pcib.c            pcib
2191.17Sbouyer
2201.1Scl# CPUS
2211.1Scl
2221.1Scldevice cpu
2231.13Sdrochnerattach cpu at cpubus
2241.1Sclfile	arch/xen/i386/cpu.c		cpu
2251.1Scl
2261.1Scl#
2271.1Scl# Compatibility modules
2281.1Scl#
2291.1Scl
2301.1Scl# VM86 mode
2311.1Sclfile	arch/i386/i386/vm86.c			vm86
2321.1Scl
2331.1Scl# VM86 in kernel
2341.1Sclfile	arch/i386/i386/kvm86.c			kvm86
2351.1Sclfile	arch/i386/i386/kvm86call.S		kvm86
2361.1Scl
2371.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2381.1Sclfile	arch/i386/i386/compat_13_machdep.c	compat_13 | compat_aout
2391.1Sclfile	arch/i386/i386/compat_16_machdep.c	compat_16 | compat_ibcs2
2401.1Scl
2411.1Scl# SVR4 binary compatibility (COMPAT_SVR4)
2421.1Sclinclude	"compat/svr4/files.svr4"
2431.1Sclfile	arch/i386/i386/svr4_machdep.c		compat_svr4
2441.1Sclfile	arch/i386/i386/svr4_sigcode.S		compat_svr4
2451.1Sclfile	arch/i386/i386/svr4_syscall.c		compat_svr4
2461.1Scl
2471.1Scl# MACH binary compatibility (COMPAT_MACH)
2481.1Sclinclude	"compat/mach/files.mach"
2491.1Sclfile	arch/i386/i386/mach_machdep.c		compat_mach | compat_darwin
2501.1Sclfile	arch/i386/i386/mach_sigcode.S		compat_mach | compat_darwin
2511.1Sclfile	arch/i386/i386/mach_syscall.c		compat_mach | compat_darwin
2521.1Sclfile	arch/i386/i386/macho_machdep.c		exec_macho
2531.1Scl
2541.1Scl# DARWIN binary compatibility (COMPAT_DARWIN)
2551.1Sclinclude	"compat/darwin/files.darwin"
2561.1Sclfile	arch/i386/i386/darwin_machdep.c		compat_darwin
2571.1Scl
2581.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2)
2591.1Sclinclude	"compat/ibcs2/files.ibcs2"
2601.1Sclfile	arch/i386/i386/ibcs2_machdep.c		compat_ibcs2
2611.1Sclfile	arch/i386/i386/ibcs2_sigcode.S		compat_ibcs2
2621.1Sclfile	arch/i386/i386/ibcs2_syscall.c		compat_ibcs2
2631.1Scl
2641.1Scl# Linux binary compatibility (COMPAT_LINUX)
2651.1Sclinclude	"compat/linux/files.linux"
2661.1Sclinclude	"compat/linux/arch/i386/files.linux_i386"
2671.1Sclfile	arch/i386/i386/linux_sigcode.S		compat_linux
2681.1Sclfile	arch/i386/i386/linux_syscall.c		compat_linux
2691.22Syamtfile	arch/x86/x86/linux_trap.c		compat_linux
2701.1Scl
2711.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD)
2721.1Sclinclude	"compat/freebsd/files.freebsd"
2731.1Sclfile	arch/i386/i386/freebsd_machdep.c	compat_freebsd
2741.1Sclfile	arch/i386/i386/freebsd_sigcode.S	compat_freebsd
2751.1Sclfile	arch/i386/i386/freebsd_syscall.c	compat_freebsd
2761.1Scl
2771.1Scl# Win32 binary compatibility (COMPAT_PECOFF)
2781.1Sclinclude	"compat/pecoff/files.pecoff"
2791.1Scl
2801.1Scl# OSS audio driver compatibility
2811.1Sclinclude	"compat/ossaudio/files.ossaudio"
2821.1Scl
2831.26Syamt#
2841.26Syamt# CARDBUS
2851.26Syamt#
2861.26Syamtinclude	"dev/cardbus/files.cardbus"
2871.26Syamtfile	arch/i386/i386/rbus_machdep.c	cardbus
2881.26Syamt
2891.26Syamt# this wants to be probed as late as possible.
2901.26Syamt#
2911.26Syamt# Machine-independent PCMCIA drivers
2921.26Syamt#
2931.26Syamtinclude	"dev/pcmcia/files.pcmcia"
2941.26Syamt
2951.12Scl# Domain-0 operations
2961.12Scldefflag	opt_xen.h			DOM0OPS
2971.12Sclfile	arch/xen/xen/privcmd.c		dom0ops
2981.42Sbouyerfile 	arch/xen/i386/xen_shm_machdep.c	dom0ops | xen3
2991.33Sbouyerfile	arch/xen/xen/xbdback.c		dom0ops & !xen3
3001.33Sbouyerfile	arch/xen/xen/xennetback.c	dom0ops & !xen3
3011.40Sbouyerfile	arch/xen/xen/pci_machdep.c	hypervisor & pci & !xen3
3021.40Sbouyerfile	arch/x86/pci/pci_machdep.c	hypervisor & pci & xen3
3031.40Sbouyerfile	arch/xen/xen/pci_intr_machdep.c	hypervisor & pci
3041.17Sbouyerfile	arch/xen/xen/isa_machdep.c	hypervisor & dom0ops
3051.17Sbouyerfile	arch/xen/xen/xenevt.c		xenevt & dom0ops
3061.41Sbouyerfile	arch/xen/xen/xennetback_xenbus.c xvif & xen3
3071.43Sbouyerfile	arch/xen/xen/xbdback_xenbus.c xbdback & xen3
3081.12Scl
3091.18Sbouyerinclude "arch/i386/conf/majors.i386"
310