files.xen revision 1.49
11.49Sbouyer# $NetBSD: files.xen,v 1.49 2006/10/01 21:36:11 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.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.1Scldefparam opt_beep.h BEEP_ONHALT_COUNT 261.1Scldefparam opt_beep.h BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD 271.1Scl 281.40Sbouyer# PCI fixup options 291.40Sbouyerdefflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 301.40Sbouyer PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 311.40Sbouyer 321.40Sbouyerdefparam PCI_CONF_MODE 331.40Sbouyer 341.1Sclfile arch/xen/i386/autoconf.c 351.1Sclfile arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 361.1Sclfile arch/i386/i386/db_disasm.c ddb 371.1Sclfile arch/i386/i386/db_interface.c ddb 381.1Sclfile arch/i386/i386/db_memrw.c ddb | kgdb 391.1Sclfile arch/i386/i386/db_trace.c ddb 401.1Sclfile kern/subr_disk_mbr.c disk 411.1Sclfile arch/xen/i386/gdt.c 421.5Sclfile arch/xen/i386/hypervisor_machdep.c 431.1Sclfile arch/i386/i386/in_cksum.S inet | inet6 441.1Sclfile arch/i386/i386/ipkdb_glue.c ipkdb 451.1Sclfile arch/i386/i386/kgdb_machdep.c kgdb 461.1Sclfile arch/xen/i386/machdep.c 471.1Sclfile arch/xen/i386/identcpu.c 481.1Sclfile arch/i386/i386/math_emulate.c math_emulate 491.1Sclfile arch/i386/i386/mem.c 501.1Sclfile kern/kern_microtime.c i586_cpu | i686_cpu 511.1Sclfile arch/i386/i386/mtrr_k6.c mtrr 521.1Sclfile netns/ns_cksum.c ns 531.1Sclfile arch/xen/i386/pmap.c 541.1Sclfile arch/i386/i386/process_machdep.c 551.1Sclfile arch/i386/i386/procfs_machdep.c procfs 561.11Sclfile arch/xen/i386/sys_machdep.c 571.1Sclfile arch/i386/i386/syscall.c 581.1Sclfile arch/xen/i386/trap.c 591.1Sclfile arch/i386/i386/vm_machdep.c 601.1Sclfile arch/xen/i386/xen_machdep.c 611.1Scl 621.1Sclfile arch/xen/xen/xen_debug.c 631.1Scl 641.1Sclfile arch/xen/xen/clock.c 651.17Sbouyerfile arch/xen/xen/evtchn.c 661.33Sbouyerfile arch/xen/xen/ctrl_if.c !xen3 671.1Scl 681.35Sbouyerfile arch/xen/xen/xengnt.c xen3 691.35Sbouyer 701.1Sclfile dev/cons.c 711.1Scl 721.1Sclfile arch/i386/i386/mptramp.S multiprocessor 731.33Sbouyerfile arch/i386/i386/ipifuncs.c multiprocessor 741.1Scl 751.33Sbouyerfile arch/i386/i386/pmc.c perfctrs 761.1Scl 771.1Sclfile crypto/des/arch/i386/des_enc.S des 781.1Sclfile crypto/des/arch/i386/des_cbc.S des 791.1Scl 801.1Sclfile crypto/blowfish/arch/i386/bf_enc.S blowfish 811.1Sclfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 821.1Scl 831.1Scl# 841.1Scl# Machine-independent SCSI drivers 851.1Scl# 861.1Scl 871.17Sbouyerinclude "dev/scsipi/files.scsipi" 881.1Scl 891.1Scl# 901.1Scl# Machine-independent ATA drivers 911.1Scl# 921.1Scl 931.17Sbouyerinclude "dev/ata/files.ata" 941.1Scl 951.1Scl# Memory Disk for install floppy 961.1Sclfile dev/md_root.c memory_disk_hooks 971.1Scl 981.27Sbouyerfile arch/x86/x86/bus_dma.c pci 991.28Sbouyerfile arch/xen/x86/xen_bus_dma.c pci 1001.27Sbouyerfile arch/xen/x86/bus_space.c pci 1011.1Sclfile arch/x86/x86/cacheinfo.c 1021.1Sclfile arch/xen/x86/consinit.c 1031.1Sclfile arch/xen/x86/intr.c 1041.1Sclfile arch/x86/x86/ipi.c multiprocessor 1051.1Sclfile arch/x86/x86/lock_machdep.c lockdebug 1061.1Sclfile arch/x86/x86/softintr.c 1071.32Sjmmvfile arch/x86/x86/x86_machdep.c 1081.1Scl 1091.1Sclinclude "arch/xen/conf/files.compat" 1101.1Scl 1111.49Sbouyer# BIOS32 routines 1121.49Sbouyerdefine bios32 1131.49Sbouyerfile arch/xen/i386/bios32.c bios32 needs-flag 1141.49Sbouyer 1151.13Sdrochner# i386 specific mainbus attributes 1161.13Sdrochnerdefine cpubus { [apid = -1] } 1171.13Sdrochnerdefine apmbus {} 1181.13Sdrochnerdefine pnpbiosbus {} 1191.17Sbouyerdefine vesabiosbus {} 1201.13Sdrochnerdefine hypervisorbus {} 1211.29Sbouyerdefine xendevbus {} 1221.49Sbouyerdefine ipmibus {} 1231.13Sdrochner 1241.1Scl# 1251.1Scl# System bus types 1261.1Scl# 1271.1Scl 1281.49Sbouyerdevice mainbus: cpubus, hypervisorbus, bios32, ipmibus 1291.1Sclattach mainbus at root 1301.5Sclfile arch/xen/i386/mainbus.c mainbus 1311.5Scl 1321.5Scl# Xen hypervisor 1331.48Sbouyerdevice hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus 1341.17Sbouyerattach hypervisor at hypervisorbus 1351.5Sclfile arch/xen/xen/hypervisor.c hypervisor needs-flag 1361.46Syamtfile arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 1371.1Scl 1381.35Sbouyer# Xenbus (xen3 only) 1391.35Sbouyerdevice xenbus {[id = -1]} 1401.35Sbouyerattach xenbus at xendevbus 1411.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag 1421.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag 1431.37Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag 1441.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag 1451.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag 1461.35Sbouyer 1471.1Scl# Numeric Processing Extension; Math Co-processor 1481.1Scldevice npx 1491.1Sclfile arch/xen/i386/npx.c npx needs-flag 1501.1Scl 1511.29Sbouyerattach npx at xendevbus with npx_hv 1521.1Sclfile arch/xen/i386/npx_hv.c npx_hv 1531.1Scl 1541.1Scl# Xen console support 1551.6Scldevice xencons: tty 1561.29Sbouyerattach xencons at xendevbus 1571.6Sclfile arch/xen/xen/xencons.c xencons needs-flag 1581.1Scl 1591.17Sbouyer# Xen event peudo-device 1601.17Sbouyerdefpseudo xenevt 1611.41Sbouyerdefpseudo xvif 1621.43Sbouyerdefpseudo xbdback 1631.17Sbouyer 1641.27Sbouyer# Xen Network driver 1651.27Sbouyerdevice xennet: arp, ether, ifnet 1661.36Sbouyerattach xennet at xendevbus with xennet_hypervisor 1671.36Sbouyerattach xennet at xenbus with xennet_xenbus 1681.37Sbouyerfile arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag 1691.36Sbouyerfile arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag 1701.27Sbouyer 1711.27Sbouyer# Xen Block device driver and wd/sd/cd identities 1721.27Sbouyerdevice xbd: disk 1731.38Sbouyerattach xbd at xendevbus with xbd_hypervisor 1741.38Sbouyerattach xbd at xenbus with xbd_xenbus 1751.38Sbouyer#file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor 1761.38Sbouyerfile arch/xen/xen/xbd_xenbus.c xbd_xenbus 1771.38Sbouyer#file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag 1781.38Sbouyerfile arch/xen/xen/xbd.c xbd_hypervisor needs-flag 1791.27Sbouyer 1801.27Sbouyer# Non-Xen specific devices and options 1811.27Sbouyer 1821.9Sclinclude "dev/wscons/files.wscons" 1831.9Sclinclude "dev/wsfont/files.wsfont" 1841.1Scl 1851.10Sclinclude "dev/pckbport/files.pckbport" 1861.10Scl 1871.17Sbouyer# 1881.17Sbouyer# Machine-independent PCI devices 1891.17Sbouyer# 1901.17Sbouyerinclude "dev/i2o/files.i2o" 1911.17Sbouyerinclude "dev/pci/files.pci" 1921.17Sbouyerinclude "dev/pci/files.agp" 1931.17Sbouyerfile arch/i386/pci/agp_machdep.c agp 1941.17Sbouyerfile arch/xen/xen/pciide_machdep.c pciide_common 1951.23Schs 1961.17Sbouyer# 1971.17Sbouyer# Machine-independent ISA devices 1981.17Sbouyer# 1991.17Sbouyerinclude "dev/isa/files.isa" 2001.17Sbouyer 2011.31Sbouyerinclude "dev/usb/files.usb" 2021.17Sbouyer 2031.31Sbouyerinclude "dev/ieee1394/files.ieee1394" 2041.17Sbouyer 2051.40Sbouyerdevice fdc {drive = -1} #XXX 2061.40Sbouyer 2071.44Schristosinclude "dev/apm/files.apm" 2081.44Schristos 2091.40Sbouyerinclude "dev/acpi/files.acpi" 2101.40Sbouyerfile arch/xen/xen/xen_acpi_machdep.c acpi 2111.48Sbouyerfile arch/x86/x86/mpacpi.c acpi 2121.40Sbouyerfile arch/x86/x86/acpi_machdep.c acpi 2131.48Sbouyerfile arch/x86/x86/i8259.c xen3 2141.48Sbouyer 2151.48Sbouyer# MP configuration using Intel SMP specification 1.4 2161.48Sbouyerfile arch/x86/x86/mpbios.c mpbios 2171.40Sbouyer 2181.40Sbouyerfile arch/i386/pci/pci_bus_fixup.c pci_bus_fixup 2191.40Sbouyerfile arch/i386/pci/pci_addr_fixup.c pci_addr_fixup 2201.40Sbouyer 2211.48Sbouyerfile arch/x86/x86/apic.c ioapic 2221.48Sbouyer 2231.48Sbouyerdevice ioapic 2241.48Sbouyerattach ioapic at cpubus 2251.48Sbouyerfile arch/x86/x86/ioapic.c ioapic needs-flag 2261.48Sbouyer 2271.49Sbouyer#IPMI device 2281.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog 2291.49Sbouyerattach ipmi at ipmibus 2301.49Sbouyerfile arch/x86/x86/ipmi.c ipmi needs-flag 2311.49Sbouyer 2321.17Sbouyer# PCI-Host bridge chipsets 2331.17Sbouyerdevice pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, 2341.17Sbouyer agp_via 2351.17Sbouyerattach pchb at pci 2361.17Sbouyerfile arch/i386/pci/pchb.c pchb needs-flag 2371.34Stronfile arch/x86/pci/pchb_rnd.c pchb & rnd 2381.17Sbouyer 2391.17Sbouyer# PCI-ISA bridges 2401.17Sbouyerdevice pcib: isabus 2411.17Sbouyerattach pcib at pci 2421.17Sbouyerfile arch/xen/xen/pcib.c pcib 2431.17Sbouyer 2441.1Scl# CPUS 2451.1Scl 2461.1Scldevice cpu 2471.13Sdrochnerattach cpu at cpubus 2481.48Sbouyer 2491.48Sbouyerdevice vcpu 2501.48Sbouyerattach vcpu at xendevbus 2511.48Sbouyer 2521.48Sbouyerfile arch/xen/i386/cpu.c cpu | vcpu 2531.1Scl 2541.1Scl# 2551.1Scl# Compatibility modules 2561.1Scl# 2571.1Scl 2581.1Scl# VM86 mode 2591.1Sclfile arch/i386/i386/vm86.c vm86 2601.1Scl 2611.1Scl# VM86 in kernel 2621.1Sclfile arch/i386/i386/kvm86.c kvm86 2631.1Sclfile arch/i386/i386/kvm86call.S kvm86 2641.1Scl 2651.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2661.1Sclfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 2671.1Sclfile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 2681.1Scl 2691.1Scl# SVR4 binary compatibility (COMPAT_SVR4) 2701.1Sclinclude "compat/svr4/files.svr4" 2711.1Sclfile arch/i386/i386/svr4_machdep.c compat_svr4 2721.1Sclfile arch/i386/i386/svr4_sigcode.S compat_svr4 2731.1Sclfile arch/i386/i386/svr4_syscall.c compat_svr4 2741.1Scl 2751.1Scl# MACH binary compatibility (COMPAT_MACH) 2761.1Sclinclude "compat/mach/files.mach" 2771.1Sclfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 2781.1Sclfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 2791.1Sclfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 2801.1Sclfile arch/i386/i386/macho_machdep.c exec_macho 2811.1Scl 2821.1Scl# DARWIN binary compatibility (COMPAT_DARWIN) 2831.1Sclinclude "compat/darwin/files.darwin" 2841.1Sclfile arch/i386/i386/darwin_machdep.c compat_darwin 2851.1Scl 2861.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2) 2871.1Sclinclude "compat/ibcs2/files.ibcs2" 2881.1Sclfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2891.1Sclfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 2901.1Sclfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 2911.1Scl 2921.1Scl# Linux binary compatibility (COMPAT_LINUX) 2931.1Sclinclude "compat/linux/files.linux" 2941.1Sclinclude "compat/linux/arch/i386/files.linux_i386" 2951.1Sclfile arch/i386/i386/linux_sigcode.S compat_linux 2961.1Sclfile arch/i386/i386/linux_syscall.c compat_linux 2971.22Syamtfile arch/x86/x86/linux_trap.c compat_linux 2981.1Scl 2991.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD) 3001.1Sclinclude "compat/freebsd/files.freebsd" 3011.1Sclfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3021.1Sclfile arch/i386/i386/freebsd_sigcode.S compat_freebsd 3031.1Sclfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3041.1Scl 3051.1Scl# Win32 binary compatibility (COMPAT_PECOFF) 3061.1Sclinclude "compat/pecoff/files.pecoff" 3071.1Scl 3081.1Scl# OSS audio driver compatibility 3091.1Sclinclude "compat/ossaudio/files.ossaudio" 3101.1Scl 3111.26Syamt# 3121.26Syamt# CARDBUS 3131.26Syamt# 3141.26Syamtinclude "dev/cardbus/files.cardbus" 3151.26Syamtfile arch/i386/i386/rbus_machdep.c cardbus 3161.26Syamt 3171.26Syamt# this wants to be probed as late as possible. 3181.26Syamt# 3191.26Syamt# Machine-independent PCMCIA drivers 3201.26Syamt# 3211.26Syamtinclude "dev/pcmcia/files.pcmcia" 3221.26Syamt 3231.12Scl# Domain-0 operations 3241.47Sbouyerdefflag opt_xen.h DOM0OPS XEN_NO_HYPERCALLPAGE 3251.12Sclfile arch/xen/xen/privcmd.c dom0ops 3261.42Sbouyerfile arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 3271.33Sbouyerfile arch/xen/xen/xbdback.c dom0ops & !xen3 3281.33Sbouyerfile arch/xen/xen/xennetback.c dom0ops & !xen3 3291.40Sbouyerfile arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 3301.40Sbouyerfile arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 3311.40Sbouyerfile arch/xen/xen/pci_intr_machdep.c hypervisor & pci 3321.17Sbouyerfile arch/xen/xen/isa_machdep.c hypervisor & dom0ops 3331.17Sbouyerfile arch/xen/xen/xenevt.c xenevt & dom0ops 3341.41Sbouyerfile arch/xen/xen/xennetback_xenbus.c xvif & xen3 3351.45Syamtfile arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus 3361.43Sbouyerfile arch/xen/xen/xbdback_xenbus.c xbdback & xen3 3371.12Scl 3381.18Sbouyerinclude "arch/i386/conf/majors.i386" 339