1. 16 10月, 2011 6 次提交
  2. 02 10月, 2011 3 次提交
  3. 25 9月, 2011 1 次提交
  4. 23 9月, 2011 1 次提交
  5. 22 8月, 2011 2 次提交
    • A
      440fx: fix PAM, PCI holes · ae0a5466
      Avi Kivity 提交于
      The current implementation of PAM and the PCI holes is broken in several
      ways:
      
        - PCI BARs are not restricted to the PCI hole (a BAR may hide memory)
        - PCI devices do not respect PAM (if a PCI device maps a region while
          PAM maps the region to RAM, the request will be honored)
      
      This patch fixes things by introducing a pci address space, and using
      memory region aliases to represent PAM regions, SMRAM, and PCI holes.
      
      The memory hierarchy looks something like
      
      system_memory
       |
       +--- low memory alias (0-0xe0000000)
       |      |
       |      +-- ram@0
       |
       +--- high memory alias (0x100000000-EOM)
       |      |
       |      +-- ram@0xe0000000
       |
       +--- pci hole alias (end of low memory-0x100000000)
       |      |
       |      +-- pci@end-of-low-memory
       |
       |
       +--- pam[n] (0xc0000-0xc3fff etc) (when set to pci, priority 1)
       |      |
       |      +-- pci@0xc4000 etc
       |
       +--- smram (0xa0000-0xbffff) (when set to pci/vga, priority 1)
              |
              +-- pci@0xa0000 etc
      
      ram (simple ram region)
      
      pci
       |
       +--- BARn
       |
       +--- VGA 0xa0000-0xbffff
       |
       +--- ROMs
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ae0a5466
    • A
      vga: drop get_system_memory() from vga devices and derivatives · be20f9e9
      Avi Kivity 提交于
      Instead, use the bus accessors, or get the address space directly
      from the board constructor.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      be20f9e9
  6. 08 8月, 2011 1 次提交
  7. 29 7月, 2011 3 次提交
  8. 19 6月, 2011 1 次提交
  9. 08 5月, 2011 3 次提交
  10. 20 2月, 2011 10 次提交
  11. 12 2月, 2011 3 次提交
  12. 25 1月, 2011 1 次提交
  13. 16 11月, 2010 1 次提交
  14. 02 7月, 2010 1 次提交
    • M
      pc: Fix CMOS info for drives defined with -device · c0897e0c
      Markus Armbruster 提交于
      Drives defined with -drive if=ide get get created along with the IDE
      controller, inside machine->init().  That's before cmos_init().
      Drives defined with -device get created during generic device init.
      That's after cmos_init().  Because of that, CMOS has no information on
      them (type, geometry, translation).  Older versions of Windows such as
      XP reportedly choke on that.
      
      Split off the part of CMOS initialization that needs to know about
      -device devices, and turn it into a reset handler, so it runs after
      device creation.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      c0897e0c
  15. 19 6月, 2010 1 次提交
  16. 29 5月, 2010 1 次提交
  17. 22 5月, 2010 1 次提交