title: PCI BAR memory addresses
body: <p>Quick question, I was reading the OSDev Wiki page regarding PCI and it says the following -</p>
  
  <p>"Base address Registers (or BARs) can be used to hold memory addresses used by the device, or offsets for port addresses. Typically, memory address BARs need to be located in physical ram while I/O space BARs can reside at any memory address (even beyond physical memory)."</p>
  
  <p>I don't get where it says memory address BARs need to be located in physical ram? The whole point of MMIO is that when it gets assigned a memory address so that it will be routed to the device and not into physical RAM. What does it mean by it needs to be located in physical RAM?</p>
  
  <p>Wouldn't it just be an address between the 3GB - 4GB address space, regardless of how much physical RAM is installed?</p>
  
  <p>Is this an error on the OSDev site or have I misunderstood?</p>
  
  <p>link - <a href="http://wiki.osdev.org/PCI" rel="nofollow">About halfway down, under the heading Base Address Registers</a></p>
  
  <p>Thanks.</p>