win-pvdrivers

annotate 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
rev   line source
james@0 1 /*
james@0 2 PV Drivers for Windows Xen HVM Domains
james@0 3 Copyright (C) 2007 James Harper
james@0 4
james@0 5 This program is free software; you can redistribute it and/or
james@0 6 modify it under the terms of the GNU General Public License
james@0 7 as published by the Free Software Foundation; either version 2
james@0 8 of the License, or (at your option) any later version.
james@0 9
james@0 10 This program is distributed in the hope that it will be useful,
james@0 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
james@0 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
james@0 13 GNU General Public License for more details.
james@0 14
james@0 15 You should have received a copy of the GNU General Public License
james@0 16 along with this program; if not, write to the Free Software
james@0 17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
james@0 18 */
james@0 19
james@48 20 #if !defined(_GNTTBL_PUBLIC_H_)
james@48 21 #define _GNTTBL_PUBLIC_H_
james@48 22
james@0 23 // {6A71ACF8-0F6D-4022-BA60-19986EBEEA73}
james@0 24 DEFINE_GUID(GUID_XEN_IFACE_GNTTBL, 0x6a71acf8, 0xf6d, 0x4022, 0xba, 0x60, 0x19, 0x98, 0x6e, 0xbe, 0xea, 0x73);
james@0 25
james@0 26 typedef grant_ref_t
andy@13 27 (*PXEN_GNTTBL_GRANTACCESS)(WDFDEVICE Device, domid_t domid, unsigned long frame, int readonly);
james@0 28 typedef BOOLEAN
andy@13 29 (*PXEN_GNTTBL_ENDACCESS)(WDFDEVICE Device, grant_ref_t ref);
james@0 30
james@0 31 typedef struct _XEN_IFACE_GNTTBL {
james@0 32 INTERFACE InterfaceHeader;
james@0 33
james@0 34 PXEN_GNTTBL_GRANTACCESS GrantAccess;
james@0 35 PXEN_GNTTBL_ENDACCESS EndAccess;
james@0 36 } XEN_IFACE_GNTTBL, *PXEN_IFACE_GNTTBL;
james@48 37
james@48 38 #endif