The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
The page size for my x64 system is 4K, which I understand cannot be altered.
I have a PCIe based driver with an FPGA that allows me to change the page size from 4K to 8K, 16K, 32K etc. all the way up to 4GB for dynamic address translation.
I needed to change my common buffer size to 64KB so I added the device addresses for the 64K buffer and changed the page size to 64K on the FPGA. The code ran intermittently under certain conditions but was completely unreliable.
I used the same common buffer size of 64K but broke this into 16 x 4K chunks in the FPGA size and the code runs beautifully.
So, do I always need to use a page size of 4K for the FPGA on x64 systems?
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!||Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||15 Jun 2020||LIVE ONLINE|
|Writing WDF Drivers||22 June 2020||LIVE ONLINE|
|Internals & Software Drivers||28 Sept 2020||Dulles, VA|