[BACK]Return to files.xen CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / xen / conf

Annotation of src/sys/arch/xen/conf/files.xen, Revision 1.81

1.81    ! jmmv        1: #      $NetBSD: files.xen,v 1.80 2008/01/25 21:12:13 joerg Exp $
1.1       cl          2: #      NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp
1.4       cl          3: #      NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp
1.1       cl          4:
1.71      bouyer      5: version 20071109
                      6:
1.3       wiz         7: maxpartitions 8
1.1       cl          8:
                      9: maxusers 2 16 128
                     10:
1.30      yamt       11: defparam opt_kernbase.h        KERNBASE
                     12:
1.48      bouyer     13: # options for MP configuration through the MP spec
                     14: defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
                     15:
1.1       cl         16: # delay before cpu_reset() for reboot.
                     17: defparam               CPURESET_DELAY
                     18:
                     19: # No unmapped page below kernel stack
                     20: defflag                        NOREDZONE
                     21:
                     22: # Beep on halt
                     23: defflag opt_beep.h             BEEP_ONHALT
1.56      dsl        24: defparam opt_beep.h            BEEP_ONHALT_COUNT=3
                     25: defparam opt_beep.h            BEEP_ONHALT_PITCH=1500
                     26: defparam opt_beep.h            BEEP_ONHALT_PERIOD=250
1.1       cl         27:
1.40      bouyer     28: # PCI fixup options
1.71      bouyer     29: defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP
1.40      bouyer     30:                        PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE
                     31:
1.71      bouyer     32: defparam               PCI_CONF_MODE
1.40      bouyer     33:
1.71      bouyer     34: file   arch/xen/x86/autoconf.c
                     35: ifdef i386
1.64      ad         36: file   arch/i386/i386/busfunc.S
                     37: file   arch/i386/i386/cpufunc.S
1.80      joerg      38: file   arch/i386/i386/cpu_in_cksum.S   (inet | inet6) & cpu_in_cksum
1.1       cl         39: file   arch/i386/i386/db_dbgreg.S      ddb | kstack_check_dr0
                     40: file   arch/i386/i386/db_disasm.c      ddb
                     41: file   arch/i386/i386/db_interface.c   ddb
                     42: file   arch/i386/i386/db_memrw.c       ddb | kgdb
                     43: file   arch/i386/i386/db_trace.c       ddb
1.78      ad         44: file   arch/i386/i386/dumpsys.c
1.77      bouyer     45: file   arch/i386/i386/gdt.c
1.1       cl         46: file   arch/i386/i386/ipkdb_glue.c     ipkdb
                     47: file   arch/i386/i386/kgdb_machdep.c   kgdb
1.81    ! jmmv       48: file   arch/i386/i386/kobj_machdep.c   modular
1.77      bouyer     49: file   arch/i386/i386/machdep.c
1.71      bouyer     50: file   arch/i386/i386/identcpu.c
1.76      yamt       51: file   arch/x86/x86/x86_identcpu.c
1.1       cl         52: file   arch/i386/i386/mem.c
                     53: file   arch/i386/i386/mtrr_k6.c        mtrr
1.77      bouyer     54: file   arch/x86/x86/pmap.c
1.1       cl         55: file   arch/i386/i386/process_machdep.c
                     56: file   arch/i386/i386/procfs_machdep.c procfs
                     57: file   arch/i386/i386/syscall.c
1.72      yamt       58: file   arch/i386/i386/trap.c
1.1       cl         59: file   arch/i386/i386/vm_machdep.c
1.55      ad         60: file   arch/i386/i386/lock_stubs.S
1.1       cl         61:
1.71      bouyer     62: file   arch/i386/i386/mptramp.S                multiprocessor
                     63: file   arch/i386/i386/ipifuncs.c               multiprocessor
                     64:
                     65: file   arch/i386/i386/pmc.c                    perfctrs
                     66:
                     67: file   crypto/des/arch/i386/des_enc.S          des
                     68: file   crypto/des/arch/i386/des_cbc.S          des
                     69:
                     70: file   crypto/blowfish/arch/i386/bf_enc.S      blowfish
                     71: file   crypto/blowfish/arch/i386/bf_cbc.S      blowfish
                     72: elifdef amd64
                     73: file   arch/amd64/amd64/busfunc.S              dom0ops
                     74: file   arch/amd64/amd64/cpufunc.S
