files.xen revision 1.90
11.90Sad# $NetBSD: files.xen,v 1.90 2008/11/20 10:53:09 ad 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# No unmapped page below kernel stack 201.1Scldefflag NOREDZONE 211.1Scl 221.1Scl# Beep on halt 231.1Scldefflag opt_beep.h BEEP_ONHALT 241.56Sdsldefparam opt_beep.h BEEP_ONHALT_COUNT=3 251.56Sdsldefparam opt_beep.h BEEP_ONHALT_PITCH=1500 261.56Sdsldefparam opt_beep.h BEEP_ONHALT_PERIOD=250 271.1Scl 281.40Sbouyer# PCI fixup options 291.71Sbouyerdefflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 301.40Sbouyer PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 311.40Sbouyer 321.71Sbouyerdefparam PCI_CONF_MODE 331.40Sbouyer 341.71Sbouyerfile arch/xen/x86/autoconf.c 351.71Sbouyerifdef i386 361.90Sadfile arch/i386/i386/aout_machdep.c exec_aout 371.64Sadfile arch/i386/i386/busfunc.S 381.89Sadfile arch/i386/i386/core_machdep.c coredump 391.64Sadfile arch/i386/i386/cpufunc.S 401.80Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 411.1Sclfile arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 421.1Sclfile arch/i386/i386/db_disasm.c ddb 431.1Sclfile arch/i386/i386/db_interface.c ddb 441.1Sclfile arch/i386/i386/db_memrw.c ddb | kgdb 451.1Sclfile arch/i386/i386/db_trace.c ddb 461.78Sadfile arch/i386/i386/dumpsys.c 471.77Sbouyerfile arch/i386/i386/gdt.c 481.1Sclfile arch/i386/i386/ipkdb_glue.c ipkdb 491.1Sclfile arch/i386/i386/kgdb_machdep.c kgdb 501.81Sjmmvfile arch/i386/i386/kobj_machdep.c modular 511.77Sbouyerfile arch/i386/i386/machdep.c 521.87Sadfile arch/x86/x86/identcpu.c 531.83Sdogcowfile arch/i386/i386/longrun.c 541.1Sclfile arch/i386/i386/mem.c 551.1Sclfile arch/i386/i386/mtrr_k6.c mtrr 561.77Sbouyerfile arch/x86/x86/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.72Syamtfile arch/i386/i386/trap.c 611.1Sclfile arch/i386/i386/vm_machdep.c 621.55Sadfile arch/i386/i386/lock_stubs.S 631.1Scl 641.71Sbouyerfile arch/i386/i386/mptramp.S multiprocessor 651.71Sbouyerfile arch/i386/i386/ipifuncs.c multiprocessor 661.71Sbouyer 671.71Sbouyerfile arch/i386/i386/pmc.c perfctrs 681.71Sbouyer 691.71Sbouyerfile crypto/des/arch/i386/des_enc.S des 701.71Sbouyerfile crypto/des/arch/i386/des_cbc.S des 711.71Sbouyer 721.71Sbouyerfile crypto/blowfish/arch/i386/bf_enc.S blowfish 731.71Sbouyerfile crypto/blowfish/arch/i386/bf_cbc.S blowfish 741.71Sbouyerelifdef amd64 751.71Sbouyerfile arch/amd64/amd64/busfunc.S dom0ops 761.71Sbouyerfile arch/amd64/amd64/cpufunc.S 771.80Sjoergfile arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 781.71Sbouyerfile arch/amd64/amd64/db_disasm.c ddb 791.71Sbouyerfile arch/amd64/amd64/db_interface.c ddb 801.71Sbouyerfile arch/amd64/amd64/db_memrw.c ddb | kgdb 811.71Sbouyerfile arch/amd64/amd64/db_trace.c ddb 821.71Sbouyerfile arch/amd64/amd64/kgdb_machdep.c kgdb 831.81Sjmmvfile arch/amd64/amd64/kobj_machdep.c modular 841.71Sbouyerfile arch/amd64/amd64/gdt.c 851.71Sbouyerfile arch/amd64/amd64/machdep.c 861.87Sadfile arch/x86/x86/identcpu.c 871.71Sbouyerfile arch/amd64/amd64/mem.c 881.71Sbouyerfile arch/x86/x86/pmap.c 891.71Sbouyerfile arch/amd64/amd64/process_machdep.c 901.71Sbouyerfile arch/amd64/amd64/procfs_machdep.c procfs 911.71Sbouyerfile arch/amd64/amd64/syscall.c 921.71Sbouyerfile arch/amd64/amd64/trap.c 931.71Sbouyerfile arch/amd64/amd64/vm_machdep.c 941.71Sbouyerfile arch/amd64/amd64/fpu.c 951.71Sbouyerfile arch/amd64/amd64/lock_stubs.S 961.71Sbouyerfile arch/amd64/amd64/mptramp.S multiprocessor 971.71Sbouyerfile arch/amd64/amd64/ipifuncs.c multiprocessor 981.71Sbouyerendif 991.71Sbouyer 1001.71Sbouyerfile kern/subr_disk_mbr.c disk 1011.71Sbouyerfile arch/xen/x86/hypervisor_machdep.c 1021.71Sbouyer# file arch/x86/x86/mtrr_i686.c mtrr 1031.71Sbouyerfile arch/xen/x86/x86_xpmap.c 1041.71Sbouyerfile arch/xen/x86/xen_intr.c 1051.71Sbouyerfile arch/xen/x86/xenfunc.c 1061.71Sbouyer 1071.71Sbouyerfile arch/xen/xen/xen_machdep.c 1081.1Sclfile arch/xen/xen/xen_debug.c 1091.1Scl 1101.1Sclfile arch/xen/xen/clock.c 1111.17Sbouyerfile arch/xen/xen/evtchn.c 1121.33Sbouyerfile arch/xen/xen/ctrl_if.c !xen3 1131.1Scl 1141.35Sbouyerfile arch/xen/xen/xengnt.c xen3 1151.35Sbouyer 1161.1Sclfile dev/cons.c 1171.1Scl 1181.1Scl 1191.1Scl# 1201.1Scl# Machine-independent SCSI drivers 1211.1Scl# 1221.1Scl 1231.17Sbouyerinclude "dev/scsipi/files.scsipi" 1241.1Scl 1251.1Scl# 1261.1Scl# Machine-independent ATA drivers 1271.1Scl# 1281.1Scl 1291.17Sbouyerinclude "dev/ata/files.ata" 1301.1Scl 1311.1Scl# Memory Disk for install floppy 1321.1Sclfile dev/md_root.c memory_disk_hooks 1331.1Scl 1341.27Sbouyerfile arch/x86/x86/bus_dma.c pci 1351.28Sbouyerfile arch/xen/x86/xen_bus_dma.c pci 1361.64Sadfile arch/x86/x86/bus_space.c pci 1371.1Sclfile arch/xen/x86/consinit.c 1381.1Sclfile arch/xen/x86/intr.c 1391.84Sadfile arch/x86/x86/ipi.c 1401.59Sadfile arch/x86/x86/sys_machdep.c 1411.86Sadfile arch/x86/x86/tsc.c 1421.32Sjmmvfile arch/x86/x86/x86_machdep.c 1431.1Scl 1441.1Sclinclude "arch/xen/conf/files.compat" 1451.1Scl 1461.49Sbouyer# BIOS32 routines 1471.71Sbouyerdefine bios32 1481.71Sbouyerifdef i386 1491.77Sbouyerfile arch/i386/i386/bios32.c bios32 needs-flag 1501.71Sbouyerelifdef amd64 1511.77Sbouyerfile arch/amd64/amd64/bios32.c bios32 needs-flag 1521.71Sbouyerendif 1531.49Sbouyer 1541.71Sbouyer# xen specific mainbus attributes 1551.13Sdrochnerdefine cpubus { [apid = -1] } 1561.57Sdrochnerdefine ioapicbus { [apid = -1] } 1571.13Sdrochnerdefine apmbus {} 1581.13Sdrochnerdefine pnpbiosbus {} 1591.71Sbouyerdefine vesabiosbus {} 1601.13Sdrochnerdefine hypervisorbus {} 1611.29Sbouyerdefine xendevbus {} 1621.49Sbouyerdefine ipmibus {} 1631.13Sdrochner 1641.1Scl# 1651.1Scl# System bus types 1661.1Scl# 1671.1Scl 1681.57Sdrochnerdevice mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus 1691.1Sclattach mainbus at root 1701.71Sbouyerfile arch/xen/x86/mainbus.c mainbus 1711.5Scl 1721.5Scl# Xen hypervisor 1731.48Sbouyerdevice hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus 1741.17Sbouyerattach hypervisor at hypervisorbus 1751.5Sclfile arch/xen/xen/hypervisor.c hypervisor needs-flag 1761.46Syamtfile arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 1771.1Scl 1781.35Sbouyer# Xenbus (xen3 only) 1791.35Sbouyerdevice xenbus {[id = -1]} 1801.35Sbouyerattach xenbus at xendevbus 1811.35Sbouyerfile arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag 1821.35Sbouyerfile arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag 1831.37Sbouyerfile arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag 1841.35Sbouyerfile arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag 1851.35Sbouyerfile arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag 1861.35Sbouyer 1871.71Sbouyerifdef i386 1881.1Scl# Numeric Processing Extension; Math Co-processor 1891.1Scldevice npx 1901.77Sbouyerfile arch/i386/isa/npx.c npx needs-flag 1911.1Scl 1921.29Sbouyerattach npx at xendevbus with npx_hv 1931.1Sclfile arch/xen/i386/npx_hv.c npx_hv 1941.71Sbouyerendif 1951.1Scl 1961.1Scl# Xen console support 1971.6Scldevice xencons: tty 1981.29Sbouyerattach xencons at xendevbus 1991.6Sclfile arch/xen/xen/xencons.c xencons needs-flag 2001.1Scl 2011.17Sbouyer# Xen event peudo-device 2021.17Sbouyerdefpseudo xenevt 2031.41Sbouyerdefpseudo xvif 2041.43Sbouyerdefpseudo xbdback 2051.17Sbouyer 2061.27Sbouyer# Xen Network driver 2071.27Sbouyerdevice xennet: arp, ether, ifnet 2081.36Sbouyerattach xennet at xendevbus with xennet_hypervisor 2091.36Sbouyerattach xennet at xenbus with xennet_xenbus 2101.71Sbouyerfile arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag 2111.71Sbouyerfile arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag 2121.27Sbouyer 2131.27Sbouyer# Xen Block device driver and wd/sd/cd identities 2141.27Sbouyerdevice xbd: disk 2151.38Sbouyerattach xbd at xendevbus with xbd_hypervisor 2161.38Sbouyerattach xbd at xenbus with xbd_xenbus 2171.38Sbouyer#file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor 2181.38Sbouyerfile arch/xen/xen/xbd_xenbus.c xbd_xenbus 2191.38Sbouyer#file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag 2201.38Sbouyerfile arch/xen/xen/xbd.c xbd_hypervisor needs-flag 2211.27Sbouyer 2221.27Sbouyer# Non-Xen specific devices and options 2231.27Sbouyer 2241.10Sclinclude "dev/pckbport/files.pckbport" 2251.10Scl 2261.17Sbouyer# 2271.17Sbouyer# Machine-independent PCI devices 2281.17Sbouyer# 2291.17Sbouyerinclude "dev/i2o/files.i2o" 2301.17Sbouyerinclude "dev/pci/files.pci" 2311.17Sbouyerinclude "dev/pci/files.agp" 2321.17Sbouyerfile arch/xen/xen/pciide_machdep.c pciide_common 2331.23Schs 2341.88Sjoerg# x86 specific PCI hardware 2351.88Sjoerginclude "arch/x86/pci/files.pci" 2361.88Sjoerg 2371.17Sbouyer# 2381.17Sbouyer# Machine-independent ISA devices 2391.17Sbouyer# 2401.17Sbouyerinclude "dev/isa/files.isa" 2411.17Sbouyer 2421.31Sbouyerinclude "dev/usb/files.usb" 2431.17Sbouyer 2441.31Sbouyerinclude "dev/ieee1394/files.ieee1394" 2451.17Sbouyer 2461.71Sbouyerdevice fdc {drive = -1} #XXX 2471.40Sbouyer 2481.44Schristosinclude "dev/apm/files.apm" 2491.44Schristos 2501.40Sbouyerinclude "dev/acpi/files.acpi" 2511.40Sbouyerfile arch/xen/xen/xen_acpi_machdep.c acpi 2521.48Sbouyerfile arch/x86/x86/mpacpi.c acpi 2531.40Sbouyerfile arch/x86/x86/acpi_machdep.c acpi 2541.48Sbouyerfile arch/x86/x86/i8259.c xen3 2551.48Sbouyer 2561.48Sbouyer# MP configuration using Intel SMP specification 1.4 2571.48Sbouyerfile arch/x86/x86/mpbios.c mpbios 2581.40Sbouyer 2591.71Sbouyerifdef i386 2601.71Sbouyerfile arch/i386/pci/pci_bus_fixup.c pci_bus_fixup 2611.71Sbouyerfile arch/i386/pci/pci_addr_fixup.c pci_addr_fixup 2621.71Sbouyerendif 2631.40Sbouyer 2641.48Sbouyerfile arch/x86/x86/apic.c ioapic 2651.48Sbouyer 2661.48Sbouyerdevice ioapic 2671.57Sdrochnerattach ioapic at ioapicbus 2681.48Sbouyerfile arch/x86/x86/ioapic.c ioapic needs-flag 2691.48Sbouyer 2701.49Sbouyer#IPMI device 2711.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog 2721.49Sbouyerattach ipmi at ipmibus 2731.49Sbouyerfile arch/x86/x86/ipmi.c ipmi needs-flag 2741.49Sbouyer 2751.1Scl# CPUS 2761.1Scl 2771.1Scldevice cpu 2781.13Sdrochnerattach cpu at cpubus 2791.48Sbouyer 2801.48Sbouyerdevice vcpu 2811.48Sbouyerattach vcpu at xendevbus 2821.48Sbouyer 2831.71Sbouyerfile arch/xen/x86/cpu.c cpu | vcpu 2841.1Scl 2851.1Scl# 2861.1Scl# Compatibility modules 2871.1Scl# 2881.1Scl 2891.71Sbouyerifdef i386 2901.1Scl# VM86 mode 2911.1Sclfile arch/i386/i386/vm86.c vm86 2921.1Scl 2931.1Scl# VM86 in kernel 2941.1Sclfile arch/i386/i386/kvm86.c kvm86 2951.1Sclfile arch/i386/i386/kvm86call.S kvm86 2961.1Scl 2971.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2981.53Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 2991.1Sclfile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 3001.1Scl 3011.1Scl# SVR4 binary compatibility (COMPAT_SVR4) 3021.1Sclinclude "compat/svr4/files.svr4" 3031.1Sclfile arch/i386/i386/svr4_machdep.c compat_svr4 3041.1Sclfile arch/i386/i386/svr4_sigcode.S compat_svr4 3051.1Sclfile arch/i386/i386/svr4_syscall.c compat_svr4 3061.1Scl 3071.1Scl# MACH binary compatibility (COMPAT_MACH) 3081.1Sclinclude "compat/mach/files.mach" 3091.1Sclfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 3101.1Sclfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 3111.1Sclfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 3121.1Sclfile arch/i386/i386/macho_machdep.c exec_macho 3131.1Scl 3141.1Scl# DARWIN binary compatibility (COMPAT_DARWIN) 3151.1Sclinclude "compat/darwin/files.darwin" 3161.1Sclfile arch/i386/i386/darwin_machdep.c compat_darwin 3171.1Scl 3181.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2) 3191.1Sclinclude "compat/ibcs2/files.ibcs2" 3201.1Sclfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3211.1Sclfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 3221.1Sclfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3231.1Scl 3241.1Scl# Linux binary compatibility (COMPAT_LINUX) 3251.1Sclinclude "compat/linux/files.linux" 3261.1Sclinclude "compat/linux/arch/i386/files.linux_i386" 3271.1Sclfile arch/i386/i386/linux_sigcode.S compat_linux 3281.1Sclfile arch/i386/i386/linux_syscall.c compat_linux 3291.22Syamtfile arch/x86/x86/linux_trap.c compat_linux 3301.1Scl 3311.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD) 3321.1Sclinclude "compat/freebsd/files.freebsd" 3331.1Sclfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3341.1Sclfile arch/i386/i386/freebsd_sigcode.S compat_freebsd 3351.1Sclfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3361.1Scl 3371.1Scl# Win32 binary compatibility (COMPAT_PECOFF) 3381.1Sclinclude "compat/pecoff/files.pecoff" 3391.1Scl 3401.71Sbouyerelifdef amd64 3411.71Sbouyer# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) 3421.71Sbouyerinclude "compat/netbsd32/files.netbsd32" 3431.71Sbouyerfile arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 3441.71Sbouyerfile arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 3451.71Sbouyerfile arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 3461.71Sbouyer 3471.71Sbouyer# Linux compatibility (COMPAT_LINUX) 3481.71Sbouyerinclude "compat/linux/files.linux" 3491.71Sbouyerinclude "compat/linux/arch/amd64/files.linux_amd64" 3501.71Sbouyerfile arch/amd64/amd64/linux_sigcode.S compat_linux 3511.71Sbouyerfile arch/amd64/amd64/linux_syscall.c compat_linux 3521.71Sbouyerfile arch/x86/x86/linux_trap.c compat_linux 3531.71Sbouyer# Linux 32 bit compatibility (COMPAT_LINUX32) 3541.71Sbouyerinclude "compat/linux32/files.linux32" 3551.71Sbouyerinclude "compat/linux32/arch/amd64/files.linux32_amd64" 3561.71Sbouyerfile arch/amd64/amd64/linux32_sigcode.S compat_linux32 3571.71Sbouyerfile arch/amd64/amd64/linux32_syscall.c compat_linux32 3581.71Sbouyerendif 3591.71Sbouyer 3601.1Scl# OSS audio driver compatibility 3611.1Sclinclude "compat/ossaudio/files.ossaudio" 3621.1Scl 3631.50Sxtraeme# Bluetooth 3641.50Sxtraemeinclude "dev/bluetooth/files.bluetooth" 3651.50Sxtraeme 3661.26Syamt# 3671.26Syamt# CARDBUS 3681.26Syamt# 3691.26Syamtinclude "dev/cardbus/files.cardbus" 3701.71Sbouyerifdef i386 3711.26Syamtfile arch/i386/i386/rbus_machdep.c cardbus 3721.71Sbouyerelifdef amd64 3731.71Sbouyerfile arch/amd64/amd64/rbus_machdep.c cardbus 3741.71Sbouyerendif 3751.26Syamt 3761.26Syamt# this wants to be probed as late as possible. 3771.26Syamt# 3781.26Syamt# Machine-independent PCMCIA drivers 3791.26Syamt# 3801.26Syamtinclude "dev/pcmcia/files.pcmcia" 3811.26Syamt 3821.12Scl# Domain-0 operations 3831.52Sbouyerdefflag opt_xen.h DOM0OPS XEN_COMPAT_030001 3841.12Sclfile arch/xen/xen/privcmd.c dom0ops 3851.71Sbouyerfile arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 3861.33Sbouyerfile arch/xen/xen/xbdback.c dom0ops & !xen3 3871.33Sbouyerfile arch/xen/xen/xennetback.c dom0ops & !xen3 3881.40Sbouyerfile arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 3891.40Sbouyerfile arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 3901.40Sbouyerfile arch/xen/xen/pci_intr_machdep.c hypervisor & pci 3911.17Sbouyerfile arch/xen/xen/isa_machdep.c hypervisor & dom0ops 3921.17Sbouyerfile arch/xen/xen/xenevt.c xenevt & dom0ops 3931.41Sbouyerfile arch/xen/xen/xennetback_xenbus.c xvif & xen3 3941.45Syamtfile arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus 3951.43Sbouyerfile arch/xen/xen/xbdback_xenbus.c xbdback & xen3 3961.12Scl 3971.71Sbouyerifdef i386 3981.18Sbouyerinclude "arch/i386/conf/majors.i386" 3991.71Sbouyerelifdef amd64 4001.74Sbouyerinclude "arch/amd64/conf/majors.amd64" 4011.71Sbouyerendif 402