How to Use SrbExtension

Hi,

I am new to windows driver development. Any help would be highly appreciated.

I am trying to use SrbExtension memory of 4k(mentioned in Hw_initialisation_data and port_configuration_information).

When Io is initiated, i tried to access the memory provided by SrbExtension in HwBuildIO function of my driver. I tried to get physcial address by calling StorPortGetPhysicalAddress.

This results in BSOD(0x000000D1) in module storport.sys.

What is the mistake i am doing? Is there any other to use srbextension memory?

Thanks,
Amogha

Hi,

Make sure you pass “NULL” for Srb parameter in StorPortGetPhysicalAddress

Regards,
Kumar

On Mon, Mar 14, 2011 at 5:49 PM, wrote:

> Hi,
>
> I am new to windows driver development. Any help would be highly
> appreciated.
>
> I am trying to use SrbExtension memory of 4k(mentioned in
> Hw_initialisation_data and port_configuration_information).
>
> When Io is initiated, i tried to access the memory provided by SrbExtension
> in HwBuildIO function of my driver. I tried to get physcial address by
> calling StorPortGetPhysicalAddress.
>
> This results in BSOD(0x000000D1) in module storport.sys.
>
> What is the mistake i am doing? Is there any other to use srbextension
> memory?
>
> Thanks,
> Amogha
>
>
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>