1.80      joerg      75: file   arch/amd64/amd64/cpu_in_cksum.S         (inet | inet6) & cpu_in_cksum
1.71      bouyer     76: file   arch/amd64/amd64/db_disasm.c            ddb
                     77: file   arch/amd64/amd64/db_interface.c  ddb
                     78: file   arch/amd64/amd64/db_memrw.c             ddb | kgdb
                     79: file   arch/amd64/amd64/db_trace.c             ddb
                     80: file   arch/amd64/amd64/kgdb_machdep.c  kgdb
1.81    ! jmmv       81: file   arch/amd64/amd64/kobj_machdep.c         modular
1.71      bouyer     82: file   arch/amd64/amd64/gdt.c
                     83: file   arch/amd64/amd64/machdep.c
                     84: file   arch/amd64/amd64/identcpu.c
1.76      yamt       85: file   arch/x86/x86/x86_identcpu.c
1.71      bouyer     86: file   arch/amd64/amd64/mem.c
                     87: file   arch/x86/x86/pmap.c
                     88: file   arch/amd64/amd64/process_machdep.c
                     89: file   arch/amd64/amd64/procfs_machdep.c       procfs
                     90: file   arch/amd64/amd64/syscall.c
                     91: file   arch/amd64/amd64/trap.c
                     92: file   arch/amd64/amd64/vm_machdep.c
                     93: file   arch/amd64/amd64/fpu.c
                     94: file   arch/amd64/amd64/lock_stubs.S
                     95: file   arch/amd64/amd64/mptramp.S              multiprocessor
                     96: file   arch/amd64/amd64/ipifuncs.c             multiprocessor
                     97: endif
                     98:
                     99: file   kern/subr_disk_mbr.c            disk
                    100: file   arch/xen/x86/hypervisor_machdep.c
                    101: file   arch/xen/x86/idle_machdep.c
                    102: # file         arch/x86/x86/mtrr_i686.c        mtrr
                    103: file   arch/xen/x86/x86_xpmap.c
                    104: file   arch/xen/x86/xen_intr.c
                    105: file   arch/xen/x86/xenfunc.c
                    106:
                    107: file   arch/xen/xen/xen_machdep.c
1.1       cl        108: file   arch/xen/xen/xen_debug.c
                    109:
                    110: file   arch/xen/xen/clock.c
1.17      bouyer    111: file   arch/xen/xen/evtchn.c
1.33      bouyer    112: file   arch/xen/xen/ctrl_if.c                  !xen3
1.1       cl        113:
1.35      bouyer    114: file   arch/xen/xen/xengnt.c                   xen3
                    115:
1.1       cl        116: file   dev/cons.c
                    117:
                    118:
                    119: #
                    120: # Machine-independent SCSI drivers
                    121: #
                    122:
1.17      bouyer    123: include        "dev/scsipi/files.scsipi"
1.1       cl        124:
                    125: #
                    126: # Machine-independent ATA drivers
                    127: #
                    128:
1.17      bouyer    129: include        "dev/ata/files.ata"
1.1       cl        130:
                    131: # Memory Disk for install floppy
                    132: file   dev/md_root.c                   memory_disk_hooks
                    133:
