summaryrefslogtreecommitdiffstats
path: root/sys/xen
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-09-30 17:31:04 +0000
committerroyger <royger@FreeBSD.org>2014-09-30 17:31:04 +0000
commitf5ff1ea28006d603e5433a79d303b57e24e33873 (patch)
tree91d4c62f04cd5d4690da0d8d01bd2a6fcd2e291f /sys/xen
parentb0061732f41d34918f174768b616bd6204daa054 (diff)
downloadFreeBSD-src-f5ff1ea28006d603e5433a79d303b57e24e33873.zip
FreeBSD-src-f5ff1ea28006d603e5433a79d303b57e24e33873.tar.gz
xen: convert the xenstore user-space char device to a newbus device
Convert the xenstore user-space device (/dev/xen/xenstore) to a device using the newbus interface. This allows us to make the device initialization dependant on the initialization of xenstore itself in the kernel. Sponsored by: Citrix Systems R&D dev/xen/xenstore/xenstore.c: - Convert to a newbus device, this removes the xs_dev_init function. xen/xenstore/xenstore_internal.h: - Remove xs_dev_init prototype. dev/xen/xenstore/xenstore.c: - Don't call xs_dev_init anymore, the device will attach itself when xenstore is started.
Diffstat (limited to 'sys/xen')
-rw-r--r--sys/xen/xenstore/xenstore_internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/xen/xenstore/xenstore_internal.h b/sys/xen/xenstore/xenstore_internal.h
index 0398aef..3355c27 100644
--- a/sys/xen/xenstore/xenstore_internal.h
+++ b/sys/xen/xenstore/xenstore_internal.h
@@ -32,8 +32,5 @@
* $FreeBSD$
*/
-/* Initialize support for userspace access to the XenStore. */
-void xs_dev_init(void);
-
/* Used by the XenStore character device to borrow kernel's store connection. */
int xs_dev_request_and_reply(struct xsd_sockmsg *msg, void **result);
OpenPOWER on IntegriCloud