WinDBG and RCBA

Hi All.

I was wondering. If my Root Complex Base Address Register is located at 0xFED1C000 and i want to read the IOTR0-IOTR3 registers through WinDBG. Can I read this through the command “!db FED1DE80”? I’m wondering if I need to map the registers first somehow? I’m not sure about this, but in my code I run MmMapIoSpace. Do I have to do this in WinDBG first as well? I’m asking here becuase the WinDBG forum seems a bit slow.

Thank You

Kjetil

On Nov 25, 2015, at 12:36 AM, xxxxx@ikjetil.no wrote:

Hi All.

I was wondering. If my Root Complex Base Address Register is located at 0xFED1C000 and i want to read the IOTR0-IOTR3 registers through WinDBG. Can I read this through the command “!db FED1DE80”? I’m wondering if I need to map the registers first somehow? I’m not sure about this, but in my code I run MmMapIoSpace. Do I have to do this in WinDBG first as well? I’m asking here becuase the WinDBG forum seems a bit slow.

The !db/!dw/!dd commands will map the memory, then do the dump, then unmap the memory. You should tell it to do the mapping uncached:
!dd [uc] fed1c000

Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.