1.27      bouyer    134: file   arch/x86/x86/bus_dma.c          pci
1.28      bouyer    135: file   arch/xen/x86/xen_bus_dma.c      pci
1.64      ad        136: file   arch/x86/x86/bus_space.c        pci
1.1       cl        137: file   arch/x86/x86/cacheinfo.c
                    138: file   arch/xen/x86/consinit.c
                    139: file   arch/xen/x86/intr.c
                    140: file   arch/x86/x86/ipi.c              multiprocessor
1.59      ad        141: file   arch/x86/x86/sys_machdep.c
1.32      jmmv      142: file   arch/x86/x86/x86_machdep.c
1.1       cl        143:
                    144: include        "arch/xen/conf/files.compat"
                    145:
1.49      bouyer    146: # BIOS32 routines
1.71      bouyer    147: define bios32
                    148: ifdef i386
1.77      bouyer    149: file   arch/i386/i386/bios32.c         bios32 needs-flag
1.71      bouyer    150: elifdef amd64
1.77      bouyer    151: file   arch/amd64/amd64/bios32.c       bios32 needs-flag
1.71      bouyer    152: endif
1.49      bouyer    153:
1.71      bouyer    154: # xen specific mainbus attributes
1.13      drochner  155: define cpubus { [apid = -1] }
1.57      drochner  156: define ioapicbus { [apid = -1] }
1.13      drochner  157: define apmbus {}
                    158: define pnpbiosbus {}
1.71      bouyer    159: define vesabiosbus {}
1.13      drochner  160: define hypervisorbus {}
1.29      bouyer    161: define xendevbus {}
1.49      bouyer    162: define ipmibus {}
1.13      drochner  163:
1.1       cl        164: #
                    165: # System bus types
                    166: #
                    167:
1.57      drochner  168: device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus
1.1       cl        169: attach mainbus at root
1.71      bouyer    170: file   arch/xen/x86/mainbus.c          mainbus
1.5       cl        171:
                    172: # Xen hypervisor
1.48      bouyer    173: device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus
1.17      bouyer    174: attach hypervisor at hypervisorbus
1.5       cl        175: file   arch/xen/xen/hypervisor.c       hypervisor needs-flag
1.46      yamt      176: file   arch/xen/xen/shutdown_xenbus.c  hypervisor & xen3
1.1       cl        177:
1.35      bouyer    178: # Xenbus (xen3 only)
                    179: device xenbus {[id = -1]}
                    180: attach xenbus at xendevbus
                    181: file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag
                    182: file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag
1.37      bouyer    183: file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag
1.35      bouyer    184: file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag
                    185: file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag
                    186:
1.71      bouyer    187: ifdef i386
1.1       cl        188: # Numeric Processing Extension; Math Co-processor
                    189: device npx
1.77      bouyer    190: file   arch/i386/isa/npx.c             npx needs-flag
1.1       cl        191:
1.29      bouyer    192: attach npx at xendevbus with npx_hv
1.1       cl        193: file   arch/xen/i386/npx_hv.c          npx_hv
1.71      bouyer    194: endif
1.1       cl        195:
                    196: # Xen console support
1.6       cl        197: device xencons: tty
1.29      bouyer    198: attach xencons at xendevbus
1.6       cl        199: file   arch/xen/xen/xencons.c          xencons needs-flag
1.1       cl        200:
1.17      bouyer    201: # Xen event peudo-device
                    202: defpseudo xenevt
1.41      bouyer    203: defpseudo xvif
1.43      bouyer    204: defpseudo xbdback
1.17      bouyer    205:
1.27      bouyer    206: # Xen Network driver
                    207: device xennet: arp, ether, ifnet
1.36      bouyer    208: attach xennet at xendevbus with xennet_hypervisor
                    209: attach xennet at xenbus with xennet_xenbus
1.71      bouyer    210: file   arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag
                    211: file   arch/xen/xen/if_xennet.c        xennet_hypervisor needs-flag
1.27      bouyer    212:
                    213: # Xen Block device driver and wd/sd/cd identities
                    214: device xbd: disk
