Skip to contentSkip to conversation

REV 2 USB virt 2.6 split driver---xenidc platform

PATCH New harry 1 participant 1 message Nov 23, 2005

lore
Share & tools
lore

harry

author
#0 lore raw

PATCH 1/17 REV 2 USB virt 2.6 split driver---xenidc platform

This patch implements some platform facilities used by the xenidc transport which is in turn used by the USB driver:

o - A callback object for asynchronous completion of requests submitted to services.
o - A work item object for scheduling tasks which builds on the native linux work queues.
o - Some simple trace macros for the xenidc code.
o - An error type which is supposed to be platform independent.

linux-2.6-xen-sparse/arch/xen/Kconfig +8 -0
diff -r 1d754a4ad350 -r 14b148d759ae linux-2.6-xen-sparse/arch/xen/Kconfig
@@ -38,6 +38,14 @@
 	  (e.g., hard drives, network cards). This allows you to configure
 	  such devices and also includes some low-level support that is
 	  otherwise not compiled into the kernel.
+
+config XEN_IDC_TRACE
+	bool "Inter-domain communication code tracing"
+	default n
+	help
+	  This option causes the IDC code to output a continual trace of its
+          activity.
+	  Say N here unless you are trying to debug this code.
 
 config XEN_BLKDEV_BACKEND
 	bool "Block-device backend driver"
linux-2.6-xen-sparse/drivers/xen/Makefile +1 -0
diff -r 1d754a4ad350 -r 14b148d759ae linux-2.6-xen-sparse/drivers/xen/Makefile
@@ -7,6 +7,7 @@
 obj-y	+= balloon/
 obj-y	+= privcmd/
 obj-y	+= xenbus/
+obj-y	+= xenidc/
 
 obj-$(CONFIG_XEN_BLKDEV_BACKEND)	+= blkback/
 obj-$(CONFIG_XEN_NETDEV_BACKEND)	+= netback/
linux-2.6-xen-sparse/drivers/xen/xenidc/Makefile new file +5 -0
diff -r 1d754a4ad350 -r 14b148d759ae linux-2.6-xen-sparse/drivers/xen/xenidc/Makefile
@@ -0,0 +1,5 @@
+obj-y += xenidc.o
+
+xenidc-objs =
+xenidc-objs += xenidc_callback.o
+xenidc-objs += xenidc_work.o
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_callback.c new file +46 -0

46 lines not on this page · raw message

linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_trace.h new file +45 -0

45 lines not on this page · raw message

linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_work.c new file +84 -0

84 lines not on this page · raw message

linux-2.6-xen-sparse/include/asm-xen/xenidc_callback.h new file +152 -0

152 lines not on this page · raw message

linux-2.6-xen-sparse/include/asm-xen/xenidc_error.h new file +121 -0

121 lines not on this page · raw message

linux-2.6-xen-sparse/include/asm-xen/xenidc_work.h new file +153 -0

153 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel