]>
Commit | Line | Data |
---|---|---|
f1259bba AP |
1 | /** @file\r |
2 | Event Channel function declaration.\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 __XENBUS_EVENT_CHANNEL_H\r | |
16 | #define __XENBUS_EVENT_CHANNEL_H\r | |
17 | \r | |
18 | #include "XenBusDxe.h"\r | |
19 | \r | |
20 | #include <IndustryStandard/Xen/event_channel.h>\r | |
21 | \r | |
22 | /**\r | |
23 | Send an event to the remote end of the channel whose local endpoint is Port.\r | |
24 | \r | |
25 | @param Dev A pointer to XENBUS_DEVICE.\r | |
26 | @param Port The port to notify.\r | |
27 | \r | |
28 | @return Return 0 on success, or return the errno code from the hypercall.\r | |
29 | **/\r | |
30 | UINT32\r | |
31 | XenEventChannelNotify (\r | |
32 | IN XENBUS_DEVICE *Dev,\r | |
33 | IN evtchn_port_t Port\r | |
34 | );\r | |
35 | \r | |
36 | #endif\r |