files.xen revision 1.113
11.113Sjruoho# $NetBSD: files.xen,v 1.113 2011/02/24 10:56:03 jruoho 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.1Sclfile arch/i386/i386/db_memrw.c ddb | kgdb 461.1Sclfile arch/i386/i386/db_trace.c ddb 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.71Sbouyerfile arch/amd64/amd64/db_interface.c ddb 761.71Sbouyerfile arch/amd64/amd64/db_memrw.c ddb | kgdb 771.71Sbouyerfile arch/amd64/amd64/db_trace.c ddb 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.71Sbouyerfile arch/xen/x86/hypervisor_machdep.c 921.71Sbouyer# file arch/x86/x86/mtrr_i686.c mtrr 931.97Sceggerfile arch/x86/x86/syscall.c 941.71Sbouyerfile arch/xen/x86/x86_xpmap.c 951.107Sdyoungfile arch/xen/x86/xen_pmap.c 961.71Sbouyerfile arch/xen/x86/xen_intr.c 971.71Sbouyerfile arch/xen/x86/xenfunc.c 981.71Sbouyer 991.71Sbouyerfile arch/xen/xen/xen_machdep.c 1001.1Sclfile arch/xen/xen/xen_debug.c 1011.1Scl 1021.1Sclfile arch/xen/xen/clock.c 1031.102Sceggerfile arch/x86/isa/rtc.c dom0ops 1041.17Sbouyerfile arch/xen/xen/evtchn.c 1051.1Scl 1061.102Sceggerfile arch/xen/xen/xengnt.c 1071.35Sbouyer 1081.1Sclfile dev/cons.c 1091.1Scl 1101.1Scl 1111.1Scl# 1121.1Scl# Machine-independent SCSI drivers 1131.1Scl# 1141.1Scl 1151.17Sbouyerinclude "dev/scsipi/files.scsipi" 1161.1Scl 1171.1Scl# 1181.1Scl# Machine-independent ATA drivers 1191.1Scl# 1201.1Scl 1211.17Sbouyerinclude "dev/ata/files.ata" 1221.1Scl 1231.1Scl# Memory Disk for install floppy 1241.1Sclfile dev/md_root.c memory_disk_hooks 1251.1Scl 1261.27Sbouyerfile arch/x86/x86/bus_dma.c pci 1271.96Srmindfile arch/x86/x86/core_machdep.c coredump 1281.28Sbouyerfile arch/xen/x86/xen_bus_dma.c pci 1291.64Sadfile arch/x86/x86/bus_space.c pci 1301.1Sclfile arch/xen/x86/consinit.c 1311.96Srmindfile arch/x86/x86/identcpu.c 1321.1Sclfile arch/xen/x86/intr.c 1331.84Sadfile arch/x86/x86/ipi.c 1341.96Srmindfile arch/x86/x86/pmap.c 1351.109Srmindfile arch/x86/x86/procfs_machdep.c procfs 1361.59Sadfile arch/x86/x86/sys_machdep.c 1371.86Sadfile arch/x86/x86/tsc.c 1381.96Srmindfile arch/x86/x86/vm_machdep.c 1391.32Sjmmvfile arch/x86/x86/x86_machdep.c 1401.99Spgoyettefile arch/x86/x86/cpu_topology.c 1411.1Scl 1421.1Sclinclude "arch/xen/conf/files.compat" 1431.1Scl 1441.49Sbouyer# BIOS32 routines 1451.71Sbouyerdefine bios32 1461.71Sbouyerifdef i386 1471.77Sbouyerfile arch/i386/i386/bios32.c bios32 needs-flag 1481.71Sbouyerelifdef amd64 1491.77Sbouyerfile arch/amd64/amd64/bios32.c bios32 needs-flag 1501.71Sbouyerendif 1511.49Sbouyer 1521.71Sbouyer# xen specific mainbus attributes 1531.13Sdrochnerdefine cpubus { [apid = -1] } 1541.112Sjruohodefine cpufeaturebus {} 1551.57Sdrochnerdefine ioapicbus { [apid = -1] } 1561.13Sdrochnerdefine apmbus {} 1571.13Sdrochnerdefine pnpbiosbus {} 1581.13Sdrochnerdefine hypervisorbus {} 1591.29Sbouyerdefine xendevbus {} 1601.49Sbouyerdefine ipmibus {} 1611.13Sdrochner 1621.1Scl# 1631.1Scl# System bus types 1641.1Scl# 1651.1Scl 1661.57Sdrochnerdevice mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus 1671.1Sclattach mainbus at root 1681.71Sbouyerfile arch/xen/x86/mainbus.c mainbus 1691.5Scl 1701.5Scl# Xen hypervisor 1711.48Sbouyerdevice hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus 1721.17Sbouyerattach hypervisor at hypervisorbus 1731.5Sclfile arch/xen/xen/hypervisor.c hypervisor needs-flag 1741.102Sceggerfile arch/xen/xen/shutdown_xenbus.c hypervisor 1751.1Scl 1761.102Scegger# Xenbus 1771.35Sbouyerdevice xenbus {[id = -1]} 1781.35Sbouyerattach xenbus at xendevbus 1791.102Sceggerfile arch/xen/xenbus/xenbus_client.c xenbus needs-flag 1801.102Sceggerfile arch/xen/xenbus/xenbus_comms.c xenbus needs-flag 1811.102Sceggerfile arch/xen/xenbus/xenbus_dev.c xenbus & dom0ops needs-flag 1821.102Sceggerfile arch/xen/xenbus/xenbus_probe.c xenbus needs-flag 1831.102Sceggerfile arch/xen/xenbus/xenbus_xs.c xenbus needs-flag 1841.35Sbouyer 1851.71Sbouyerifdef i386 1861.1Scl# Numeric Processing Extension; Math Co-processor 1871.1Scldevice npx 1881.77Sbouyerfile arch/i386/isa/npx.c npx needs-flag 1891.1Scl 1901.29Sbouyerattach npx at xendevbus with npx_hv 1911.1Sclfile arch/xen/i386/npx_hv.c npx_hv 1921.71Sbouyerendif 1931.1Scl 1941.1Scl# Xen console support 1951.6Scldevice xencons: tty 1961.29Sbouyerattach xencons at xendevbus 1971.6Sclfile arch/xen/xen/xencons.c xencons needs-flag 1981.1Scl 1991.17Sbouyer# Xen event peudo-device 2001.17Sbouyerdefpseudo xenevt 2011.41Sbouyerdefpseudo xvif 2021.43Sbouyerdefpseudo xbdback 2031.17Sbouyer 2041.27Sbouyer# Xen Network driver 2051.27Sbouyerdevice xennet: arp, ether, ifnet 2061.102Sceggerattach xennet at xenbus 2071.102Sceggerfile arch/xen/xen/if_xennet_xenbus.c xennet needs-flag 2081.27Sbouyer 2091.27Sbouyer# Xen Block device driver and wd/sd/cd identities 2101.27Sbouyerdevice xbd: disk 2111.102Sceggerattach xbd at xenbus 2121.102Sceggerfile arch/xen/xen/xbd_xenbus.c xbd 2131.27Sbouyer 2141.93Sbouyer# PCI frontend 2151.93Sbouyerdevice xpci: pcibus 2161.93Sbouyerattach xpci at xenbus with xpci_xenbus 2171.93Sbouyerfile arch/xen/xen/xpci_xenbus.c xpci_xenbus 2181.93Sbouyer 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.93Sbouyerdevice pciback {unit = -1} 2321.93Sbouyerattach pciback at pci 2331.93Sbouyerfile arch/xen/xen/pciback.c pciback 2341.93Sbouyer 2351.93Sbouyer 2361.88Sjoerg# x86 specific PCI hardware 2371.88Sjoerginclude "arch/x86/pci/files.pci" 2381.88Sjoerg 2391.17Sbouyer# 2401.17Sbouyer# Machine-independent ISA devices 2411.17Sbouyer# 2421.17Sbouyerinclude "dev/isa/files.isa" 2431.17Sbouyer 2441.31Sbouyerinclude "dev/usb/files.usb" 2451.17Sbouyer 2461.31Sbouyerinclude "dev/ieee1394/files.ieee1394" 2471.17Sbouyer 2481.71Sbouyerdevice fdc {drive = -1} #XXX 2491.40Sbouyer 2501.44Schristosinclude "dev/apm/files.apm" 2511.44Schristos 2521.40Sbouyerinclude "dev/acpi/files.acpi" 2531.40Sbouyerfile arch/xen/xen/xen_acpi_machdep.c acpi 2541.48Sbouyerfile arch/x86/x86/mpacpi.c acpi 2551.40Sbouyerfile arch/x86/x86/acpi_machdep.c acpi 2561.102Sceggerfile arch/x86/x86/i8259.c 2571.48Sbouyer 2581.48Sbouyer# MP configuration using Intel SMP specification 1.4 2591.48Sbouyerfile arch/x86/x86/mpbios.c mpbios 2601.40Sbouyer 2611.98Scegger# MP configuration using either ACPI or Intel SMP specification 1.4 2621.98Sceggerfile arch/x86/x86/mp.c acpi | mpbios 2631.98Scegger 2641.92Sbouyerfile arch/x86/pci/pci_bus_fixup.c pci_bus_fixup 2651.92Sbouyerfile arch/x86/pci/pci_addr_fixup.c pci_addr_fixup 2661.40Sbouyer 2671.48Sbouyerfile arch/x86/x86/apic.c ioapic 2681.48Sbouyer 2691.48Sbouyerdevice ioapic 2701.57Sdrochnerattach ioapic at ioapicbus 2711.48Sbouyerfile arch/x86/x86/ioapic.c ioapic needs-flag 2721.48Sbouyer 2731.49Sbouyer#IPMI device 2741.49Sbouyerdevice ipmi : sysmon_envsys, sysmon_wdog 2751.49Sbouyerattach ipmi at ipmibus 2761.49Sbouyerfile arch/x86/x86/ipmi.c ipmi needs-flag 2771.49Sbouyer 2781.112Sjruoho# CPUs 2791.112Sjruoho# 2801.112Sjruohodevice cpu: cpufeaturebus 2811.13Sdrochnerattach cpu at cpubus 2821.48Sbouyer 2831.48Sbouyerdevice vcpu 2841.48Sbouyerattach vcpu at xendevbus 2851.48Sbouyer 2861.71Sbouyerfile arch/xen/x86/cpu.c cpu | vcpu 2871.1Scl 2881.112Sjruoho# CPU features 2891.112Sjruoho# 2901.112Sjruohodevice est 2911.112Sjruohoattach est at cpufeaturebus 2921.112Sjruohofile arch/x86/x86/est.c est 2931.112Sjruohofile arch/x86/x86/intel_busclock.c est 2941.112Sjruoho 2951.113Sjruohodevice powernow 2961.113Sjruohoattach powernow at cpufeaturebus 2971.113Sjruohofile arch/x86/x86/powernow.c powernow 2981.113Sjruoho 2991.1Scl# 3001.1Scl# Compatibility modules 3011.1Scl# 3021.1Scl 3031.71Sbouyerifdef i386 3041.1Scl# VM86 mode 3051.1Sclfile arch/i386/i386/vm86.c vm86 3061.1Scl 3071.1Scl# VM86 in kernel 3081.1Sclfile arch/i386/i386/kvm86.c kvm86 3091.1Sclfile arch/i386/i386/kvm86call.S kvm86 3101.1Scl 3111.1Scl# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3121.53Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3131.1Sclfile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 3141.1Scl 3151.1Scl# SVR4 binary compatibility (COMPAT_SVR4) 3161.1Sclinclude "compat/svr4/files.svr4" 3171.1Sclfile arch/i386/i386/svr4_machdep.c compat_svr4 3181.1Sclfile arch/i386/i386/svr4_sigcode.S compat_svr4 3191.1Sclfile arch/i386/i386/svr4_syscall.c compat_svr4 3201.1Scl 3211.1Scl# MACH binary compatibility (COMPAT_MACH) 3221.1Sclinclude "compat/mach/files.mach" 3231.1Sclfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 3241.1Sclfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 3251.1Sclfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 3261.104Smanufile arch/i386/i386/darwin_commpage_machdep.S compat_darwin 3271.1Sclfile arch/i386/i386/macho_machdep.c exec_macho 3281.1Scl 3291.1Scl# DARWIN binary compatibility (COMPAT_DARWIN) 3301.1Sclinclude "compat/darwin/files.darwin" 3311.1Sclfile arch/i386/i386/darwin_machdep.c compat_darwin 3321.1Scl 3331.1Scl# iBCS-2 binary compatibility (COMPAT_IBCS2) 3341.1Sclinclude "compat/ibcs2/files.ibcs2" 3351.1Sclfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3361.1Sclfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 3371.1Sclfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3381.1Scl 3391.1Scl# Linux binary compatibility (COMPAT_LINUX) 3401.1Sclinclude "compat/linux/files.linux" 3411.1Sclinclude "compat/linux/arch/i386/files.linux_i386" 3421.1Sclfile arch/i386/i386/linux_sigcode.S compat_linux 3431.1Sclfile arch/i386/i386/linux_syscall.c compat_linux 3441.22Syamtfile arch/x86/x86/linux_trap.c compat_linux 3451.1Scl 3461.1Scl# FreeBSD binary compatibility (COMPAT_FREEBSD) 3471.1Sclinclude "compat/freebsd/files.freebsd" 3481.1Sclfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3491.1Sclfile arch/i386/i386/freebsd_sigcode.S compat_freebsd 3501.1Sclfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3511.1Scl 3521.1Scl# Win32 binary compatibility (COMPAT_PECOFF) 3531.1Sclinclude "compat/pecoff/files.pecoff" 3541.1Scl 3551.71Sbouyerelifdef amd64 3561.71Sbouyer# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) 3571.71Sbouyerinclude "compat/netbsd32/files.netbsd32" 3581.71Sbouyerfile arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 3591.71Sbouyerfile arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 3601.71Sbouyerfile arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 3611.71Sbouyer 3621.71Sbouyer# Linux compatibility (COMPAT_LINUX) 3631.71Sbouyerinclude "compat/linux/files.linux" 3641.71Sbouyerinclude "compat/linux/arch/amd64/files.linux_amd64" 3651.71Sbouyerfile arch/amd64/amd64/linux_sigcode.S compat_linux 3661.71Sbouyerfile arch/amd64/amd64/linux_syscall.c compat_linux 3671.71Sbouyerfile arch/x86/x86/linux_trap.c compat_linux 3681.71Sbouyer# Linux 32 bit compatibility (COMPAT_LINUX32) 3691.71Sbouyerinclude "compat/linux32/files.linux32" 3701.71Sbouyerinclude "compat/linux32/arch/amd64/files.linux32_amd64" 3711.71Sbouyerfile arch/amd64/amd64/linux32_sigcode.S compat_linux32 3721.71Sbouyerfile arch/amd64/amd64/linux32_syscall.c compat_linux32 3731.71Sbouyerendif 3741.71Sbouyer 3751.1Scl# OSS audio driver compatibility 3761.1Sclinclude "compat/ossaudio/files.ossaudio" 3771.1Scl 3781.50Sxtraeme# Bluetooth 3791.50Sxtraemeinclude "dev/bluetooth/files.bluetooth" 3801.50Sxtraeme 3811.26Syamt# 3821.26Syamt# CARDBUS 3831.26Syamt# 3841.26Syamtinclude "dev/cardbus/files.cardbus" 3851.71Sbouyerifdef i386 3861.26Syamtfile arch/i386/i386/rbus_machdep.c cardbus 3871.71Sbouyerelifdef amd64 3881.71Sbouyerfile arch/amd64/amd64/rbus_machdep.c cardbus 3891.71Sbouyerendif 3901.26Syamt 3911.26Syamt# this wants to be probed as late as possible. 3921.26Syamt# 3931.26Syamt# Machine-independent PCMCIA drivers 3941.26Syamt# 3951.26Syamtinclude "dev/pcmcia/files.pcmcia" 3961.26Syamt 3971.12Scl# Domain-0 operations 3981.108Scherrydefflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON 3991.12Sclfile arch/xen/xen/privcmd.c dom0ops 4001.102Sceggerfile arch/xen/x86/xen_shm_machdep.c dom0ops 4011.102Sceggerfile arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops 4021.40Sbouyerfile arch/xen/xen/pci_intr_machdep.c hypervisor & pci 4031.17Sbouyerfile arch/xen/xen/isa_machdep.c hypervisor & dom0ops 4041.17Sbouyerfile arch/xen/xen/xenevt.c xenevt & dom0ops 4051.102Sceggerfile arch/xen/xen/xennetback_xenbus.c xvif 4061.102Sceggerfile arch/xen/xen/xennet_checksum.c xvif | xennet 4071.102Sceggerfile arch/xen/xen/xbdback_xenbus.c xbdback 4081.108Scherryfile arch/xen/xen/balloon.c hypervisor 4091.12Scl 4101.71Sbouyerifdef i386 4111.18Sbouyerinclude "arch/i386/conf/majors.i386" 4121.71Sbouyerelifdef amd64 4131.74Sbouyerinclude "arch/amd64/conf/majors.amd64" 4141.71Sbouyerendif 415