]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
bitkeeper revision 1.1159.187.50 (41aede9butKaW-WoEitdCDyiPTD0mg)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 2 Dec 2004 09:21:31 +0000 (09:21 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 2 Dec 2004 09:21:31 +0000 (09:21 +0000)
Export ctrl_if API to modules.

linux-2.4.28-xen-sparse/arch/xen/kernel/Makefile
linux-2.6.9-xen-sparse/arch/xen/kernel/ctrl_if.c

index 30488e666b012f150ade26cff29185aab9597bd2..3eb0701958535dabf7d1311fb7069f9b66f3bf11 100644 (file)
@@ -6,7 +6,7 @@ all: kernel.o head.o init_task.o
 
 O_TARGET := kernel.o
 
-export-objs     := i386_ksyms.o gnttab.o skbuff.o
+export-objs     := i386_ksyms.o gnttab.o skbuff.o ctrl_if.o
 
 obj-y  := process.o semaphore.o signal.o entry.o traps.o irq.o  \
                ptrace.o ioport.o ldt.o setup.o time.o sys_i386.o \
index 78195fa1ab54a962800740ce99ad6a0299b17ed9..c5ab59b82611900e45b8ce9bc0e701934ad16f49 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/errno.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <asm-xen/ctrl_if.h>
 #include <asm-xen/evtchn.h>
 
@@ -541,3 +542,10 @@ void ctrl_if_discard_responses(void)
     ctrl_if_tx_resp_cons = get_ctrl_if()->tx_resp_prod;
 }
 
+EXPORT_SYMBOL(ctrl_if_send_message_noblock);
+EXPORT_SYMBOL(ctrl_if_send_message_block);
+EXPORT_SYMBOL(ctrl_if_send_message_and_get_response);
+EXPORT_SYMBOL(ctrl_if_enqueue_space_callback);
+EXPORT_SYMBOL(ctrl_if_send_response);
+EXPORT_SYMBOL(ctrl_if_register_receiver);
+EXPORT_SYMBOL(ctrl_if_unregister_receiver);