files.xen revision 1.68
11.68Sxtraeme#	$NetBSD: files.xen,v 1.68 2007/10/26 22:33:23 xtraeme 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.48Sbouyer# options for MP configuration through the MP spec
151.48Sbouyerdefflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
161.48Sbouyer
171.1Scl# delay before cpu_reset() for reboot.
181.1Scldefparam		CPURESET_DELAY
191.1Scl
201.1Scl# No unmapped page below kernel stack
211.1Scldefflag			NOREDZONE
221.1Scl
231.1Scl# Beep on halt
241.1Scldefflag opt_beep.h		BEEP_ONHALT
251.56Sdsldefparam opt_beep.h		BEEP_ONHALT_COUNT=3
261.56Sdsldefparam opt_beep.h		BEEP_ONHALT_PITCH=1500
271.56Sdsldefparam opt_beep.h		BEEP_ONHALT_PERIOD=250
281.1Scl
291.40Sbouyer# PCI fixup options
301.40Sbouyerdefflag opt_pcifixup.h  PCI_ADDR_FIXUP PCI_BUS_FIXUP
311.40Sbouyer			PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
321.40Sbouyer
331.40Sbouyerdefparam                PCI_CONF_MODE
341.40Sbouyer
351.1Sclfile	arch/xen/i386/autoconf.c
361.64Sadfile	arch/i386/i386/busfunc.S
371.64Sadfile	arch/i386/i386/cpufunc.S
381.1Sclfile	arch/i386/i386/db_dbgreg.S	ddb | kstack_check_dr0
391.1Sclfile	arch/i386/i386/db_disasm.c	ddb
401.1Sclfile	arch/i386/i386/db_interface.c	ddb
411.1Sclfile	arch/i386/i386/db_memrw.c	ddb | kgdb
421.1Sclfile	arch/i386/i386/db_trace.c	ddb
431.1Sclfile	kern/subr_disk_mbr.c		disk
441.1Sclfile	arch/xen/i386/gdt.c
451.5Sclfile	arch/xen/i386/hypervisor_machdep.c
461.61Syamtfile	arch/xen/i386/idle_machdep.c
471.1Sclfile	arch/i386/i386/in_cksum.S	inet | inet6
481.1Sclfile	arch/i386/i386/ipkdb_glue.c	ipkdb
491.1Sclfile	arch/i386/i386/kgdb_machdep.c	kgdb
501.1Sclfile	arch/xen/i386/machdep.c
511.1Sclfile	arch/xen/i386/identcpu.c
521.1Sclfile	arch/i386/i386/math_emulate.c	math_emulate
531.1Sclfile	arch/i386/i386/mem.c
541.68Sxtraemefile 	arch/x86/x86/mtrr_i686.c	mtrr
551.1Sclfile	arch/i386/i386/mtrr_k6.c	mtrr
561.1Sclfile	arch/xen/i386/pmap.c
571.1Sclfile	arch/i386/i386/process_machdep.c
581.1Sclfile	arch/i386/i386/procfs_machdep.c	procfs
591.1Sclfile	arch/i386/i386/syscall.c
601.1Sclfile	arch/xen/i386/trap.c
611.1Sclfile	arch/i386/i386/vm_machdep.c
621.1Sclfile	arch/xen/i386/xen_machdep.c
631.61Syamtfile	arch/xen/i386/xen_intr.c
641.64Sadfile	arch/xen/i386/xenfunc.c
651.55Sadfile	arch/i386/i386/lock_stubs.S
661.1Scl
671.1Sclfile	arch/xen/xen/xen_debug.c
681.1Scl
691.1Sclfile	arch/xen/xen/clock.c
701.17Sbouyerfile	arch/xen/xen/evtchn.c
711.33Sbouyerfile	arch/xen/xen/ctrl_if.c			!xen3
721.1Scl
731.35Sbouyerfile	arch/xen/xen/xengnt.c			xen3
741.35Sbouyer
751.1Sclfile	dev/cons.c
761.1Scl
771.1Sclfile	arch/i386/i386/mptramp.S		multiprocessor
781.33Sbouyerfile    arch/i386/i386/ipifuncs.c		multiprocessor
791.1Scl
801.33Sbouyerfile	arch/i386/i386/pmc.c			perfctrs
811.1Scl
821.1Sclfile	crypto/des/arch/i386/des_enc.S		des
831.1Sclfile	crypto/des/arch/i386/des_cbc.S		des
841.1Scl
851.1Sclfile	crypto/blowfish/arch/i386/bf_enc.S	blowfish
861.1Sclfile	crypto/blowfish/arch/i386/bf_cbc.S	blowfish & !i386_cpu
871.1Scl
881.1Scl#
891.1Scl# Machine-independent SCSI drivers
901.1Scl#
911.1Scl
921.17Sbouyerinclude	"dev/scsipi/files.scsipi"
931.1Scl
941.1Scl#
951.1Scl# Machine-independent ATA drivers
961.1Scl#
971.1Scl
981.17Sbouyerinclude	"dev/ata/files.ata"
991.1Scl
1001.1Scl# Memory Disk for install floppy
1011.1Sclfile	dev/md_root.c			memory_disk_hooks
1021.1Scl
1031.27Sbouyerfile	arch/x86/x86/bus_dma.c		pci
1041.28Sbouyerfile	arch/xen/x86/xen_bus_dma.c	pci
1051.64Sadfile	arch/x86/x86/bus_space.c	pci
1061.1Sclfile	arch/x86/x86/cacheinfo.c
1071.1Sclfile	arch/xen/x86/consinit.c
1081.1Sclfile	arch/xen/x86/intr.c
1091.1Sclfile	arch/x86/x86/ipi.c		multiprocessor
1101.1Sclfile	arch/x86/x86/lock_machdep.c	lockdebug
1111.1Sclfile	arch/x86/x86/softintr.c
1121.59Sadfile	arch/x86/x86/sys_machdep.c
1131.32Sjmmvfile	arch/x86/x86/x86_machdep.c
1141.1Scl
1151.1Sclinclude	"arch/xen/conf/files.compat"
1161.1Scl
1171.49Sbouyer# BIOS32 routines
1181.49Sbouyerdefine  bios32
1191.49Sbouyerfile	arch/xen/i386/bios32.c		bios32 needs-flag
1201.49Sbouyer
1211.13Sdrochner# i386 specific mainbus attributes
1221.13Sdrochnerdefine cpubus { [apid = -1] }
1231.57Sdrochnerdefine ioapicbus { [apid = -1] }
1241.13Sdrochnerdefine apmbus {}
1251.13Sdrochnerdefine pnpbiosbus {}
1261.17Sbouyerdefine vesabiosbus {}  
1271.13Sdrochnerdefine hypervisorbus {}
1281.29Sbouyerdefine xendevbus {}
1291.49Sbouyerdefine ipmibus {}
1301.13Sdrochner
1311.1Scl#
1321.1Scl# System bus types
1331.1Scl#
1341.1Scl
1351.57Sdrochnerdevice mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus
1361.1Sclattach	mainbus at root
1371.5Sclfile	arch/xen/i386/mainbus.c		mainbus
1381.5Scl
1391.5Scl# Xen hypervisor
1401.48Sbouyerdevice	hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus
1411.17Sbouyerattach hypervisor at hypervisorbus
1421.5Sclfile	arch/xen/xen/hypervisor.c	hypervisor needs-flag
1431.46Syamtfile	arch/xen/xen/shutdown_xenbus.c	hypervisor & xen3
1441.1Scl
1451.35Sbouyer# Xenbus (xen3 only)
1461.35Sbouyerdevice xenbus {[id = -1]}
1471.35Sbouyerattach xenbus at xendevbus
1481.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag
1491.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag
1501.37Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag
1511.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag
1521.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag
1531.35Sbouyer
1541.1Scl# Numeric Processing Extension; Math Co-processor
1551.1Scldevice	npx
1561.1Sclfile	arch/xen/i386/npx.c		npx needs-flag
1571.1Scl
1581.29Sbouyerattach	npx at xendevbus with npx_hv
1591.1Sclfile	arch/xen/i386/npx_hv.c		npx_hv
1601.1Scl
1611.1Scl# Xen console support
1621.6Scldevice	xencons: tty
1631.29Sbouyerattach	xencons at xendevbus
1641.6Sclfile	arch/xen/xen/xencons.c		xencons needs-flag
1651.1Scl
1661.17Sbouyer# Xen event peudo-device
1671.17Sbouyerdefpseudo xenevt
1681.41Sbouyerdefpseudo xvif
1691.43Sbouyerdefpseudo xbdback
1701.17Sbouyer
1711.27Sbouyer# Xen Network driver
1721.27Sbouyerdevice	xennet: arp, ether, ifnet
1731.36Sbouyerattach xennet at xendevbus with xennet_hypervisor
1741.36Sbouyerattach xennet at xenbus with xennet_xenbus
1751.37Sbouyerfile   arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag
1761.36Sbouyerfile   arch/xen/xen/if_xennet.c        xennet_hypervisor needs-flag
1771.27Sbouyer
1781.27Sbouyer# Xen Block device driver and wd/sd/cd identities
1791.27Sbouyerdevice	xbd: disk
1801.38Sbouyerattach	xbd at xendevbus with xbd_hypervisor
1811.38Sbouyerattach	xbd at xenbus with xbd_xenbus
1821.38Sbouyer#file	arch/xen/xen/xbd_hypervisor.c	xbd_hypervisor
1831.38Sbouyerfile	arch/xen/xen/xbd_xenbus.c	xbd_xenbus
1841.38Sbouyer#file	arch/xen/xen/xbd.c		xbd | xbd_hypervisor | xbd_xenbus needs-flag
1851.38Sbouyerfile	arch/xen/xen/xbd.c		xbd_hypervisor needs-flag
1861.27Sbouyer
1871.27Sbouyer# Non-Xen specific devices and options
1881.27Sbouyer
1891.9Sclinclude	"dev/wscons/files.wscons"
1901.9Sclinclude	"dev/wsfont/files.wsfont"
1911.58Smacallaninclude "dev/wsfb/files.wsfb"
1921.1Scl
1931.10Sclinclude	"dev/pckbport/files.pckbport"
1941.10Scl
1951.17Sbouyer#
1961.17Sbouyer# Machine-independent PCI devices
1971.17Sbouyer#
1981.17Sbouyerinclude "dev/i2o/files.i2o"
1991.17Sbouyerinclude "dev/pci/files.pci"
2001.17Sbouyerinclude "dev/pci/files.agp"
2011.54Sgdtfile 	arch/x86/pci/agp_machdep.c	agp
2021.17Sbouyerfile	arch/xen/xen/pciide_machdep.c	pciide_common
2031.23Schs
2041.17Sbouyer#
2051.17Sbouyer# Machine-independent ISA devices
2061.17Sbouyer#
2071.17Sbouyerinclude "dev/isa/files.isa"
2081.17Sbouyer
2091.31Sbouyerinclude "dev/usb/files.usb"
2101.17Sbouyer
2111.31Sbouyerinclude "dev/ieee1394/files.ieee1394"
2121.17Sbouyer
2131.40Sbouyerdevice  fdc {drive = -1} #XXX
2141.40Sbouyer
2151.44Schristosinclude "dev/apm/files.apm"
2161.44Schristos
2171.40Sbouyerinclude "dev/acpi/files.acpi"
2181.40Sbouyerfile	arch/xen/xen/xen_acpi_machdep.c	acpi
2191.48Sbouyerfile	arch/x86/x86/mpacpi.c		acpi
2201.40Sbouyerfile	arch/x86/x86/acpi_machdep.c	acpi
2211.48Sbouyerfile	arch/x86/x86/i8259.c		xen3
2221.48Sbouyer
2231.48Sbouyer# MP configuration using Intel SMP specification 1.4
2241.48Sbouyerfile	arch/x86/x86/mpbios.c		mpbios
2251.40Sbouyer
2261.40Sbouyerfile    arch/i386/pci/pci_bus_fixup.c   pci_bus_fixup
2271.40Sbouyerfile    arch/i386/pci/pci_addr_fixup.c  pci_addr_fixup
2281.40Sbouyer
2291.48Sbouyerfile	arch/x86/x86/apic.c		ioapic
2301.48Sbouyer
2311.48Sbouyerdevice ioapic
2321.57Sdrochnerattach ioapic at ioapicbus
2331.48Sbouyerfile	arch/x86/x86/ioapic.c		ioapic needs-flag
2341.48Sbouyer
2351.49Sbouyer#IPMI device
2361.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog
2371.49Sbouyerattach ipmi at ipmibus
2381.49Sbouyerfile	arch/x86/x86/ipmi.c		ipmi needs-flag
2391.49Sbouyer
2401.17Sbouyer# PCI-Host bridge chipsets
2411.17Sbouyerdevice	pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis,
2421.17Sbouyer	      agp_via
2431.17Sbouyerattach	pchb at pci
2441.66Sxtraemefile	arch/x86/pci/pchb.c		pchb			needs-flag
2451.34Stronfile	arch/x86/pci/pchb_rnd.c		pchb & rnd
2461.17Sbouyer
2471.17Sbouyer# PCI-ISA bridges
2481.62Salcdevice	pcib: isabus
2491.62Salcattach	pcib at pci
2501.62Salcfile	arch/xen/xen/pcib.c		pcib | ichlpcib
2511.62Salc
2521.62Salc# PCI-LPC bridges
2531.62Salcdevice	ichlpcib: isabus, sysmon_wdog
2541.62Salcattach	ichlpcib at pci
2551.67Sxtraemefile	arch/x86/pci/ichlpcib.c 	ichlpcib
2561.62Salc
2571.17Sbouyer
2581.1Scl# CPUS
2591.1Scl
2601.1Scldevice cpu
2611.13Sdrochnerattach cpu at cpubus
2621.48Sbouyer
2631.48Sbouyerdevice vcpu
2641.48Sbouyerattach vcpu at xendevbus
2651.48Sbouyer
2661.48Sbouyerfile	arch/xen/i386/cpu.c		cpu | vcpu
2671.1Scl
2681.1Scl#
2691.1Scl# Compatibility modules
2701.1Scl#
2711.1Scl
2721.1Scl# VM86 mode
2731.1Sclfile	arch/i386/i386/vm86.c			vm86
2741.1Scl
2751.1Scl# VM86 in kernel
2761.1Sclfile	arch/i386/i386/kvm86.c			kvm86
2771.1Sclfile	arch/i386/i386/kvm86call.S		kvm86
2781.1Scl
2791.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2801.53Sdrochnerfile	arch/i386/i386/compat_13_machdep.c	compat_13
2811.1Sclfile	arch/i386/i386/compat_16_machdep.c	compat_16 | compat_ibcs2
2821.1Scl
2831.1Scl# SVR4 binary compatibility (COMPAT_SVR4)
2841.1Sclinclude	"compat/svr4/files.svr4"
2851.1Sclfile	arch/i386/i386/svr4_machdep.c		compat_svr4
2861.1Sclfile	arch/i386/i386/svr4_sigcode.S		compat_svr4
2871.1Sclfile	arch/i386/i386/svr4_syscall.c		compat_svr4
2881.1Scl
2891.1Scl# MACH binary compatibility (COMPAT_MACH)
2901.1Sclinclude	"compat/mach/files.mach"
2911.1Sclfile	arch/i386/i386/mach_machdep.c		compat_mach | compat_darwin
2921.1Sclfile	arch/i386/i386/mach_sigcode.S		compat_mach | compat_darwin
2931.1Sclfile	arch/i386/i386/mach_syscall.c		compat_mach | compat_darwin
2941.1Sclfile	arch/i386/i386/macho_machdep.c		exec_macho
2951.1Scl
2961.1Scl# DARWIN binary compatibility (COMPAT_DARWIN)
2971.1Sclinclude	"compat/darwin/files.darwin"
2981.1Sclfile	arch/i386/i386/darwin_machdep.c		compat_darwin
2991.1Scl
3001.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2)
3011.1Sclinclude	"compat/ibcs2/files.ibcs2"
3021.1Sclfile	arch/i386/i386/ibcs2_machdep.c		compat_ibcs2
3031.1Sclfile	arch/i386/i386/ibcs2_sigcode.S		compat_ibcs2
3041.1Sclfile	arch/i386/i386/ibcs2_syscall.c		compat_ibcs2
3051.1Scl
3061.1Scl# Linux binary compatibility (COMPAT_LINUX)
3071.1Sclinclude	"compat/linux/files.linux"
3081.1Sclinclude	"compat/linux/arch/i386/files.linux_i386"
3091.1Sclfile	arch/i386/i386/linux_sigcode.S		compat_linux
3101.1Sclfile	arch/i386/i386/linux_syscall.c		compat_linux
3111.22Syamtfile	arch/x86/x86/linux_trap.c		compat_linux
3121.1Scl
3131.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD)
3141.1Sclinclude	"compat/freebsd/files.freebsd"
3151.1Sclfile	arch/i386/i386/freebsd_machdep.c	compat_freebsd
3161.1Sclfile	arch/i386/i386/freebsd_sigcode.S	compat_freebsd
3171.1Sclfile	arch/i386/i386/freebsd_syscall.c	compat_freebsd
3181.1Scl
3191.1Scl# Win32 binary compatibility (COMPAT_PECOFF)
3201.1Sclinclude	"compat/pecoff/files.pecoff"
3211.1Scl
3221.1Scl# OSS audio driver compatibility
3231.1Sclinclude	"compat/ossaudio/files.ossaudio"
3241.1Scl
3251.50Sxtraeme# Bluetooth
3261.50Sxtraemeinclude "dev/bluetooth/files.bluetooth"
3271.50Sxtraeme
3281.26Syamt#
3291.26Syamt# CARDBUS
3301.26Syamt#
3311.26Syamtinclude	"dev/cardbus/files.cardbus"
3321.26Syamtfile	arch/i386/i386/rbus_machdep.c	cardbus
3331.26Syamt
3341.26Syamt# this wants to be probed as late as possible.
3351.26Syamt#
3361.26Syamt# Machine-independent PCMCIA drivers
3371.26Syamt#
3381.26Syamtinclude	"dev/pcmcia/files.pcmcia"
3391.26Syamt
3401.12Scl# Domain-0 operations
3411.52Sbouyerdefflag	opt_xen.h			DOM0OPS XEN_COMPAT_030001
3421.12Sclfile	arch/xen/xen/privcmd.c		dom0ops
3431.42Sbouyerfile 	arch/xen/i386/xen_shm_machdep.c	dom0ops | xen3
3441.33Sbouyerfile	arch/xen/xen/xbdback.c		dom0ops & !xen3
3451.33Sbouyerfile	arch/xen/xen/xennetback.c	dom0ops & !xen3
3461.40Sbouyerfile	arch/xen/xen/pci_machdep.c	hypervisor & pci & !xen3
3471.40Sbouyerfile	arch/x86/pci/pci_machdep.c	hypervisor & pci & xen3
3481.40Sbouyerfile	arch/xen/xen/pci_intr_machdep.c	hypervisor & pci
3491.17Sbouyerfile	arch/xen/xen/isa_machdep.c	hypervisor & dom0ops
3501.17Sbouyerfile	arch/xen/xen/xenevt.c		xenevt & dom0ops
3511.41Sbouyerfile	arch/xen/xen/xennetback_xenbus.c xvif & xen3
3521.45Syamtfile	arch/xen/xen/xennet_checksum.c	(xvif & xen3) | xennet_xenbus
3531.43Sbouyerfile	arch/xen/xen/xbdback_xenbus.c xbdback & xen3
3541.12Scl
3551.18Sbouyerinclude "arch/i386/conf/majors.i386"
356