REV 2 USB virt 2.6 split driver---concrete local buffer reference types
PATCH 5/17 REV 2 USB virt 2.6 split driver---concrete local buffer reference types
This patch implements a local buffer reference type for kernel virtual address space and a remote buffer reference type for buffers up to 16 pages based on grant tables. These types are used by the USB driver for bulk data transfer.
Signed-off-by Harry Butterworth <[email protected]>
linux-2.6-xen-sparse/drivers/xen/xenidc/Makefile +2 -0
@@ -8,3 +8,5 @@ xenidc-objs += xenidc_remote_buffer_reference.o xenidc-objs += xenidc_concatenate.o xenidc-objs += xenidc_wrapping.o +xenidc-objs += xenidc_grant_table.o +xenidc-objs += xenidc_vaddress.o
linux-2.6-xen-sparse/include/asm-xen/xenidc_remote_buffer_reference.h +2 -1
@@ -38,7 +38,8 @@typedef u32 xenidc_rbr_type ; -#define XENIDC_RBR_TYPE_NULL 0 +#define XENIDC_RBR_TYPE_NULL 0 +#define XENIDC_RBR_TYPE_GRANT_TABLE 1#define XENIDC_RBR_ACCESS_FLAGS_READ 1#define XENIDC_RBR_ACCESS_FLAGS_WRITE 2
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_grant_table.c new file +228 -0
228 lines not on this page · raw message
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_vaddress.c new file +249 -0
249 lines not on this page · raw message
linux-2.6-xen-sparse/include/asm-xen/xenidc_grant_table.h new file +60 -0
60 lines not on this page · raw message
linux-2.6-xen-sparse/include/asm-xen/xenidc_vaddress.h new file +43 -0
43 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel