1. 10 3月, 2014 1 次提交
  2. 27 2月, 2014 2 次提交
  3. 20 2月, 2014 1 次提交
  4. 14 2月, 2014 2 次提交
  5. 04 2月, 2014 1 次提交
  6. 23 8月, 2013 2 次提交
  7. 06 8月, 2013 1 次提交
  8. 30 7月, 2013 3 次提交
  9. 10 7月, 2013 1 次提交
  10. 04 7月, 2013 2 次提交
  11. 16 4月, 2013 1 次提交
  12. 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
  13. 05 4月, 2013 1 次提交
  14. 12 3月, 2013 1 次提交
  15. 01 3月, 2013 2 次提交
  16. 07 2月, 2013 1 次提交
  17. 02 2月, 2013 1 次提交
  18. 22 1月, 2013 1 次提交
  19. 15 1月, 2013 1 次提交
    • A
      cpu: Move cpu_index field to CPUState · 55e5c285
      Andreas Färber 提交于
      Note that target-alpha accesses this field from TCG, now using a
      negative offset. Therefore the field is placed last in CPUState.
      
      Pass PowerPCCPU to [kvm]ppc_fixup_cpu() to facilitate this change.
      
      Move common parts of mips cpu_state_reset() to mips_cpu_reset().
      
      Acked-by: Richard Henderson <rth@twiddle.net> (for alpha)
      [AF: Rebased onto ppc CPU subclasses and openpic changes]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      55e5c285
  20. 11 1月, 2013 1 次提交
    • A
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber 提交于
      Since 39bffca2 (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  21. 19 12月, 2012 2 次提交
  22. 29 10月, 2012 1 次提交
    • Z
      Add USB option in machine options · 094b287f
      zhlcindy@gmail.com 提交于
      When -usb option is used, global varible usb_enabled is set.
      And all the plaform will create one USB controller according
      to this variable. In fact, global varibles make code hard
      to read.
      
      So this patch is to remove global variable usb_enabled and
      add USB option in machine options. All the plaforms will get
      USB option value from machine options.
      
      USB option of machine options will be set either by:
        * -usb
        * -machine type=pseries,usb=on
      
      Both these ways can work now. They both set USB option in
      machine options. In the future, the first way will be removed.
      Signed-off-by: NLi Zhang <zhlcindy@linux.vnet.ibm.com>
      Acked-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      094b287f
  23. 23 10月, 2012 2 次提交
    • 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
    • G
      serial: split serial.c · 488cb996
      Gerd Hoffmann 提交于
      Split serial.c into serial.c, serial.h and serial-isa.c.  While being at
      creating a serial.h header file move the serial prototypes from pc.h to
      the new serial.h.  The latter leads to s/pc.h/serial.h/ in tons of
      boards which just want the serial bits from pc.h
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      488cb996
  24. 20 6月, 2012 2 次提交
  25. 11 6月, 2012 1 次提交
  26. 05 6月, 2012 1 次提交
  27. 30 3月, 2012 1 次提交
  28. 17 3月, 2012 1 次提交
    • P
      hw/pxa2xx.c: Fix handling of pxa2xx_i2c variable offset within region · 14dd5faa
      Peter Maydell 提交于
      The pxa2xx I2C controller can have its registers at an arbitrary offset
      within the MemoryRegion it creates. We use this to create two controllers,
      one which covers a region of size 0x10000 with registers starting at an
      offset 0x1600 into that region, and a second one which covers a region
      of size just 0x100 with the registers starting at the base of the region.
      
      The implementation of this offsetting uses two qdev properties, "offset"
      (which sets the offset which must be subtracted from the address to
      get the offset into the actual register bank) and "size", which is the
      size of the MemoryRegion. We were actually using "offset" for two
      purposes: firstly the required one of handling the registers not being
      at the base of the MemoryRegion, and secondly as a workaround for a
      deficiency of QEMU. Until commit 5312bd8b, if a MemoryRegion was mapped
      at a non-page boundary, the address passed into the read and write
      functions would be the offset from the start of the page, not the
      offset from the start of the MemoryRegion. So when calculating the value
      to set the "offset" qdev property we included a rounding to a page
      boundary.
      
      Following commit 5312bd8b MemoryRegion read/write functions are now
      correctly passed the offset from the base of the region, and our
      workaround now means we're subtracting too much from addresses, resulting
      in warnings like "pxa2xx_i2c_read: Bad register 0xffffff90".
      The fix for this is simply to remove the rounding to a page boundary;
      this allows us to slightly simplify the expression since
        base - (base & (~region_size)) == base & region_size
      
      The qdev property "offset" itself must remain because it is still
      performing its primary job of handling register banks not being at
      the base of the MemoryRegion.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NAndreas Färber <afaerber@suse.de>
      14dd5faa
  29. 15 3月, 2012 1 次提交
  30. 15 2月, 2012 1 次提交