win-pvdrivers

view common/include/gnttbl_public.h @ 62:edd4a2ad5b44

Removed old inf files
author James Harper <james.harper@bendigoit.com.au>
date Wed Dec 19 10:22:50 2007 +1100 (2007-12-19)
parents 94d0f2823b42
children
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 #if !defined(_GNTTBL_PUBLIC_H_)
21 #define _GNTTBL_PUBLIC_H_
23 // {6A71ACF8-0F6D-4022-BA60-19986EBEEA73}
24 DEFINE_GUID(GUID_XEN_IFACE_GNTTBL, 0x6a71acf8, 0xf6d, 0x4022, 0xba, 0x60, 0x19, 0x98, 0x6e, 0xbe, 0xea, 0x73);
26 typedef grant_ref_t
27 (*PXEN_GNTTBL_GRANTACCESS)(WDFDEVICE Device, domid_t domid, unsigned long frame, int readonly);
28 typedef BOOLEAN
29 (*PXEN_GNTTBL_ENDACCESS)(WDFDEVICE Device, grant_ref_t ref);
31 typedef struct _XEN_IFACE_GNTTBL {
32 INTERFACE InterfaceHeader;
34 PXEN_GNTTBL_GRANTACCESS GrantAccess;
35 PXEN_GNTTBL_ENDACCESS EndAccess;
36 } XEN_IFACE_GNTTBL, *PXEN_IFACE_GNTTBL;
38 #endif