suppose i get the PCI BAR address d000000c in WDDM miniport display driver, then i use DxgkCbMapMemory defined in WDK Dispmprt.h , then this function should return me the mapped virtual address that can allow me to access PCI device registers.
like this c++ code
uint32_t result = *(MmrBase + offset);
with this line of code, my driver can retrieve the value.
but if i use dd command in windbg, i can not get the value.
Can someone tell me what i did wrong?