win-pvdrivers

view xenconfig/xenconfig.h @ 310:60372bd2582d

First cut of putting xenbus config details in the .inf file - xenvbd may yet pass WHQL
author James Harper <james.harper@bendigoit.com.au>
date Fri Jun 13 14:16:50 2008 +1000 (2008-06-13)
parents
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(_XENCONFIG_H_)
21 #define _XENCONFIG_H_
23 #include <ntddk.h>
24 #include <wdm.h>
25 #include <initguid.h>
26 #include <wdmguid.h>
27 #include <errno.h>
28 #define NTSTRSAFE_LIB
29 #include <ntstrsafe.h>
30 #define __DRIVER_NAME "XenConfig"
31 #include <xen_windows.h>
32 #include <xen_public.h>
34 #define XENCONFIG_POOL_TAG (ULONG) 'XenC'
36 typedef struct
37 {
38 PDEVICE_OBJECT filter_do;
39 PDEVICE_OBJECT pdo;
40 PDEVICE_OBJECT lower_do;
42 PMDL config_mdl;
43 } XENCONFIG_DEVICE_DATA, *PXENCONFIG_DEVICE_DATA;
45 #endif