1. 15 6月, 2018 2 次提交
    • P
      hw/core/or-irq: Support more than 16 inputs to an OR gate · f81804a5
      Peter Maydell 提交于
      For the IoTKit MPC support, we need to wire together the
      interrupt outputs of 17 MPCs; this exceeds the current
      value of MAX_OR_LINES. Increase MAX_OR_LINES to 32 (which
      should be enough for anyone).
      
      The tricky part is retaining the migration compatibility for
      existing OR gates; we add a subsection which is only used
      for larger OR gates, and define it such that we can freely
      increase MAX_OR_LINES in future (or even move to a dynamically
      allocated levels[] array without an upper size limit) without
      breaking compatibility.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20180604152941.20374-10-peter.maydell@linaro.org
      f81804a5
    • P
      hw/arm/armv7m: Remove unused armv7m_init() function · 38d81daf
      Peter Maydell 提交于
      Remove the now-unused armv7m_init() function. This was a legacy from
      before we properly QOMified ARMv7M, and it has some flaws:
      
       * it combines work that needs to be done by an SoC object (creating
         and initializing the TYPE_ARMV7M object) with work that needs to
         be done by the board model (setting the system up to load the ELF
         file specified with -kernel)
       * TYPE_ARMV7M creation failure is fatal, but an SoC object wants to
         arrange to propagate the failure outward
       * it uses allocate-and-create via qdev_create() whereas the current
         preferred style for SoC objects is to do creation in-place
      
      Board and SoC models can instead do the two jobs this function
      was doing themselves, in the right places and with whatever their
      preferred style/error handling is.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 20180601144328.23817-3-peter.maydell@linaro.org
      38d81daf
  2. 12 6月, 2018 6 次提交
  3. 09 6月, 2018 2 次提交
  4. 08 6月, 2018 6 次提交
  5. 05 6月, 2018 1 次提交
  6. 04 6月, 2018 1 次提交
  7. 02 6月, 2018 2 次提交
  8. 01 6月, 2018 9 次提交
  9. 25 5月, 2018 3 次提交
  10. 24 5月, 2018 1 次提交
  11. 23 5月, 2018 7 次提交