1. 13 Jan, 2014 23 commits
  2. 04 Jul, 2013 1 commit
    • Jan Kiszka's avatar
      ioport: Switch dispatching to memory core layer · b40acf99
      Jan Kiszka authored
      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: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  3. 20 Jun, 2013 1 commit
  4. 29 May, 2013 2 commits
  5. 24 May, 2013 1 commit
  6. 15 Apr, 2013 1 commit
  7. 08 Apr, 2013 1 commit
    • Paolo Bonzini's avatar
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini authored
      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: default avatarPaolo Bonzini <pbonzini@redhat.com>
  8. 19 Dec, 2012 1 commit
  9. 01 Nov, 2012 1 commit
  10. 23 Oct, 2012 1 commit
    • Avi Kivity's avatar
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity authored
      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: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  11. 22 Oct, 2012 2 commits
    • Avi Kivity's avatar
      memory: add address_space_destroy() · 83f3c251
      Avi Kivity authored
      Since address spaces can be created dynamically by device hotplug, they
      can also be destroyed dynamically.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    • Avi Kivity's avatar
      memory: per-AddressSpace dispatch · ac1970fb
      Avi Kivity authored
      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: default avatarAvi Kivity <avi@redhat.com>
  12. 15 Oct, 2012 1 commit
  13. 03 Oct, 2012 1 commit
  14. 29 Jun, 2012 2 commits
  15. 08 Mar, 2012 1 commit