TianoCore EDK2 master
Loading...
Searching...
No Matches
XenBus.h File Reference
#include "XenBusDxe.h"

Go to the source code of this file.

Data Structures

struct  _XENBUS_DEVICE_PATH
 

Macros

#define XENBUS_DEVICE_PATH_TYPE_VBD   0x1
 

Functions

XENSTORE_STATUS XenBusEnumerateBus (XENBUS_DEVICE *Dev)
 

Detailed Description

XenBus Bus driver declarations.

Copyright (C) 2014, Citrix Ltd.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file XenBus.h.

Macro Definition Documentation

◆ XENBUS_DEVICE_PATH_TYPE_VBD

#define XENBUS_DEVICE_PATH_TYPE_VBD   0x1

Definition at line 15 of file XenBus.h.

Function Documentation

◆ XenBusEnumerateBus()

XENSTORE_STATUS XenBusEnumerateBus ( XENBUS_DEVICE Dev)

Perform XenBus bus enumeration and install protocol for children.

Caller should ensure that it is the only one to call this function. This function cannot be called concurrently.

Parameters
DevA XENBUS_DEVICE instance.
Returns
On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value indicating the type of failure.

Enumerate the devices on a XenBus bus and install a XenBus Protocol instance.

Caller should ensure that it is the only one to call this function. This function cannot be called concurrently.

Parameters
DevA XENBUS_DEVICE instance.
Returns
On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value indicating the type of failure.

Definition at line 313 of file XenBus.c.