Source-Changes archive

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

CVS commit: [netbsd-3] src/sys/arch/xen



Module Name:    src
Committed By:   tron
Date:           Thu Aug 25 20:49:54 UTC 2005

Modified Files:
        src/sys/arch/xen/conf [netbsd-3]: files.xen
        src/sys/arch/xen/include [netbsd-3]: bus_private.h
Added Files:
        src/sys/arch/xen/x86 [netbsd-3]: xen_bus_dma.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #696):
        sys/arch/xen/x86/xen_bus_dma.c: revision 1.1
        sys/arch/xen/include/bus_private.h: revision 1.2
        sys/arch/xen/conf/files.xen: revision 1.28
Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.
Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.


To generate a diff of this commit:
cvs rdiff -r1.18.2.5 -r1.18.2.6 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/arch/xen/include/bus_private.h
cvs rdiff -r0 -r1.3.2.1 src/sys/arch/xen/x86/xen_bus_dma.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