files.xen revision 1.92
11.92Sbouyer# $NetBSD: files.xen,v 1.92 2009/01/18 20:50:43 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.71Sbouyerversion 20071109 61.71Sbouyer 71.3Swizmaxpartitions 8 81.1Scl 91.1Sclmaxusers 2 16 128 101.1Scl 111.30Syamtdefparam opt_kernbase.h KERNBASE 121.30Syamt 131.48Sbouyer# options for MP configuration through the MP spec 141.48Sbouyerdefflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI 151.48Sbouyer 161.1Scl# delay before cpu_reset() for reboot. 171.1Scldefparam CPURESET_DELAY 181.1Scl 191.1Scl# Beep on halt 201.1Scldefflag opt_beep.h BEEP_ONHALT 211.56Sdsldefparam opt_beep.h BEEP_ONHALT_COUNT=3 221.56Sdsldefparam opt_beep.h BEEP_ONHALT_PITCH=1500 231.56Sdsldefparam opt_beep.h BEEP_ONHALT_PERIOD=250 241.1Scl 251.40Sbouyer# PCI fixup options 261.71Sbouyerdefflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 271.40Sbouyer PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 281.40Sbouyer 291.71Sbouyerdefparam PCI_CONF_MODE 301.40Sbouyer 311.71Sbouyerfile arch/xen/x86/autoconf.c 321.71Sbouyerifdef i386 331.90Sadfile arch/i386/i386/aout_machdep.c exec_aout 341.64Sadfile arch/i386/i386/busfunc.S 351.89Sadfile arch/i386/i386/core_machdep.c coredump 361.64Sadfile arch/i386/i386/cpufunc.S 371.80Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 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.78Sadfile arch/i386/i386/dumpsys.c 441.77Sbouyerfile arch/i386/i386/gdt.c 451.1Sclfile arch/i386/i386/ipkdb_glue.c ipkdb 461.1Sclfile arch/i386/i386/kgdb_machdep.c kgdb 471.81Sjmmvfile arch/i386/i386/kobj_machdep.c modular 481.77Sbouyerfile arch/i386/i386/machdep.c 491.87Sadfile arch/x86/x86/identcpu.c 501.83Sdogcowfile arch/i386/i386/longrun.c 511.1Sclfile arch/i386/i386/mem.c 521.1Sclfile arch/i386/i386/mtrr_k6.c mtrr 531.77Sbouyerfile arch/x86/x86/pmap.c 541.1Sclfile arch/i386/i386/process_machdep.c 551.1Sclfile arch/i386/i386/procfs_machdep.c procfs 561.1Sclfile arch/i386/i386/syscall.c 571.72Syamtfile arch/i386/i386/trap.c 581.1Sclfile arch/i386/i386/vm_machdep.c 591.55Sadfile arch/i386/i386/lock_stubs.S 601.1Scl 611.71Sbouyerfile arch/i386/i386/mptramp.S multiprocessor 621.71Sbouyerfile arch/i386/i386/ipifuncs.c multiprocessor 631.71Sbouyer 641.71Sbouyerfile arch/i386/i386/pmc.c perfctrs 651.71Sbouyer 661.71Sbouyerfile crypto/des/arch/i386/des_enc.S des 671.71Sbouyerfile crypto/des/arch/i386/des_cbc.S des 681.71Sbouyer 691.71Sbouyerfile crypto/blowfish/arch/i386/bf_enc.S blowfish 701.71Sbouyerfile crypto/blowfish/arch/i386/bf_cbc.S blowfish 711.71Sbouyerelifdef amd64 721.71Sbouyerfile arch/amd64/amd64/busfunc.S dom0ops 731.71Sbouyerfile arch/amd64/amd64/cpufunc.S 741.80Sjoergfile arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 751.71Sbouyerfile arch/amd64/amd64/db_disasm.c ddb 761.71Sbouyerfile arch/amd64/amd64/db_interface.c ddb 771.71Sbouyerfile arch/amd64/amd64/db_memrw.c ddb | kgdb 781.71Sbouyerfile arch/amd64/amd64/db_trace.c ddb 791.71Sbouyerfile arch/amd64/amd64/kgdb_machdep.c kgdb 801.81Sjmmvfile arch/amd64/amd64/kobj_machdep.c modular 811.71Sbouyerfile arch/amd64/amd64/gdt.c 821.71Sbouyerfile arch/amd64/amd64/machdep.c 831.87Sadfile arch/x86/x86/identcpu.c 841.71Sbouyerfile arch/amd64/amd64/mem.c 851.71Sbouyerfile arch/x86/x86/pmap.c 861.71Sbouyerfile arch/amd64/amd64/process_machdep.c 871.71Sbouyerfile arch/amd64/amd64/procfs_machdep.c procfs 881.71Sbouyerfile arch/amd64/amd64/syscall.c 891.71Sbouyerfile arch/amd64/amd64/trap.c 901.71Sbouyerfile arch/amd64/amd64/vm_machdep.c 911.71Sbouyerfile arch/amd64/amd64/fpu.c 921.71Sbouyerfile arch/amd64/amd64/lock_stubs.S 931.71Sbouyerfile arch/amd64/amd64/mptramp.S multiprocessor 941.71Sbouyerfile arch/amd64/amd64/ipifuncs.c multiprocessor 951.71Sbouyerendif 961.71Sbouyer 971.71Sbouyerfile kern/subr_disk_mbr.c disk 981.71Sbouyerfile arch/xen/x86/hypervisor_machdep.c 991.71Sbouyer# file arch/x86/x86/mtrr_i686.c mtrr 1001.71Sbouyerfile arch/xen/x86/x86_xpmap.c 1011.71Sbouyerfile arch/xen/x86/xen_intr.c 1021.71Sbouyerfile arch/xen/x86/xenfunc.c 1031.71Sbouyer 1041.71Sbouyerfile arch/xen/xen/xen_machdep.c 1051.1Sclfile arch/xen/xen/xen_debug.c 1061.1Scl 1071.1Sclfile arch/xen/xen/clock.c 1081.17Sbouyerfile arch/xen/xen/evtchn.c 1091.33Sbouyerfile arch/xen/xen/ctrl_if.c !xen3 1101.1Scl 1111.35Sbouyerfile arch/xen/xen/xengnt.c xen3 1121.35Sbouyer 1131.1Sclfile dev/cons.c 1141.1Scl 1151.1Scl 1161.1Scl# 1171.1Scl# Machine-independent SCSI drivers 1181.1Scl# 1191.1Scl 1201.17Sbouyerinclude "dev/scsipi/files.scsipi" 1211.1Scl 1221.1Scl# 1231.1Scl# Machine-independent ATA drivers 1241.1Scl# 1251.1Scl 1261.17Sbouyerinclude "dev/ata/files.ata" 1271.1Scl 1281.1Scl# Memory Disk for install floppy 1291.1Sclfile dev/md_root.c memory_disk_hooks 1301.1Scl 1311.27Sbouyerfile arch/x86/x86/bus_dma.c pci 1321.28Sbouyerfile arch/xen/x86/xen_bus_dma.c pci 1331.64Sadfile arch/x86/x86/bus_space.c pci 1341.1Sclfile arch/xen/x86/consinit.c 1351.1Sclfile arch/xen/x86/intr.c 1361.84Sadfile arch/x86/x86/ipi.c 1371.59Sadfile arch/x86/x86/sys_machdep.c 1381.86Sadfile arch/x86/x86/tsc.c 1391.32Sjmmvfile arch/x86/x86/x86_machdep.c 1401.1Scl 1411.1Sclinclude "arch/xen/conf/files.compat" 1421.1Scl 1431.49Sbouyer# BIOS32 routines 1441.71Sbouyerdefine bios32 1451.71Sbouyerifdef i386 1461.77Sbouyerfile arch/i386/i386/bios32.c bios32 needs-flag 1471.71Sbouyerelifdef amd64 1481.77Sbouyerfile arch/amd64/amd64/bios32.c bios32 needs-flag 1491.71Sbouyerendif 1501.49Sbouyer 1511.71Sbouyer# xen specific mainbus attributes 1521.13Sdrochnerdefine cpubus { [apid = -1] } 1531.57Sdrochnerdefine ioapicbus { [apid = -1] } 1541.13Sdrochnerdefine apmbus {} 1551.13Sdrochnerdefine pnpbiosbus {} 1561.71Sbouyerdefine vesabiosbus {} 1571.13Sdrochnerdefine hypervisorbus {} 1581.29Sbouyerdefine xendevbus {} 1591.49Sbouyerdefine ipmibus {} 1601.13Sdrochner 1611.1Scl# 1621.1Scl# System bus types 1631.1Scl# 1641.1Scl 1651.57Sdrochnerdevice mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus 1661.1Sclattach mainbus at root 1671.71Sbouyerfile arch/xen/x86/mainbus.c mainbus 1681.5Scl 1691.5Scl# Xen hypervisor 1701.48Sbouyerdevice hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus 1711.17Sbouyerattach hypervisor at hypervisorbus 1721.5Sclfile arch/xen/xen/hypervisor.c hypervisor needs-flag 1731.46Syamtfile arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 1741.1Scl 1751.35Sbouyer# Xenbus (xen3 only) 1761.35Sbouyerdevice xenbus {[id = -1]} 1771.35Sbouyerattach xenbus at xendevbus 1781.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag 1791.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag 1801.37Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag 1811.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag 1821.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag 1831.35Sbouyer 1841.71Sbouyerifdef i386 1851.1Scl# Numeric Processing Extension; Math Co-processor 1861.1Scldevice npx 1871.77Sbouyerfile arch/i386/isa/npx.c npx needs-flag 1881.1Scl 1891.29Sbouyerattach npx at xendevbus with npx_hv 1901.1Sclfile arch/xen/i386/npx_hv.c npx_hv 1911.71Sbouyerendif 1921.1Scl 1931.1Scl# Xen console support 1941.6Scldevice xencons: tty 1951.29Sbouyerattach xencons at xendevbus 1961.6Sclfile arch/xen/xen/xencons.c xencons needs-flag 1971.1Scl 1981.17Sbouyer# Xen event peudo-device 1991.17Sbouyerdefpseudo xenevt 2001.41Sbouyerdefpseudo xvif 2011.43Sbouyerdefpseudo xbdback 2021.17Sbouyer 2031.27Sbouyer# Xen Network driver 2041.27Sbouyerdevice xennet: arp, ether, ifnet 2051.36Sbouyerattach xennet at xendevbus with xennet_hypervisor 2061.36Sbouyerattach xennet at xenbus with xennet_xenbus 2071.71Sbouyerfile arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag 2081.71Sbouyerfile arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag 2091.27Sbouyer 2101.27Sbouyer# Xen Block device driver and wd/sd/cd identities 2111.27Sbouyerdevice xbd: disk 2121.38Sbouyerattach xbd at xendevbus with xbd_hypervisor 2131.38Sbouyerattach xbd at xenbus with xbd_xenbus 2141.38Sbouyer#file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor 2151.38Sbouyerfile arch/xen/xen/xbd_xenbus.c xbd_xenbus 2161.38Sbouyer#file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag 2171.38Sbouyerfile arch/xen/xen/xbd.c xbd_hypervisor needs-flag 2181.27Sbouyer 2191.27Sbouyer# Non-Xen specific devices and options 2201.27Sbouyer 2211.10Sclinclude "dev/pckbport/files.pckbport" 2221.10Scl 2231.17Sbouyer# 2241.17Sbouyer# Machine-independent PCI devices 2251.17Sbouyer# 2261.17Sbouyerinclude "dev/i2o/files.i2o" 2271.17Sbouyerinclude "dev/pci/files.pci" 2281.17Sbouyerinclude "dev/pci/files.agp" 2291.17Sbouyerfile arch/xen/xen/pciide_machdep.c pciide_common 2301.23Schs 2311.88Sjoerg# x86 specific PCI hardware 2321.88Sjoerginclude "arch/x86/pci/files.pci" 2331.88Sjoerg 2341.17Sbouyer# 2351.17Sbouyer# Machine-independent ISA devices 2361.17Sbouyer# 2371.17Sbouyerinclude "dev/isa/files.isa" 2381.17Sbouyer 2391.31Sbouyerinclude "dev/usb/files.usb" 2401.17Sbouyer 2411.31Sbouyerinclude "dev/ieee1394/files.ieee1394" 2421.17Sbouyer 2431.71Sbouyerdevice fdc {drive = -1} #XXX 2441.40Sbouyer 2451.44Schristosinclude "dev/apm/files.apm" 2461.44Schristos 2471.40Sbouyerinclude "dev/acpi/files.acpi" 2481.40Sbouyerfile arch/xen/xen/xen_acpi_machdep.c acpi 2491.48Sbouyerfile arch/x86/x86/mpacpi.c acpi 2501.40Sbouyerfile arch/x86/x86/acpi_machdep.c acpi 2511.48Sbouyerfile arch/x86/x86/i8259.c xen3 2521.48Sbouyer 2531.48Sbouyer# MP configuration using Intel SMP specification 1.4 2541.48Sbouyerfile arch/x86/x86/mpbios.c mpbios 2551.40Sbouyer 2561.92Sbouyerfile arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 2571.92Sbouyerfile arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 2581.40Sbouyer 2591.48Sbouyerfile arch/x86/x86/apic.c ioapic 2601.48Sbouyer 2611.48Sbouyerdevice ioapic 2621.57Sdrochnerattach ioapic at ioapicbus 2631.48Sbouyerfile arch/x86/x86/ioapic.c ioapic needs-flag 2641.48Sbouyer 2651.49Sbouyer#IPMI device 2661.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog 2671.49Sbouyerattach ipmi at ipmibus 2681.49Sbouyerfile arch/x86/x86/ipmi.c ipmi needs-flag 2691.49Sbouyer 2701.1Scl# CPUS 2711.1Scl 2721.1Scldevice cpu 2731.13Sdrochnerattach cpu at cpubus 2741.48Sbouyer 2751.48Sbouyerdevice vcpu 2761.48Sbouyerattach vcpu at xendevbus 2771.48Sbouyer 2781.71Sbouyerfile arch/xen/x86/cpu.c cpu | vcpu 2791.1Scl 2801.1Scl# 2811.1Scl# Compatibility modules 2821.1Scl# 2831.1Scl 2841.71Sbouyerifdef i386 2851.1Scl# VM86 mode 2861.1Sclfile arch/i386/i386/vm86.c vm86 2871.1Scl 2881.1Scl# VM86 in kernel 2891.1Sclfile arch/i386/i386/kvm86.c kvm86 2901.1Sclfile arch/i386/i386/kvm86call.S kvm86 2911.1Scl 2921.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2931.53Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 2941.1Sclfile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 2951.1Scl 2961.1Scl# SVR4 binary compatibility (COMPAT_SVR4) 2971.1Sclinclude "compat/svr4/files.svr4" 2981.1Sclfile arch/i386/i386/svr4_machdep.c compat_svr4 2991.1Sclfile arch/i386/i386/svr4_sigcode.S compat_svr4 3001.1Sclfile arch/i386/i386/svr4_syscall.c compat_svr4 3011.1Scl 3021.1Scl# MACH binary compatibility (COMPAT_MACH) 3031.1Sclinclude "compat/mach/files.mach" 3041.1Sclfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 3051.1Sclfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 3061.1Sclfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 3071.1Sclfile arch/i386/i386/macho_machdep.c exec_macho 3081.1Scl 3091.1Scl# DARWIN binary compatibility (COMPAT_DARWIN) 3101.1Sclinclude "compat/darwin/files.darwin" 3111.1Sclfile arch/i386/i386/darwin_machdep.c compat_darwin 3121.1Scl 3131.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2) 3141.1Sclinclude "compat/ibcs2/files.ibcs2" 3151.1Sclfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3161.1Sclfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 3171.1Sclfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3181.1Scl 3191.1Scl# Linux binary compatibility (COMPAT_LINUX) 3201.1Sclinclude "compat/linux/files.linux" 3211.1Sclinclude "compat/linux/arch/i386/files.linux_i386" 3221.1Sclfile arch/i386/i386/linux_sigcode.S compat_linux 3231.1Sclfile arch/i386/i386/linux_syscall.c compat_linux 3241.22Syamtfile arch/x86/x86/linux_trap.c compat_linux 3251.1Scl 3261.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD) 3271.1Sclinclude "compat/freebsd/files.freebsd" 3281.1Sclfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3291.1Sclfile arch/i386/i386/freebsd_sigcode.S compat_freebsd 3301.1Sclfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3311.1Scl 3321.1Scl# Win32 binary compatibility (COMPAT_PECOFF) 3331.1Sclinclude "compat/pecoff/files.pecoff" 3341.1Scl 3351.71Sbouyerelifdef amd64 3361.71Sbouyer# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) 3371.71Sbouyerinclude "compat/netbsd32/files.netbsd32" 3381.71Sbouyerfile arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 3391.71Sbouyerfile arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 3401.71Sbouyerfile arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 3411.71Sbouyer 3421.71Sbouyer# Linux compatibility (COMPAT_LINUX) 3431.71Sbouyerinclude "compat/linux/files.linux" 3441.71Sbouyerinclude "compat/linux/arch/amd64/files.linux_amd64" 3451.71Sbouyerfile arch/amd64/amd64/linux_sigcode.S compat_linux 3461.71Sbouyerfile arch/amd64/amd64/linux_syscall.c compat_linux 3471.71Sbouyerfile arch/x86/x86/linux_trap.c compat_linux 3481.71Sbouyer# Linux 32 bit compatibility (COMPAT_LINUX32) 3491.71Sbouyerinclude "compat/linux32/files.linux32" 3501.71Sbouyerinclude "compat/linux32/arch/amd64/files.linux32_amd64" 3511.71Sbouyerfile arch/amd64/amd64/linux32_sigcode.S compat_linux32 3521.71Sbouyerfile arch/amd64/amd64/linux32_syscall.c compat_linux32 3531.71Sbouyerendif 3541.71Sbouyer 3551.1Scl# OSS audio driver compatibility 3561.1Sclinclude "compat/ossaudio/files.ossaudio" 3571.1Scl 3581.50Sxtraeme# Bluetooth 3591.50Sxtraemeinclude "dev/bluetooth/files.bluetooth" 3601.50Sxtraeme 3611.26Syamt# 3621.26Syamt# CARDBUS 3631.26Syamt# 3641.26Syamtinclude "dev/cardbus/files.cardbus" 3651.71Sbouyerifdef i386 3661.26Syamtfile arch/i386/i386/rbus_machdep.c cardbus 3671.71Sbouyerelifdef amd64 3681.71Sbouyerfile arch/amd64/amd64/rbus_machdep.c cardbus 3691.71Sbouyerendif 3701.26Syamt 3711.26Syamt# this wants to be probed as late as possible. 3721.26Syamt# 3731.26Syamt# Machine-independent PCMCIA drivers 3741.26Syamt# 3751.26Syamtinclude "dev/pcmcia/files.pcmcia" 3761.26Syamt 3771.12Scl# Domain-0 operations 3781.52Sbouyerdefflag opt_xen.h DOM0OPS XEN_COMPAT_030001 3791.12Sclfile arch/xen/xen/privcmd.c dom0ops 3801.71Sbouyerfile arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 3811.33Sbouyerfile arch/xen/xen/xbdback.c dom0ops & !xen3 3821.33Sbouyerfile arch/xen/xen/xennetback.c dom0ops & !xen3 3831.40Sbouyerfile arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 3841.40Sbouyerfile arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 3851.40Sbouyerfile arch/xen/xen/pci_intr_machdep.c hypervisor & pci 3861.17Sbouyerfile arch/xen/xen/isa_machdep.c hypervisor & dom0ops 3871.17Sbouyerfile arch/xen/xen/xenevt.c xenevt & dom0ops 3881.41Sbouyerfile arch/xen/xen/xennetback_xenbus.c xvif & xen3 3891.45Syamtfile arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus 3901.43Sbouyerfile arch/xen/xen/xbdback_xenbus.c xbdback & xen3 3911.12Scl 3921.71Sbouyerifdef i386 3931.18Sbouyerinclude "arch/i386/conf/majors.i386" 3941.71Sbouyerelifdef amd64 3951.74Sbouyerinclude "arch/amd64/conf/majors.amd64" 3961.71Sbouyerendif 397