开发者

Guides for adding 64-bit support to a KMDF driver [closed]

开发者 https://www.devze.com 2023-02-07 19:16 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Are there any guides or documentation for adding 64-bit support to a KMDF driver? I have a good set of links for WDM drivers, b开发者_JAVA百科ut it would be nice to see a KMDF-specific guide showing what KMDF handles for you and what the driver needs to handle.

EDIT: Here are the links I have so far:

Programming Issues for 64-bit Drivers (Windows Driver Kit)

64-bit Guidelines

Checklist for 64-bit Microsoft Windows Drivers


The issues are exactly the same, whether you use KMDF or WDM.

  • You need to make sure that your driver contains no code that assumes that pointers or handles are the same size as integers.

  • You need to use the DMA functions, not assuming that your device can address all of memory.

  • You need to recompile and test.

  • You need to avoid floating point code in drivers.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号