1. 12 7月, 2013 5 次提交
    • A
      PPC: dbdma: Support unaligned DMA access · 80fc95d8
      Alexander Graf 提交于
      The DBDMA engine really just reads bytes from a producing device (IDE
      in our case) and shoves these bytes into memory. It doesn't care whether
      any alignment takes place or not.
      
      Our code today however assumes that block accesses always happen on
      sector (512 byte) boundaries. This is a fair assumption for most cases.
      
      However, Mac OS X really likes to do unaligned, incomplete accesses
      that it finishes with the next DMA request.
      
      So we need to read / write the unaligned bits independent of the actual
      asynchronous request, because that one can only handle 512-byte-aligned
      data. We also need to cache these unaligned sectors until the next DMA
      request, at which point the data might be successfully flushed from the
      pipe.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      80fc95d8
    • A
      PPC: dbdma: Move processing to io · 03ee3b1e
      Alexander Graf 提交于
      Soon we will introduce intermediate processing pauses which will
      allow the bottom half to restart a DMA request that couldn't be
      fulfilled yet.
      
      For that to work, move the processing variable into the io struct
      which is what DMA providers work with.
      
      While touching it, also change it into a bool
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      03ee3b1e
    • A
      PPC: dbdma: Move static bh variable to device struct · d2f0ce21
      Alexander Graf 提交于
      The DBDMA controller has a bottom half to asynchronously process DMA
      request queues.
      
      This bh was stored as a gross static variable. Move it into the device
      struct instead.
      
      While at it, move all users of it to the new generic kick function.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      d2f0ce21
    • A
      PPC: dbdma: Introduce kick function · d1e562de
      Alexander Graf 提交于
      The DBDMA engine really is running all the time, waiting for input. However
      we don't want to waste cycles constantly polling.
      
      So introduce a kick function that data providers can call to notify the
      DBDMA controller of new input.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      d1e562de
    • A
      PPC: dbdma: Move defines into header file · f2f963fd
      Alexander Graf 提交于
      We usually keep struct and constant definitions in header files. Move
      them there to stay consistent and to make access to fields easier.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      f2f963fd
  2. 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
  3. 19 12月, 2012 2 次提交
  4. 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
  5. 22 10月, 2011 1 次提交
  6. 08 8月, 2011 1 次提交
  7. 02 10月, 2009 2 次提交
  8. 04 3月, 2009 1 次提交
  9. 03 3月, 2009 1 次提交
  10. 31 1月, 2009 1 次提交
  11. 08 4月, 2008 1 次提交
  12. 01 2月, 2008 1 次提交
  13. 07 10月, 2007 1 次提交
  14. 17 9月, 2007 1 次提交
  15. 08 4月, 2007 1 次提交
  16. 02 2月, 2007 1 次提交
  17. 31 10月, 2005 1 次提交
  18. 08 11月, 2004 1 次提交