1. 29 1月, 2016 1 次提交
    • P
      arm: Clean up includes · 8ef94f0b
      Peter Maydell 提交于
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-13-git-send-email-peter.maydell@linaro.org
      8ef94f0b
  2. 19 3月, 2015 1 次提交
    • S
      Fix remaining warnings from Sparse (void return) · e7ae771f
      Stefan Weil 提交于
      Sparse report:
      
      hw/display/vga.c:2000:5: warning: returning void-valued expression
      hw/intc/arm_gic.c:707:9: warning: returning void-valued expression
      hw/intc/etraxfs_pic.c:138:9: warning: returning void-valued expression
      hw/nvram/fw_cfg.c:475:5: warning: returning void-valued expression
      hw/timer/a9gtimer.c:124:5: warning: returning void-valued expression
      hw/tpm/tpm_tis.c:794:5: warning: returning void-valued expression
      hw/usb/hcd-musb.c:558:9: warning: returning void-valued expression
      hw/usb/hcd-musb.c:776:13: warning: returning void-valued expression
      hw/usb/hcd-musb.c:867:5: warning: returning void-valued expression
      hw/usb/hcd-musb.c:932:5: warning: returning void-valued expression
      include/qom/cpu.h:584:5: warning: returning void-valued expression
      monitor.c:4686:13: warning: returning void-valued expression
      monitor.c:4690:13: warning: returning void-valued expression
      
      Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: Andreas Färber <afaerber@suse.de>
      Cc: Luiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      e7ae771f
  3. 10 3月, 2015 1 次提交
  4. 26 1月, 2015 1 次提交
  5. 10 12月, 2013 1 次提交
    • P
      hw/timer: Introduce ARM A9 Global Timer. · c21c3b53
      Peter Crosthwaite 提交于
      The ARM A9 MPCore has a timer that is global to all cores in the cluster.
      The timer is shared but each core has a private independent comparator
      and interrupt.
      
      Based on version contributed by Francois LEGAL.
      Signed-off-by: NFrançois LEGAL <devel@thom.fr.eu.org>
      Message-id: 4918e89476b8da916be2964ec41578b50d569a37.1385969450.git.peter.crosthwaite@xilinx.com
      [PC changes:
       * New commit message
       * Re-implemented as single timer model
       * Fixed backwards counting issue in polled mode
       * completed VMSD fields
       * macroified magic numbers (and headerified reg definitions)
       * split of as device-model-only patch
       * use bitops for 64 bit register access
       * Fixed auto increment mode to check condition properly
       * general cleanup (names/style etc).
      ]
      Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
      [PMM:
       * minor typo fixes
       * added missing return after error_setg()
       * dropped setting dc->no_user = 1
      ]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c21c3b53