Mini UVC UAC
2010-07-05 10:29:02 UTC
Hi, All:
I'm developing a Storport driver and need get the virtual address of
Srb::DataBuffer. I used StorPortGetSystemAddress to get the virtual address.
It
works well under Win7 x64 with 2GB Ram, but failed under Win7 X64 with 4GB
Ram.
I used the dbgview to print the data after I copied it into the virtual
address, and used BusHound to check the data which our drivers returned. From
the dbgview's logfile, driver always return the correct data, but from the
BusHound's log info, the data sometimes match with the dbgview's logfile, and
sometimes don't match.
BTW, if use the scsiport driver, it work ok both 2GB ram and 4GB ram under
Win7X64.
Anyone can give me some help to solve the issue? BTW: I have to use
virtual
address to copy data into Srb::DataBuffer because hardware limited. I have to
use Storport framework.
And I even suspect maybe whether it is the Microsoft stoport class
driver's bug ?
Thanks
I'm developing a Storport driver and need get the virtual address of
Srb::DataBuffer. I used StorPortGetSystemAddress to get the virtual address.
It
works well under Win7 x64 with 2GB Ram, but failed under Win7 X64 with 4GB
Ram.
I used the dbgview to print the data after I copied it into the virtual
address, and used BusHound to check the data which our drivers returned. From
the dbgview's logfile, driver always return the correct data, but from the
BusHound's log info, the data sometimes match with the dbgview's logfile, and
sometimes don't match.
BTW, if use the scsiport driver, it work ok both 2GB ram and 4GB ram under
Win7X64.
Anyone can give me some help to solve the issue? BTW: I have to use
virtual
address to copy data into Srb::DataBuffer because hardware limited. I have to
use Storport framework.
And I even suspect maybe whether it is the Microsoft stoport class
driver's bug ?
Thanks