USB virt 2.6 split driver---concrete local buffer reference types
PATCH 5/17 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
@@ -39,7 +39,8 @@typedef u32 xenidc_remote_buffer_reference_type ; -#define XENIDC_REMOTE_BUFFER_REFERENCE_TYPE_NULL 0 +#define XENIDC_REMOTE_BUFFER_REFERENCE_TYPE_NULL 0 +#define XENIDC_REMOTE_BUFFER_REFERENCE_TYPE_GRANT_TABLE 1#define XENIDC_REMOTE_BUFFER_REFERENCE_ACCESS_FLAGS_READ 1#define XENIDC_REMOTE_BUFFER_REFERENCE_ACCESS_FLAGS_WRITE 2
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_grant_table.c new file +335 -0
335 lines not on this page · raw message
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_vaddress.c new file +364 -0
364 lines not on this page · raw message
linux-2.6-xen-sparse/include/asm-xen/xenidc_grant_table.h new file +64 -0
64 lines not on this page · raw message
linux-2.6-xen-sparse/include/asm-xen/xenidc_vaddress.h new file +44 -0
44 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel