win-pvdrivers

view common/include/gnttbl_public.h @ 0:435e5753300f

Initial upload of files
author James Harper <james.harper@bendigoit.com.au>
date Sat Nov 10 14:40:56 2007 +1100 (2007-11-10)
parents
children be8c09632f31 a70cbf588756
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 // {6A71ACF8-0F6D-4022-BA60-19986EBEEA73}
21 DEFINE_GUID(GUID_XEN_IFACE_GNTTBL, 0x6a71acf8, 0xf6d, 0x4022, 0xba, 0x60, 0x19, 0x98, 0x6e, 0xbe, 0xea, 0x73);
23 typedef grant_ref_t
24 (*PXEN_GNTTBL_GRANTACCESS)(domid_t domid, unsigned long frame, int readonly);
25 typedef BOOLEAN
26 (*PXEN_GNTTBL_ENDACCESS)(grant_ref_t ref);
28 typedef struct _XEN_IFACE_GNTTBL {
29 INTERFACE InterfaceHeader;
31 PXEN_GNTTBL_GRANTACCESS GrantAccess;
32 PXEN_GNTTBL_ENDACCESS EndAccess;
33 } XEN_IFACE_GNTTBL, *PXEN_IFACE_GNTTBL;