aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_core.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-24 14:24:57 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-24 14:24:57 +0100
commit1ac7d8afca7e4136796e8fccb495b83cfce9e2c8 (patch)
treeadd4283e9c486289b894403a76ef5f4c6e5304bd /tools/xenstore/xenstored_core.h
parent04f28b0fc70ebd68a8db4b62ebaae492ae5aeca6 (diff)
downloadxen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.tar.gz
xen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.tar.bz2
xen-1ac7d8afca7e4136796e8fccb495b83cfce9e2c8.zip
[XENSTORE] Make use of /proc/xen/xsd_{port,kva} private to the Linux implementation.
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/xenstore/xenstored_core.h')
-rw-r--r--tools/xenstore/xenstored_core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h
index 090f54a846..f16d018047 100644
--- a/tools/xenstore/xenstored_core.h
+++ b/tools/xenstore/xenstored_core.h
@@ -20,6 +20,8 @@
#ifndef _XENSTORED_CORE_H
#define _XENSTORED_CORE_H
+#include <xenctrl.h>
+
#include <sys/types.h>
#include <dirent.h>
#include <stdbool.h>
@@ -163,6 +165,12 @@ void trace(const char *fmt, ...);
extern int event_fd;
+/* Map the kernel's xenstore page. */
+void *xenbus_map(void);
+
+/* Return the event channel used by xenbus. */
+evtchn_port_t xenbus_evtchn(void);
+
#endif /* _XENSTORED_CORE_H */
/*