1.38      bouyer    215: attach xbd at xendevbus with xbd_hypervisor
                    216: attach xbd at xenbus with xbd_xenbus
                    217: #file  arch/xen/xen/xbd_hypervisor.c   xbd_hypervisor
                    218: file   arch/xen/xen/xbd_xenbus.c       xbd_xenbus
                    219: #file  arch/xen/xen/xbd.c              xbd | xbd_hypervisor | xbd_xenbus needs-flag
                    220: file   arch/xen/xen/xbd.c              xbd_hypervisor needs-flag
1.27      bouyer    221:
                    222: # Non-Xen specific devices and options
                    223:
1.9       cl        224: include        "dev/wscons/files.wscons"
                    225: include        "dev/wsfont/files.wsfont"
1.58      macallan  226: include "dev/wsfb/files.wsfb"
1.1       cl        227:
1.10      cl        228: include        "dev/pckbport/files.pckbport"
                    229:
1.17      bouyer    230: #
                    231: # Machine-independent PCI devices
                    232: #
                    233: include "dev/i2o/files.i2o"
                    234: include "dev/pci/files.pci"
                    235: include "dev/pci/files.agp"
1.54      gdt       236: file   arch/x86/pci/agp_machdep.c      agp
1.17      bouyer    237: file   arch/xen/xen/pciide_machdep.c   pciide_common
1.23      chs       238:
1.17      bouyer    239: #
                    240: # Machine-independent ISA devices
                    241: #
                    242: include "dev/isa/files.isa"
                    243:
1.31      bouyer    244: include "dev/usb/files.usb"
1.17      bouyer    245:
1.31      bouyer    246: include "dev/ieee1394/files.ieee1394"
1.17      bouyer    247:
1.71      bouyer    248: device fdc {drive = -1} #XXX
1.40      bouyer    249:
1.44      christos  250: include "dev/apm/files.apm"
                    251:
1.40      bouyer    252: include "dev/acpi/files.acpi"
                    253: file   arch/xen/xen/xen_acpi_machdep.c acpi
1.48      bouyer    254: file   arch/x86/x86/mpacpi.c           acpi
1.40      bouyer    255: file   arch/x86/x86/acpi_machdep.c     acpi
1.48      bouyer    256: file   arch/x86/x86/i8259.c            xen3
                    257:
                    258: # MP configuration using Intel SMP specification 1.4
                    259: file   arch/x86/x86/mpbios.c           mpbios
1.40      bouyer    260:
1.71      bouyer    261: ifdef i386
                    262: file   arch/i386/pci/pci_bus_fixup.c   pci_bus_fixup
                    263: file   arch/i386/pci/pci_addr_fixup.c  pci_addr_fixup
                    264: endif
1.40      bouyer    265:
1.48      bouyer    266: file   arch/x86/x86/apic.c             ioapic
                    267:
                    268: device ioapic
1.57      drochner  269: attach ioapic at ioapicbus
1.48      bouyer    270: file   arch/x86/x86/ioapic.c           ioapic needs-flag
                    271:
1.49      bouyer    272: #IPMI device
                    273: device ipmi : sysmon_envsys, sysmon_wdog
                    274: attach ipmi at ipmibus
                    275: file   arch/x86/x86/ipmi.c             ipmi needs-flag
                    276:
1.17      bouyer    277: # PCI-Host bridge chipsets
                    278: device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis,
1.71      bouyer    279:                agp_via
1.17      bouyer    280: attach pchb at pci
1.66      xtraeme   281: file   arch/x86/pci/pchb.c             pchb                    needs-flag
1.34      tron      282: file   arch/x86/pci/pchb_rnd.c         pchb & rnd
1.17      bouyer    283:
                    284: # PCI-ISA bridges
1.62      alc       285: device pcib: isabus
                    286: attach pcib at pci
                    287: file   arch/xen/xen/pcib.c             pcib | ichlpcib
                    288:
                    289: # PCI-LPC bridges
                    290: device ichlpcib: isabus, sysmon_wdog
                    291: attach ichlpcib at pci
