TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
UINT32 | XenEventChannelNotify (IN XENBUS_DEVICE *Dev, IN evtchn_port_t Port) |
UINT32 EFIAPI | XenBusEventChannelAllocate (IN XENBUS_PROTOCOL *This, IN domid_t DomainId, OUT evtchn_port_t *Port) |
UINT32 EFIAPI | XenBusEventChannelNotify (IN XENBUS_PROTOCOL *This, IN evtchn_port_t Port) |
UINT32 EFIAPI | XenBusEventChannelClose (IN XENBUS_PROTOCOL *This, IN evtchn_port_t Port) |
Event Channel function declaration.
Copyright (C) 2014, Citrix Ltd.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EventChannel.h.
UINT32 EFIAPI XenBusEventChannelAllocate | ( | IN XENBUS_PROTOCOL * | This, |
IN domid_t | DomainId, | ||
OUT evtchn_port_t * | Port | ||
) |
Allocate a port that can be bind from domain DomainId.
This | A pointer to the XENBUS_PROTOCOL. |
DomainId | The domain ID that can bind the newly allocated port. |
Port | A pointer to a evtchn_port_t that will contain the newly allocated port. |
UINT32 | The return value from the hypercall, 0 if success. |
Definition at line 32 of file EventChannel.c.
UINT32 EFIAPI XenBusEventChannelClose | ( | IN XENBUS_PROTOCOL * | This, |
IN evtchn_port_t | Port | ||
) |
Close a local event channel Port.
This | A pointer to the XENBUS_PROTOCOL. |
Port | The event channel to close. |
UINT32 | The return value from the hypercall, 0 if success. |
Definition at line 71 of file EventChannel.c.
UINT32 EFIAPI XenBusEventChannelNotify | ( | IN XENBUS_PROTOCOL * | This, |
IN evtchn_port_t | Port | ||
) |
Send an event to the remote end of the channel whose local endpoint is Port.
This | A pointer to the XENBUS_PROTOCOL. |
Port | Local port to the event from. |
UINT32 | The return value from the hypercall, 0 if success. |
Definition at line 58 of file EventChannel.c.
UINT32 XenEventChannelNotify | ( | IN XENBUS_DEVICE * | Dev, |
IN evtchn_port_t | Port | ||
) |
Send an event to the remote end of the channel whose local endpoint is Port.
Dev | A pointer to XENBUS_DEVICE. |
Port | The port to notify. |
Definition at line 17 of file EventChannel.c.