--- /dev/null
+/** @file\r
+ XenBus Bus driver declarations.\r
+\r
+ Copyright (C) 2014, Citrix Ltd.\r
+\r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+#ifndef _XEN_XENBUS_XENBUSB_H\r
+#define _XEN_XENBUS_XENBUSB_H\r
+\r
+#include "XenBusDxe.h"\r
+\r
+#define XENBUS_DEVICE_PATH_TYPE_VBD 0x1\r
+struct _XENBUS_DEVICE_PATH {\r
+ VENDOR_DEVICE_PATH Vendor;\r
+ UINT8 Type;\r
+ UINT16 DeviceId;\r
+};\r
+\r
+\r
+/**\r
+ Perform XenBus bus enumeration and install protocol for children.\r
+\r
+ Caller should ensure that it is the only one to call this function. This\r
+ function cannot be called concurrently.\r
+\r
+ @param Dev A XENBUS_DEVICE instance.\r
+\r
+ @return On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value\r
+ indicating the type of failure.\r
+**/\r
+XENSTORE_STATUS\r
+XenBusEnumerateBus (\r
+ XENBUS_DEVICE *Dev\r
+ );\r
+\r
+#endif /* _XEN_XENBUS_XENBUSB_H */\r