none
IoAllocateMdl with >=Windows10 RRS feed

  • Question

  • Hi,

    now I hope I'm in the right forum for my question :-)

    I use a PCIe driver for Windows which has two BARs, one with 1MByte and the second with 4MByte. Both memory spaces are continues, because I doesn't use Scatter-Gather on the FPGA based device.

    The software driver itself uses the function IoAllocateMdl to map the kernel space into the user space.

    For Windows 7 and Windows 8.1 this works OK.

    But is that also workable for later versions? Has somebody experience in this part?

    Is there a better solution (without Scatter-Gather)?

    Thanks and have a good day,

    Martin

    Thursday, January 15, 2015 9:36 AM

Answers

  • You should be able to use IoAllocateMdl, this is the normal way to do this.  While Windows 10 is not out yet, Microsoft does a lot of effort to keep the driver space compatible.  Even if there was going to be a change here, it is extremely unlikely it would impact Windows 10, since the new API would be published with a warning that the older one is becoming obsolete, not a just replace the API as some other OS'es have done.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

    Thursday, January 15, 2015 12:36 PM

All replies

  • You should be able to use IoAllocateMdl, this is the normal way to do this.  While Windows 10 is not out yet, Microsoft does a lot of effort to keep the driver space compatible.  Even if there was going to be a change here, it is extremely unlikely it would impact Windows 10, since the new API would be published with a warning that the older one is becoming obsolete, not a just replace the API as some other OS'es have done.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

    Thursday, January 15, 2015 12:36 PM
  • Thanks Don. So I'm happy and will go on :-)

    Have a good day,

    Martin

    Thursday, January 15, 2015 2:24 PM