1. 11 6月, 2014 1 次提交
  2. 04 2月, 2014 1 次提交
  3. 16 1月, 2014 1 次提交
  4. 13 1月, 2014 25 次提交
  5. 04 7月, 2013 1 次提交
    • J
      ioport: Switch dispatching to memory core layer · b40acf99
      Jan Kiszka 提交于
      The current ioport dispatcher is a complex beast, mostly due to the
      need to deal with old portio interface users. But we can overcome it
      without converting all portio users by embedding the required base
      address of a MemoryRegionPortio access into that data structure. That
      removes the need to have the additional MemoryRegionIORange structure
      in the loop on every access.
      
      To handle old portio memory ops, we simply install dispatching handlers
      for portio memory regions when registering them with the memory core.
      This removes the need for the old_portio field.
      
      We can drop the additional aliasing of ioport regions and also the
      special address space listener. cpu_in and cpu_out now simply call
      address_space_read/write. And we can concentrate portio handling in a
      single source file.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      b40acf99
  6. 20 6月, 2013 1 次提交
  7. 29 5月, 2013 2 次提交
  8. 25 5月, 2013 1 次提交
  9. 16 4月, 2013 1 次提交
  10. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  11. 19 12月, 2012 1 次提交
  12. 02 11月, 2012 1 次提交
  13. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  14. 22 10月, 2012 2 次提交
    • A
      memory: add address_space_destroy() · 83f3c251
      Avi Kivity 提交于
      Since address spaces can be created dynamically by device hotplug, they
      can also be destroyed dynamically.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      83f3c251
    • A
      memory: per-AddressSpace dispatch · ac1970fb
      Avi Kivity 提交于
      Currently we use a global radix tree to dispatch memory access.  This only
      works with a single address space; to support multiple address spaces we
      make the radix tree a member of AddressSpace (via an intermediate structure
      AddressSpaceDispatch to avoid exposing too many internals).
      
      A side effect is that address_space_io also gains a dispatch table.  When
      we remove all the pre-memory-API I/O registrations, we can use that for
      dispatching I/O and get rid of the original I/O dispatch.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      ac1970fb