1.67      xtraeme   292: file   arch/x86/pci/ichlpcib.c         ichlpcib
1.62      alc       293:
1.17      bouyer    294:
1.1       cl        295: # CPUS
                    296:
                    297: device cpu
1.13      drochner  298: attach cpu at cpubus
1.48      bouyer    299:
                    300: device vcpu
                    301: attach vcpu at xendevbus
                    302:
1.71      bouyer    303: file   arch/xen/x86/cpu.c              cpu | vcpu
1.1       cl        304:
                    305: #
                    306: # Compatibility modules
                    307: #
                    308:
1.71      bouyer    309: ifdef i386
1.1       cl        310: # VM86 mode
                    311: file   arch/i386/i386/vm86.c                   vm86
                    312:
                    313: # VM86 in kernel
                    314: file   arch/i386/i386/kvm86.c                  kvm86
                    315: file   arch/i386/i386/kvm86call.S              kvm86
                    316:
                    317: # Binary compatibility with previous NetBSD releases (COMPAT_XX)
1.53      drochner  318: file   arch/i386/i386/compat_13_machdep.c      compat_13
1.1       cl        319: file   arch/i386/i386/compat_16_machdep.c      compat_16 | compat_ibcs2
                    320:
                    321: # SVR4 binary compatibility (COMPAT_SVR4)
                    322: include        "compat/svr4/files.svr4"
                    323: file   arch/i386/i386/svr4_machdep.c           compat_svr4
                    324: file   arch/i386/i386/svr4_sigcode.S           compat_svr4
                    325: file   arch/i386/i386/svr4_syscall.c           compat_svr4
                    326:
                    327: # MACH binary compatibility (COMPAT_MACH)
                    328: include        "compat/mach/files.mach"
                    329: file   arch/i386/i386/mach_machdep.c           compat_mach | compat_darwin
                    330: file   arch/i386/i386/mach_sigcode.S           compat_mach | compat_darwin
                    331: file   arch/i386/i386/mach_syscall.c           compat_mach | compat_darwin
                    332: file   arch/i386/i386/macho_machdep.c          exec_macho
                    333:
                    334: # DARWIN binary compatibility (COMPAT_DARWIN)
                    335: include        "compat/darwin/files.darwin"
                    336: file   arch/i386/i386/darwin_machdep.c         compat_darwin
                    337:
                    338: # iBCS-2 binary compatibility (COMPAT_IBCS2)
                    339: include        "compat/ibcs2/files.ibcs2"
                    340: file   arch/i386/i386/ibcs2_machdep.c          compat_ibcs2
                    341: file   arch/i386/i386/ibcs2_sigcode.S          compat_ibcs2
                    342: file   arch/i386/i386/ibcs2_syscall.c          compat_ibcs2
                    343:
                    344: # Linux binary compatibility (COMPAT_LINUX)
                    345: include        "compat/linux/files.linux"
                    346: include        "compat/linux/arch/i386/files.linux_i386"
                    347: file   arch/i386/i386/linux_sigcode.S          compat_linux
                    348: file   arch/i386/i386/linux_syscall.c          compat_linux
1.22      yamt      349: file   arch/x86/x86/linux_trap.c               compat_linux
1.1       cl        350:
                    351: # FreeBSD binary compatibility (COMPAT_FREEBSD)
                    352: include        "compat/freebsd/files.freebsd"
                    353: file   arch/i386/i386/freebsd_machdep.c        compat_freebsd
                    354: file   arch/i386/i386/freebsd_sigcode.S        compat_freebsd
                    355: file   arch/i386/i386/freebsd_syscall.c        compat_freebsd
                    356:
                    357: # Win32 binary compatibility (COMPAT_PECOFF)
                    358: include        "compat/pecoff/files.pecoff"
                    359:
