title: Read physical memory under Windows 8
body: <p>I would like to be able to plug in a physical address, and read the data stored at that address. </p>
  
  <p>Under Linux, I would use <a href="https://superuser.com/questions/71389/what-is-dev-mem"><code>/dev/mem</code></a> to  acquire this data. Under Windows 8, I'm not sure what mechanism is available to do this.</p>
  
  <p>My use case is inspecting a PCI Express device. The PCI Express device creates a ring buffer at a known address, that I can determine from the PCIe BAR. Once this address has been set, it won't change until the computer restarts.</p>
  
  <p>Currently, I can use applications like <a href="http://rweverything.com/" rel="nofollow noreferrer">RW Everything</a> to see the data there, but I would like to be able to do this without user interaction (Without the GUI) so that I have fewer issues with the ring buffers wrapping before I can access the data.</p>
  
  <p>Does anyone know if there is a privileged Windows system call I can make from userspace (to mmap a region for example) or do I need to use a custom kernel module to do this? I imagine that there is some way to do it without a custom kernel module, because I don't believe I installed one when I installed RW Everything.</p>