after windows boot up, I use windbg to check PCI config space to take a look six bars.
3: kd> !pci 100 3 0 0
10: BAR0 d000000c 11010000000000000000000000001100
14: BAR1 00000000
18: BAR2 e000000c 11100000000000000000000000001100
1c: BAR3 00000000
20: BAR4 0000e001 1110000000000001
24: BAR5 efd00000 11101111110100000000000000000000
from this i can know there are two 64-bit memory location and one 32-bit memory location.
At the same time i open device manager --> device properties --> Resources and i get this:
Memory Range 00000000D0000000 - 00000000DFFFFFFF
Memory Range 00000000E0000000 - 00000000E01FFFFF
Memory Range 00000000EFD00000 - 00000000EFD7FFFF
Memory Range 00000000000A0000 - 00000000000BFFFF
from this list there are four memory addresses, while PCI config space indicates three, why? and also how does device manger know size of each memory ?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Writing WDF Drivers||21 Oct 2019||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|
|Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||27 Apr 2020||OSR Seminar Space & ONLINE|