files.xen revision 1.116
11.116Sjym# $NetBSD: files.xen,v 1.116 2011/04/18 01:36:25 jym 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.110Sbouyerifdef i386 61.3Swizmaxpartitions 8 71.110Sbouyerelse 81.110Sbouyermaxpartitions 16 91.110Sbouyerendif 101.1Scl 111.1Sclmaxusers 2 16 128 121.1Scl 131.30Syamtdefparam opt_kernbase.h KERNBASE 141.30Syamt 151.48Sbouyer# options for MP configuration through the MP spec 161.48Sbouyerdefflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI 171.48Sbouyer 181.1Scl# delay before cpu_reset() for reboot. 191.1Scldefparam CPURESET_DELAY 201.1Scl 211.106Sdyoung# splraise()/spllower() debug 221.106Sdyoungdefflag opt_spldebug.h SPLDEBUG 231.106Sdyoung 241.1Scl# Beep on halt 251.1Scldefflag opt_beep.h BEEP_ONHALT 261.56Sdsldefparam opt_beep.h BEEP_ONHALT_COUNT=3 271.56Sdsldefparam opt_beep.h BEEP_ONHALT_PITCH=1500 281.56Sdsldefparam opt_beep.h BEEP_ONHALT_PERIOD=250 291.1Scl 301.40Sbouyer# PCI fixup options 311.71Sbouyerdefflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP 321.40Sbouyer PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE 331.40Sbouyer 341.71Sbouyerdefparam PCI_CONF_MODE 351.40Sbouyer 361.71Sbouyerfile arch/xen/x86/autoconf.c 371.71Sbouyerifdef i386 381.90Sadfile arch/i386/i386/aout_machdep.c exec_aout 391.64Sadfile arch/i386/i386/busfunc.S 401.64Sadfile arch/i386/i386/cpufunc.S 411.80Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 421.1Sclfile arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 431.1Sclfile arch/i386/i386/db_disasm.c ddb 441.1Sclfile arch/i386/i386/db_interface.c ddb 451.115Sceggerfile arch/i386/i386/db_machdep.c ddb 461.1Sclfile arch/i386/i386/db_memrw.c ddb | kgdb 471.78Sadfile arch/i386/i386/dumpsys.c 481.77Sbouyerfile arch/i386/i386/gdt.c 491.1Sclfile arch/i386/i386/ipkdb_glue.c ipkdb 501.1Sclfile arch/i386/i386/kgdb_machdep.c kgdb 511.81Sjmmvfile arch/i386/i386/kobj_machdep.c modular 521.77Sbouyerfile arch/i386/i386/machdep.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.1Sclfile arch/i386/i386/process_machdep.c 571.72Syamtfile arch/i386/i386/trap.c 581.55Sadfile arch/i386/i386/lock_stubs.S 591.1Scl 601.71Sbouyerfile arch/i386/i386/mptramp.S multiprocessor 611.71Sbouyer 621.71Sbouyerfile arch/i386/i386/pmc.c perfctrs 631.71Sbouyer 641.71Sbouyerfile crypto/des/arch/i386/des_enc.S des 651.71Sbouyerfile crypto/des/arch/i386/des_cbc.S des 661.71Sbouyer 671.71Sbouyerfile crypto/blowfish/arch/i386/bf_enc.S blowfish 681.71Sbouyerfile crypto/blowfish/arch/i386/bf_cbc.S blowfish 691.103Sjym 701.71Sbouyerelifdef amd64 711.93Sbouyerfile arch/amd64/amd64/busfunc.S 721.71Sbouyerfile arch/amd64/amd64/cpufunc.S 731.80Sjoergfile arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 741.71Sbouyerfile arch/amd64/amd64/db_disasm.c ddb 751.115Sceggerfile arch/amd64/amd64/db_interface.c ddb 761.115Sceggerfile arch/amd64/amd64/db_machdep.c ddb 771.71Sbouyerfile arch/amd64/amd64/db_memrw.c ddb | kgdb 781.71Sbouyerfile arch/amd64/amd64/kgdb_machdep.c kgdb 791.81Sjmmvfile arch/amd64/amd64/kobj_machdep.c modular 801.71Sbouyerfile arch/amd64/amd64/gdt.c 811.71Sbouyerfile arch/amd64/amd64/machdep.c 821.71Sbouyerfile arch/amd64/amd64/mem.c 831.71Sbouyerfile arch/amd64/amd64/process_machdep.c 841.71Sbouyerfile arch/amd64/amd64/trap.c 851.71Sbouyerfile arch/amd64/amd64/fpu.c 861.71Sbouyerfile arch/amd64/amd64/lock_stubs.S 871.71Sbouyerfile arch/amd64/amd64/mptramp.S multiprocessor 881.71Sbouyerendif 891.71Sbouyer 901.71Sbouyerfile kern/subr_disk_mbr.c disk 911.115Sceggerfile arch/x86/x86/db_trace.c ddb 921.71Sbouyerfile arch/xen/x86/hypervisor_machdep.c 931.71Sbouyer# file arch/x86/x86/mtrr_i686.c mtrr 941.97Sceggerfile arch/x86/x86/syscall.c 951.71Sbouyerfile arch/xen/x86/x86_xpmap.c 961.107Sdyoungfile arch/xen/x86/xen_pmap.c 971.71Sbouyerfile arch/xen/x86/xen_intr.c 981.71Sbouyerfile arch/xen/x86/xenfunc.c 991.71Sbouyer 1001.71Sbouyerfile arch/xen/xen/xen_machdep.c 1011.1Sclfile arch/xen/xen/xen_debug.c 1021.1Scl 1031.1Sclfile arch/xen/xen/clock.c 1041.102Sceggerfile arch/x86/isa/rtc.c dom0ops 1051.17Sbouyerfile arch/xen/xen/evtchn.c 1061.1Scl 1071.102Sceggerfile arch/xen/xen/xengnt.c 1081.35Sbouyer 1091.1Sclfile dev/cons.c 1101.1Scl 1111.1Scl 1121.1Scl# 1131.1Scl# Machine-independent SCSI drivers 1141.1Scl# 1151.1Scl 1161.17Sbouyerinclude "dev/scsipi/files.scsipi" 1171.1Scl 1181.1Scl# 1191.1Scl# Machine-independent ATA drivers 1201.1Scl# 1211.1Scl 1221.17Sbouyerinclude "dev/ata/files.ata" 1231.1Scl 1241.1Scl# Memory Disk for install floppy 1251.1Sclfile dev/md_root.c memory_disk_hooks 1261.1Scl 1271.27Sbouyerfile arch/x86/x86/bus_dma.c pci 1281.96Srmindfile arch/x86/x86/core_machdep.c coredump 1291.28Sbouyerfile arch/xen/x86/xen_bus_dma.c pci 1301.64Sadfile arch/x86/x86/bus_space.c pci 1311.1Sclfile arch/xen/x86/consinit.c 1321.96Srmindfile arch/x86/x86/identcpu.c 1331.1Sclfile arch/xen/x86/intr.c 1341.84Sadfile arch/x86/x86/ipi.c 1351.96Srmindfile arch/x86/x86/pmap.c 1361.109Srmindfile arch/x86/x86/procfs_machdep.c procfs 1371.59Sadfile arch/x86/x86/sys_machdep.c 1381.86Sadfile arch/x86/x86/tsc.c 1391.96Srmindfile arch/x86/x86/vm_machdep.c 1401.32Sjmmvfile arch/x86/x86/x86_machdep.c 1411.99Spgoyettefile arch/x86/x86/cpu_topology.c 1421.1Scl 1431.1Sclinclude "arch/xen/conf/files.compat" 1441.1Scl 1451.49Sbouyer# BIOS32 routines 1461.71Sbouyerdefine bios32 1471.71Sbouyerifdef i386 1481.77Sbouyerfile arch/i386/i386/bios32.c bios32 needs-flag 1491.71Sbouyerelifdef amd64 1501.77Sbouyerfile arch/amd64/amd64/bios32.c bios32 needs-flag 1511.71Sbouyerendif 1521.49Sbouyer 1531.71Sbouyer# xen specific mainbus attributes 1541.13Sdrochnerdefine cpubus { [apid = -1] } 1551.112Sjruohodefine cpufeaturebus {} 1561.57Sdrochnerdefine ioapicbus { [apid = -1] } 1571.13Sdrochnerdefine apmbus {} 1581.13Sdrochnerdefine pnpbiosbus {} 1591.13Sdrochnerdefine hypervisorbus {} 1601.29Sbouyerdefine xendevbus {} 1611.49Sbouyerdefine ipmibus {} 1621.13Sdrochner 1631.1Scl# 1641.1Scl# System bus types 1651.1Scl# 1661.1Scl 1671.57Sdrochnerdevice mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus 1681.1Sclattach mainbus at root 1691.71Sbouyerfile arch/xen/x86/mainbus.c mainbus 1701.5Scl 1711.5Scl# Xen hypervisor 1721.48Sbouyerdevice hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus 1731.17Sbouyerattach hypervisor at hypervisorbus 1741.5Sclfile arch/xen/xen/hypervisor.c hypervisor needs-flag 1751.102Sceggerfile arch/xen/xen/shutdown_xenbus.c hypervisor 1761.1Scl 1771.102Scegger# Xenbus 1781.35Sbouyerdevice xenbus {[id = -1]} 1791.35Sbouyerattach xenbus at xendevbus 1801.102Sceggerfile arch/xen/xenbus/xenbus_client.c xenbus needs-flag 1811.102Sceggerfile arch/xen/xenbus/xenbus_comms.c xenbus needs-flag 1821.102Sceggerfile arch/xen/xenbus/xenbus_dev.c xenbus & dom0ops needs-flag 1831.102Sceggerfile arch/xen/xenbus/xenbus_probe.c xenbus needs-flag 1841.102Sceggerfile arch/xen/xenbus/xenbus_xs.c xenbus needs-flag 1851.35Sbouyer 1861.71Sbouyerifdef i386 1871.1Scl# Numeric Processing Extension; Math Co-processor 1881.1Scldevice npx 1891.77Sbouyerfile arch/i386/isa/npx.c npx needs-flag 1901.1Scl 1911.29Sbouyerattach npx at xendevbus with npx_hv 1921.1Sclfile arch/xen/i386/npx_hv.c npx_hv 1931.71Sbouyerendif 1941.1Scl 1951.1Scl# Xen console support 1961.6Scldevice xencons: tty 1971.29Sbouyerattach xencons at xendevbus 1981.6Sclfile arch/xen/xen/xencons.c xencons needs-flag 1991.1Scl 2001.17Sbouyer# Xen event peudo-device 2011.17Sbouyerdefpseudo xenevt 2021.41Sbouyerdefpseudo xvif 2031.43Sbouyerdefpseudo xbdback 2041.17Sbouyer 2051.27Sbouyer# Xen Network driver 2061.27Sbouyerdevice xennet: arp, ether, ifnet 2071.102Sceggerattach xennet at xenbus 2081.102Sceggerfile arch/xen/xen/if_xennet_xenbus.c xennet needs-flag 2091.27Sbouyer 2101.27Sbouyer# Xen Block device driver and wd/sd/cd identities 2111.27Sbouyerdevice xbd: disk 2121.102Sceggerattach xbd at xenbus 2131.102Sceggerfile arch/xen/xen/xbd_xenbus.c xbd 2141.27Sbouyer 2151.93Sbouyer# PCI frontend 2161.93Sbouyerdevice xpci: pcibus 2171.93Sbouyerattach xpci at xenbus with xpci_xenbus 2181.93Sbouyerfile arch/xen/xen/xpci_xenbus.c xpci_xenbus 2191.93Sbouyer 2201.116Sjym# Xen Balloon driver 2211.116Sjymdevice balloon 2221.116Sjymattach balloon at xenbus 2231.116Sjymfile arch/xen/xen/balloon.c balloon 2241.116Sjym 2251.27Sbouyer# Non-Xen specific devices and options 2261.27Sbouyer 2271.10Sclinclude "dev/pckbport/files.pckbport" 2281.10Scl 2291.17Sbouyer# 2301.17Sbouyer# Machine-independent PCI devices 2311.17Sbouyer# 2321.17Sbouyerinclude "dev/i2o/files.i2o" 2331.17Sbouyerinclude "dev/pci/files.pci" 2341.17Sbouyerinclude "dev/pci/files.agp" 2351.17Sbouyerfile arch/xen/xen/pciide_machdep.c pciide_common 2361.23Schs 2371.93Sbouyerdevice pciback {unit = -1} 2381.93Sbouyerattach pciback at pci 2391.93Sbouyerfile arch/xen/xen/pciback.c pciback 2401.93Sbouyer 2411.93Sbouyer 2421.88Sjoerg# x86 specific PCI hardware 2431.88Sjoerginclude "arch/x86/pci/files.pci" 2441.88Sjoerg 2451.17Sbouyer# 2461.17Sbouyer# Machine-independent ISA devices 2471.17Sbouyer# 2481.17Sbouyerinclude "dev/isa/files.isa" 2491.17Sbouyer 2501.31Sbouyerinclude "dev/usb/files.usb" 2511.17Sbouyer 2521.31Sbouyerinclude "dev/ieee1394/files.ieee1394" 2531.17Sbouyer 2541.71Sbouyerdevice fdc {drive = -1} #XXX 2551.40Sbouyer 2561.44Schristosinclude "dev/apm/files.apm" 2571.44Schristos 2581.40Sbouyerinclude "dev/acpi/files.acpi" 2591.40Sbouyerfile arch/xen/xen/xen_acpi_machdep.c acpi 2601.48Sbouyerfile arch/x86/x86/mpacpi.c acpi 2611.40Sbouyerfile arch/x86/x86/acpi_machdep.c acpi 2621.102Sceggerfile arch/x86/x86/i8259.c 2631.48Sbouyer 2641.114Sdyoung# Stubs for x86 routines not included in the system 2651.114Sdyoungfile arch/x86/x86/x86_stub.c 2661.114Sdyoung 2671.48Sbouyer# MP configuration using Intel SMP specification 1.4 2681.48Sbouyerfile arch/x86/x86/mpbios.c mpbios 2691.40Sbouyer 2701.98Scegger# MP configuration using either ACPI or Intel SMP specification 1.4 2711.98Sceggerfile arch/x86/x86/mp.c acpi | mpbios 2721.98Scegger 2731.92Sbouyerfile arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 2741.92Sbouyerfile arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 2751.40Sbouyer 2761.48Sbouyerfile arch/x86/x86/apic.c ioapic 2771.114Sdyoungfile arch/x86/x86/nmi.c 2781.48Sbouyer 2791.48Sbouyerdevice ioapic 2801.57Sdrochnerattach ioapic at ioapicbus 2811.48Sbouyerfile arch/x86/x86/ioapic.c ioapic needs-flag 2821.48Sbouyer 2831.49Sbouyer#IPMI device 2841.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog 2851.49Sbouyerattach ipmi at ipmibus 2861.49Sbouyerfile arch/x86/x86/ipmi.c ipmi needs-flag 2871.49Sbouyer 2881.112Sjruoho# CPUs 2891.112Sjruoho# 2901.112Sjruohodevice cpu: cpufeaturebus 2911.13Sdrochnerattach cpu at cpubus 2921.48Sbouyer 2931.48Sbouyerdevice vcpu 2941.48Sbouyerattach vcpu at xendevbus 2951.48Sbouyer 2961.71Sbouyerfile arch/xen/x86/cpu.c cpu | vcpu 2971.1Scl 2981.112Sjruoho# CPU features 2991.112Sjruoho# 3001.112Sjruohodevice est 3011.112Sjruohoattach est at cpufeaturebus 3021.112Sjruohofile arch/x86/x86/est.c est 3031.112Sjruohofile arch/x86/x86/intel_busclock.c est 3041.112Sjruoho 3051.113Sjruohodevice powernow 3061.113Sjruohoattach powernow at cpufeaturebus 3071.113Sjruohofile arch/x86/x86/powernow.c powernow 3081.113Sjruoho 3091.1Scl# 3101.1Scl# Compatibility modules 3111.1Scl# 3121.1Scl 3131.71Sbouyerifdef i386 3141.1Scl# VM86 mode 3151.1Sclfile arch/i386/i386/vm86.c vm86 3161.1Scl 3171.1Scl# VM86 in kernel 3181.1Sclfile arch/i386/i386/kvm86.c kvm86 3191.1Sclfile arch/i386/i386/kvm86call.S kvm86 3201.1Scl 3211.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3221.53Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3231.1Sclfile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 3241.1Scl 3251.1Scl# SVR4 binary compatibility (COMPAT_SVR4) 3261.1Sclinclude "compat/svr4/files.svr4" 3271.1Sclfile arch/i386/i386/svr4_machdep.c compat_svr4 3281.1Sclfile arch/i386/i386/svr4_sigcode.S compat_svr4 3291.1Sclfile arch/i386/i386/svr4_syscall.c compat_svr4 3301.1Scl 3311.1Scl# MACH binary compatibility (COMPAT_MACH) 3321.1Sclinclude "compat/mach/files.mach" 3331.1Sclfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 3341.1Sclfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 3351.1Sclfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 3361.104Smanufile arch/i386/i386/darwin_commpage_machdep.S compat_darwin 3371.1Sclfile arch/i386/i386/macho_machdep.c exec_macho 3381.1Scl 3391.1Scl# DARWIN binary compatibility (COMPAT_DARWIN) 3401.1Sclinclude "compat/darwin/files.darwin" 3411.1Sclfile arch/i386/i386/darwin_machdep.c compat_darwin 3421.1Scl 3431.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2) 3441.1Sclinclude "compat/ibcs2/files.ibcs2" 3451.1Sclfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3461.1Sclfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 3471.1Sclfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3481.1Scl 3491.1Scl# Linux binary compatibility (COMPAT_LINUX) 3501.1Sclinclude "compat/linux/files.linux" 3511.1Sclinclude "compat/linux/arch/i386/files.linux_i386" 3521.1Sclfile arch/i386/i386/linux_sigcode.S compat_linux 3531.1Sclfile arch/i386/i386/linux_syscall.c compat_linux 3541.22Syamtfile arch/x86/x86/linux_trap.c compat_linux 3551.1Scl 3561.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD) 3571.1Sclinclude "compat/freebsd/files.freebsd" 3581.1Sclfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3591.1Sclfile arch/i386/i386/freebsd_sigcode.S compat_freebsd 3601.1Sclfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3611.1Scl 3621.1Scl# Win32 binary compatibility (COMPAT_PECOFF) 3631.1Sclinclude "compat/pecoff/files.pecoff" 3641.1Scl 3651.71Sbouyerelifdef amd64 3661.71Sbouyer# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) 3671.71Sbouyerinclude "compat/netbsd32/files.netbsd32" 3681.71Sbouyerfile arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 3691.71Sbouyerfile arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 3701.71Sbouyerfile arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 3711.71Sbouyer 3721.71Sbouyer# Linux compatibility (COMPAT_LINUX) 3731.71Sbouyerinclude "compat/linux/files.linux" 3741.71Sbouyerinclude "compat/linux/arch/amd64/files.linux_amd64" 3751.71Sbouyerfile arch/amd64/amd64/linux_sigcode.S compat_linux 3761.71Sbouyerfile arch/amd64/amd64/linux_syscall.c compat_linux 3771.71Sbouyerfile arch/x86/x86/linux_trap.c compat_linux 3781.71Sbouyer# Linux 32 bit compatibility (COMPAT_LINUX32) 3791.71Sbouyerinclude "compat/linux32/files.linux32" 3801.71Sbouyerinclude "compat/linux32/arch/amd64/files.linux32_amd64" 3811.71Sbouyerfile arch/amd64/amd64/linux32_sigcode.S compat_linux32 3821.71Sbouyerfile arch/amd64/amd64/linux32_syscall.c compat_linux32 3831.71Sbouyerendif 3841.71Sbouyer 3851.1Scl# OSS audio driver compatibility 3861.1Sclinclude "compat/ossaudio/files.ossaudio" 3871.1Scl 3881.50Sxtraeme# Bluetooth 3891.50Sxtraemeinclude "dev/bluetooth/files.bluetooth" 3901.50Sxtraeme 3911.26Syamt# 3921.26Syamt# CARDBUS 3931.26Syamt# 3941.26Syamtinclude "dev/cardbus/files.cardbus" 3951.71Sbouyerifdef i386 3961.26Syamtfile arch/i386/i386/rbus_machdep.c cardbus 3971.71Sbouyerelifdef amd64 3981.71Sbouyerfile arch/amd64/amd64/rbus_machdep.c cardbus 3991.71Sbouyerendif 4001.26Syamt 4011.26Syamt# this wants to be probed as late as possible. 4021.26Syamt# 4031.26Syamt# Machine-independent PCMCIA drivers 4041.26Syamt# 4051.26Syamtinclude "dev/pcmcia/files.pcmcia" 4061.26Syamt 4071.12Scl# Domain-0 operations 4081.116Sjymdefflag opt_xen.h DOM0OPS XEN_COMPAT_030001 4091.12Sclfile arch/xen/xen/privcmd.c dom0ops 4101.102Sceggerfile arch/xen/x86/xen_shm_machdep.c dom0ops 4111.102Sceggerfile arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops 4121.40Sbouyerfile arch/xen/xen/pci_intr_machdep.c hypervisor & pci 4131.17Sbouyerfile arch/xen/xen/isa_machdep.c hypervisor & dom0ops 4141.17Sbouyerfile arch/xen/xen/xenevt.c xenevt & dom0ops 4151.102Sceggerfile arch/xen/xen/xennetback_xenbus.c xvif 4161.102Sceggerfile arch/xen/xen/xennet_checksum.c xvif | xennet 4171.102Sceggerfile arch/xen/xen/xbdback_xenbus.c xbdback 4181.12Scl 4191.71Sbouyerifdef i386 4201.18Sbouyerinclude "arch/i386/conf/majors.i386" 4211.71Sbouyerelifdef amd64 4221.74Sbouyerinclude "arch/amd64/conf/majors.amd64" 4231.71Sbouyerendif 424