]>
Commit | Line | Data |
---|---|---|
86d968e0 AP |
1 | /** @file\r |
2 | XenBus Bus driver declarations.\r | |
3 | \r | |
4 | Copyright (C) 2014, Citrix Ltd.\r | |
5 | \r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | #ifndef _XEN_XENBUS_XENBUSB_H\r | |
16 | #define _XEN_XENBUS_XENBUSB_H\r | |
17 | \r | |
18 | #include "XenBusDxe.h"\r | |
19 | \r | |
20 | #define XENBUS_DEVICE_PATH_TYPE_VBD 0x1\r | |
21 | struct _XENBUS_DEVICE_PATH {\r | |
22 | VENDOR_DEVICE_PATH Vendor;\r | |
23 | UINT8 Type;\r | |
24 | UINT16 DeviceId;\r | |
25 | };\r | |
26 | \r | |
27 | \r | |
28 | /**\r | |
29 | Perform XenBus bus enumeration and install protocol for children.\r | |
30 | \r | |
31 | Caller should ensure that it is the only one to call this function. This\r | |
32 | function cannot be called concurrently.\r | |
33 | \r | |
34 | @param Dev A XENBUS_DEVICE instance.\r | |
35 | \r | |
36 | @return On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value\r | |
37 | indicating the type of failure.\r | |
38 | **/\r | |
39 | XENSTORE_STATUS\r | |
40 | XenBusEnumerateBus (\r | |
41 | XENBUS_DEVICE *Dev\r | |
42 | );\r | |
43 | \r | |
44 | #endif /* _XEN_XENBUS_XENBUSB_H */\r |