VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/XenBusDxe/XenBus.h@ 105681

Last change on this file since 105681 was 99404, checked in by vboxsync, 22 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 849 bytes
Line 
1/** @file
2 XenBus Bus driver declarations.
3
4 Copyright (C) 2014, Citrix Ltd.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _XEN_XENBUS_XENBUSB_H
11#define _XEN_XENBUS_XENBUSB_H
12
13#include "XenBusDxe.h"
14
15#define XENBUS_DEVICE_PATH_TYPE_VBD 0x1
16struct _XENBUS_DEVICE_PATH {
17 VENDOR_DEVICE_PATH Vendor;
18 UINT8 Type;
19 UINT16 DeviceId;
20};
21
22/**
23 Perform XenBus bus enumeration and install protocol for children.
24
25 Caller should ensure that it is the only one to call this function. This
26 function cannot be called concurrently.
27
28 @param Dev A XENBUS_DEVICE instance.
29
30 @return On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value
31 indicating the type of failure.
32**/
33XENSTORE_STATUS
34XenBusEnumerateBus (
35 XENBUS_DEVICE *Dev
36 );
37
38#endif /* _XEN_XENBUS_XENBUSB_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette