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/
I am developing a WDF GPIO controller driver for our own ACPI GPIO. However, the ACPI document about the GPIO pins are all marked as PMIO instead of MMIO.
Our Linux team uses inb/outb to read/write the registers. I am wondering how the WDF GPIO controller driver read/write such registers.
From the sample code, the GPIO controller driver would read/write GPIO registers in the way CmResourceTypeMemory and CmResourceTypeCollection. In my case, I think CmResourceTypeCollection would be returned by calling WdfCmResourceListGetDescriptor. Do I need to call READ_PORT_*** API to read the registers?
|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||13-17 May 2024||Live, Online|
|Developing Minifilters||1-5 Apr 2024||Live, Online|
|Internals & Software Drivers||11-15 Mar 2024||Live, Online|
|Writing WDF Drivers||26 Feb - 1 Mar 2024||Live, Online|