Prev: WinUSB as a functional driver to replace an existing HIDUSB kernel mode driver
Next: WinUSB as a functional driver to replace an existing HIDUSB kernelmode driver
From: flyingfly on 8 Sep 2010 05:53 WDK docs says, The memory at SrbExtension is not initialized by the OS-specific port driver, and the miniport driver-determined data can be accessed directly by the HBA. The corresponding physical address can be obtained by calling ScsiPortGetPhysicalAddress with the SrbExtension pointer. Does it mean that the memory buffer allocated for each Srb Extension is physically continues and can be accessed by HBA using DMA directly? Thanks!
From: Maxim S. Shatskih on 8 Sep 2010 08:09 > Does it mean that the memory buffer allocated for each Srb Extension is > physically continues and can be accessed by HBA using DMA directly? Yes. Note that LUN extensions are not such. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: flyingfly on 8 Sep 2010 21:06
Thanks, that will help me a lot! "Maxim S. Shatskih" wrote: > > Does it mean that the memory buffer allocated for each Srb Extension is > > physically continues and can be accessed by HBA using DMA directly? > > Yes. > > Note that LUN extensions are not such. > > -- > Maxim S. Shatskih > Windows DDK MVP > maxim(a)storagecraft.com > http://www.storagecraft.com > > . > |