win-pvdrivers

changeset 383:f038c7581cf4

update w32api diff with changes to compile xenvbd
author Andy Grover <andy.grover@oracle.com>
date Wed Jul 09 12:37:49 2008 -0700 (2008-07-09)
parents ecfd4ddaaf3d
children 3c8f2fa47a18
files mingw/w32api.diff
line diff
     1.1 --- a/mingw/w32api.diff	Wed Jul 09 12:35:41 2008 -0700
     1.2 +++ b/mingw/w32api.diff	Wed Jul 09 12:37:49 2008 -0700
     1.3 @@ -1,6 +1,6 @@
     1.4  diff -r 79e257d5a1f7 include/ddk/ndis.h
     1.5  --- a/include/ddk/ndis.h	Tue Jul 08 22:16:37 2008 -0700
     1.6 -+++ b/include/ddk/ndis.h	Wed Jul 09 00:34:21 2008 -0700
     1.7 ++++ b/include/ddk/ndis.h	Wed Jul 09 12:36:49 2008 -0700
     1.8  @@ -52,12 +52,16 @@ extern "C" {
     1.9   #if defined(NDIS50_MINIPORT)
    1.10   #ifndef NDIS50
    1.11 @@ -242,7 +242,7 @@ diff -r 79e257d5a1f7 include/ddk/ndis.h
    1.12   DDKAPI
    1.13  diff -r 79e257d5a1f7 include/ddk/ntddndis.h
    1.14  --- a/include/ddk/ntddndis.h	Tue Jul 08 22:16:37 2008 -0700
    1.15 -+++ b/include/ddk/ntddndis.h	Wed Jul 09 00:34:21 2008 -0700
    1.16 ++++ b/include/ddk/ntddndis.h	Wed Jul 09 12:36:49 2008 -0700
    1.17  @@ -179,6 +179,13 @@ typedef struct _NDIS_PNP_CAPABILITIES {
    1.18   #define NDIS_MINIPORT_SUPPORTS_CANCEL_SEND_PACKETS    0x00800000
    1.19   #define NDIS_MINIPORT_64BITS_DMA                      0x01000000
    1.20 @@ -257,9 +257,26 @@ diff -r 79e257d5a1f7 include/ddk/ntddndi
    1.21   #pragma pack(pop)
    1.22   
    1.23   #ifdef __cplusplus
    1.24 +diff -r 79e257d5a1f7 include/ddk/scsi.h
    1.25 +--- a/include/ddk/scsi.h	Tue Jul 08 22:16:37 2008 -0700
    1.26 ++++ b/include/ddk/scsi.h	Wed Jul 09 12:36:49 2008 -0700
    1.27 +@@ -1272,6 +1272,13 @@ typedef struct _SENSE_DATA {
    1.28 + #define IOCTL_SCSI_MINIPORT_NOT_QUORUM_CAPABLE  ((FILE_DEVICE_SCSI << 16) + 0x0520)
    1.29 + #define IOCTL_SCSI_MINIPORT_NOT_CLUSTER_CAPABLE ((FILE_DEVICE_SCSI << 16) + 0x0521)
    1.30 + 
    1.31 ++/* READ_TOC formats */
    1.32 ++#define READ_TOC_FORMAT_TOC         0x00
    1.33 ++#define READ_TOC_FORMAT_SESSION     0x01
    1.34 ++#define READ_TOC_FORMAT_FULL_TOC    0x02
    1.35 ++#define READ_TOC_FORMAT_PMA         0x03
    1.36 ++#define READ_TOC_FORMAT_ATIP        0x04
    1.37 ++
    1.38 + /* Read Capacity Data. Returned in Big Endian format */
    1.39 + typedef struct _READ_CAPACITY_DATA {
    1.40 +   ULONG  LogicalBlockAddress;
    1.41  diff -r 79e257d5a1f7 include/ddk/winddk.h
    1.42  --- a/include/ddk/winddk.h	Tue Jul 08 22:16:37 2008 -0700
    1.43 -+++ b/include/ddk/winddk.h	Wed Jul 09 00:34:21 2008 -0700
    1.44 ++++ b/include/ddk/winddk.h	Wed Jul 09 12:36:49 2008 -0700
    1.45  @@ -4896,6 +4896,10 @@ RtlStringFromGUID(
    1.46     /*IN*/ REFGUID  Guid, 
    1.47     /*OUT*/ PUNICODE_STRING  GuidString);
    1.48 @@ -323,7 +340,7 @@ diff -r 79e257d5a1f7 include/ddk/winddk.
    1.49   KIRQL
    1.50  diff -r 79e257d5a1f7 lib/ddk/ndis.def
    1.51  --- a/lib/ddk/ndis.def	Tue Jul 08 22:16:37 2008 -0700
    1.52 -+++ b/lib/ddk/ndis.def	Wed Jul 09 00:34:21 2008 -0700
    1.53 ++++ b/lib/ddk/ndis.def	Wed Jul 09 12:36:49 2008 -0700
    1.54  @@ -130,8 +130,8 @@ NdisImmediateReadSharedMemory@16
    1.55   ;NdisImmediateWritePortUlong
    1.56   ;NdisImmediateWritePortUshort
    1.57 @@ -371,3 +388,15 @@ diff -r 79e257d5a1f7 lib/ddk/ndis.def
    1.58   ;NdisSetPacketStatus
    1.59   ;NdisSetProtocolFilter
    1.60   ;NdisSetTimer
    1.61 +diff -r 79e257d5a1f7 lib/ddk/scsiport.def
    1.62 +--- a/lib/ddk/scsiport.def	Tue Jul 08 22:16:37 2008 -0700
    1.63 ++++ b/lib/ddk/scsiport.def	Wed Jul 09 12:36:49 2008 -0700
    1.64 +@@ -8,7 +8,7 @@ ScsiPortFlushDma@4
    1.65 + ScsiPortFlushDma@4
    1.66 + ScsiPortFreeDeviceBase@8
    1.67 + ScsiPortGetBusData@24
    1.68 +-ScsiPortGetDeviceBase@24
    1.69 ++ScsiPortGetDeviceBase@28
    1.70 + ScsiPortGetLogicalUnit@16
    1.71 + ScsiPortGetPhysicalAddress@16
    1.72 + ScsiPortGetSrb@20