Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/xen



Module Name:    src
Committed By:   bouyer
Date:           Fri Feb 13 21:04:00 UTC 2009

Modified Files:
        src/sys/arch/xen/conf: files.xen
        src/sys/arch/xen/include: pci_machdep.h xen.h
        src/sys/arch/xen/xen: hypervisor.c pci_intr_machdep.c xen_machdep.c
Added Files:
        src/sys/arch/xen/xen: pciback.c xpci_xenbus.c

Log Message:
Work in progress on PCI front-end/back-end support
front-end:
- add a xpci* at xenbus? which provides pci busses from the dom0
  xpci provides support routines for PCI config space operations and
  enumeration in xpci_xenbus.c
- hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS
- pci_intr_machdep.c:  check line value only if DOM0OPS

back-end:
- add a pciback* at pci? device which takes precedences over all
  other PCI devices (match return 500) and matches all devices passed
  to pciback.hide option on boot command line.
  It exports the PCI device informations to files in /kern/xen/pci/
- hypervisor.c: create /kern/xen earlier so pciback can create its
  entries while PCI devices are probed
- xen_machdep.c: add handling for pciback.hide=

frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4)
devices. uhci(4) fail when trying to allocate a large contigous DMA
buffer.

backend is work in progress; support in xentools is not there yet.


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/include/pci_machdep.h
cvs rdiff -r1.30 -r1.31 src/sys/arch/xen/include/xen.h
cvs rdiff -r1.43 -r1.44 src/sys/arch/xen/xen/hypervisor.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/xen/xen/pci_intr_machdep.c
cvs rdiff -r0 -r1.1 src/sys/arch/xen/xen/pciback.c \
    src/sys/arch/xen/xen/xpci_xenbus.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/xen/xen/xen_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index