win-pvdrivers

view common/include/xen_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 a70cbf588756
line source
1 #if !defined(_XEN_PUBLIC_H_)
2 #define _XEN_PUBLIC_H_
4 DEFINE_GUID( GUID_XEN_IFACE_XEN, 0x5C568AC5, 0x9DDF, 0x4FA5, 0xA9, 0x4A, 0x39, 0xD6, 0x70, 0x77, 0x81, 0x9C);
5 //{5C568AC5-9DDF-4FA5-A94A-39D67077819C}
7 typedef PHYSICAL_ADDRESS
8 (*PXEN_ALLOCMMIO)(ULONG Length);
11 typedef struct _XEN_IFACE_XEN {
12 INTERFACE InterfaceHeader;
14 // hypervisor calls
15 PXEN_ALLOCMMIO AllocMMIO;
16 // allocate a page from the mmio space
17 // release a page from the mmio space
19 } XEN_IFACE_XEN, *PXEN_IFACE_XEN;
22 typedef struct {
23 char BasePath[128];
24 PXENBUS_WATCH_CALLBACK WatchHandler;
25 } XENPCI_XEN_DEVICE_DATA, *PXENPCI_XEN_DEVICE_DATA;
27 WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(XENPCI_XEN_DEVICE_DATA, GetXenDeviceData);
29 #endif