win-pvdrivers

view common/include/evtchn_public.h @ 31:f56c47274c37

Automated merge with ssh://win-pvdrivers@xenbits.xensource.com/win-pvdrivers.hg
author Andy Grover <andy.grover@oracle.com>
date Mon Dec 03 23:05:02 2007 -0800 (2007-12-03)
parents be8c09632f31 28803c117324
children 94d0f2823b42
line source
1 /*
2 PV Drivers for Windows Xen HVM Domains
3 Copyright (C) 2007 James Harper
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
20 DEFINE_GUID( GUID_XEN_IFACE_EVTCHN, 0xD2D20756, 0xDE69, 0x4447, 0x8A, 0x7D, 0x98, 0x37, 0x19, 0x7D, 0x61, 0x66);
21 //{D2D20756-DE69-4447-8A7D-9837197D6166}
23 typedef NTSTATUS
24 (*PXEN_EVTCHN_BIND)(PVOID Context, evtchn_port_t Port, PKSERVICE_ROUTINE ServiceRoutine, PVOID ServiceContext);
26 typedef NTSTATUS
27 (*PXEN_EVTCHN_UNBIND)(PVOID Context, evtchn_port_t Port);
29 typedef NTSTATUS
30 (*PXEN_EVTCHN_MASK)(PVOID Context, evtchn_port_t Port);
32 typedef NTSTATUS
33 (*PXEN_EVTCHN_UNMASK)(PVOID Context, evtchn_port_t Port);
35 typedef NTSTATUS
36 (*PXEN_EVTCHN_NOTIFY)(PVOID Context, evtchn_port_t Port);
38 typedef evtchn_port_t
39 (*PXEN_EVTCHN_ALLOCUNBOUND)(PVOID Context, domid_t Domain);
41 typedef struct _XENBUS_IFACE_EVTCHN {
42 INTERFACE InterfaceHeader;
44 PXEN_EVTCHN_BIND Bind;
45 PXEN_EVTCHN_UNBIND Unbind;
46 PXEN_EVTCHN_MASK Mask;
47 PXEN_EVTCHN_UNMASK Unmask;
48 PXEN_EVTCHN_NOTIFY Notify;
49 PXEN_EVTCHN_ALLOCUNBOUND AllocUnbound;
51 } XEN_IFACE_EVTCHN, *PXEN_IFACE_EVTCHN;