1.71      bouyer    360: elifdef amd64
                    361: # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
                    362: include "compat/netbsd32/files.netbsd32"
                    363: file   arch/amd64/amd64/netbsd32_machdep.c     compat_netbsd32
                    364: file   arch/amd64/amd64/netbsd32_sigcode.S     compat_netbsd32 & compat_16
                    365: file   arch/amd64/amd64/netbsd32_syscall.c     compat_netbsd32
                    366:
                    367: # Linux compatibility (COMPAT_LINUX)
                    368: include "compat/linux/files.linux"
                    369: include "compat/linux/arch/amd64/files.linux_amd64"
                    370: file   arch/amd64/amd64/linux_sigcode.S        compat_linux
                    371: file   arch/amd64/amd64/linux_syscall.c        compat_linux
                    372: file   arch/x86/x86/linux_trap.c               compat_linux
                    373: # Linux 32 bit compatibility (COMPAT_LINUX32)
                    374: include "compat/linux32/files.linux32"
                    375: include "compat/linux32/arch/amd64/files.linux32_amd64"
                    376: file   arch/amd64/amd64/linux32_sigcode.S      compat_linux32
                    377: file   arch/amd64/amd64/linux32_syscall.c      compat_linux32
                    378: endif
                    379:
1.1       cl        380: # OSS audio driver compatibility
                    381: include        "compat/ossaudio/files.ossaudio"
                    382:
1.50      xtraeme   383: # Bluetooth
                    384: include "dev/bluetooth/files.bluetooth"
                    385:
1.26      yamt      386: #
                    387: # CARDBUS
                    388: #
                    389: include        "dev/cardbus/files.cardbus"
1.71      bouyer    390: ifdef i386
1.26      yamt      391: file   arch/i386/i386/rbus_machdep.c   cardbus
1.71      bouyer    392: elifdef amd64
                    393: file   arch/amd64/amd64/rbus_machdep.c cardbus
                    394: endif
1.26      yamt      395:
                    396: # this wants to be probed as late as possible.
                    397: #
                    398: # Machine-independent PCMCIA drivers
                    399: #
                    400: include        "dev/pcmcia/files.pcmcia"
                    401:
1.12      cl        402: # Domain-0 operations
1.52      bouyer    403: defflag        opt_xen.h                       DOM0OPS XEN_COMPAT_030001
1.12      cl        404: file   arch/xen/xen/privcmd.c          dom0ops
1.71      bouyer    405: file   arch/xen/x86/xen_shm_machdep.c  dom0ops | xen3
1.33      bouyer    406: file   arch/xen/xen/xbdback.c          dom0ops & !xen3
                    407: file   arch/xen/xen/xennetback.c       dom0ops & !xen3
1.40      bouyer    408: file   arch/xen/xen/pci_machdep.c      hypervisor & pci & !xen3
                    409: file   arch/x86/pci/pci_machdep.c      hypervisor & pci & xen3
                    410: file   arch/xen/xen/pci_intr_machdep.c hypervisor & pci
1.17      bouyer    411: file   arch/xen/xen/isa_machdep.c      hypervisor & dom0ops
                    412: file   arch/xen/xen/xenevt.c           xenevt & dom0ops
1.41      bouyer    413: file   arch/xen/xen/xennetback_xenbus.c xvif & xen3
1.45      yamt      414: file   arch/xen/xen/xennet_checksum.c  (xvif & xen3) | xennet_xenbus
1.43      bouyer    415: file   arch/xen/xen/xbdback_xenbus.c xbdback & xen3
1.12      cl        416:
1.71      bouyer    417: ifdef i386
1.18      bouyer    418: include "arch/i386/conf/majors.i386"
1.71      bouyer    419: elifdef amd64
1.74      bouyer    420: include "arch/amd64/conf/majors.amd64"
1.71      bouyer    421: endif

CVSweb <webmaster@jp.NetBSD.org>