win-pvdrivers

view common/include/xen_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 a70cbf588756
children b7863ede7a37
line source
1 #if !defined(_XEN_PUBLIC_H_)
2 #define _XEN_PUBLIC_H_
4 #include <evtchn_public.h>
5 #include <xenbus_public.h>
6 #include <gnttbl_public.h>
8 DEFINE_GUID( GUID_XEN_IFACE_XEN, 0x5C568AC5, 0x9DDF, 0x4FA5, 0xA9, 0x4A, 0x39, 0xD6, 0x70, 0x77, 0x81, 0x9C);
9 //{5C568AC5-9DDF-4FA5-A94A-39D67077819C}
11 typedef PHYSICAL_ADDRESS
12 (*PXEN_ALLOCMMIO)(ULONG Length);
15 typedef struct _XEN_IFACE_XEN {
16 INTERFACE InterfaceHeader;
18 // hypervisor calls
19 PXEN_ALLOCMMIO AllocMMIO;
20 // allocate a page from the mmio space
21 // release a page from the mmio space
23 } XEN_IFACE_XEN, *PXEN_IFACE_XEN;
25 #define XEN_DATA_MAGIC 0x12345678
27 typedef struct {
28 ULONG Magic;
29 char BasePath[128];
30 PXENBUS_WATCH_CALLBACK WatchHandler;
31 PVOID WatchContext;
32 XEN_IFACE_EVTCHN EvtChnInterface;
33 XEN_IFACE_XENBUS XenBusInterface;
34 //XEN_IFACE_XEN XenInterface;
35 XEN_IFACE_GNTTBL GntTblInterface;
36 BOOLEAN AutoEnumerate;
37 CM_PARTIAL_RESOURCE_DESCRIPTOR InterruptRaw;
38 CM_PARTIAL_RESOURCE_DESCRIPTOR InterruptTranslated;
39 } XENPCI_XEN_DEVICE_DATA, *PXENPCI_XEN_DEVICE_DATA;
41 WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(XENPCI_XEN_DEVICE_DATA, GetXenDeviceData);
43 #endif