1. 23 3月, 2016 1 次提交
  2. 03 2月, 2016 1 次提交
  3. 29 1月, 2016 1 次提交
    • P
      exec: Clean up includes · 7b31bbc2
      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-4-git-send-email-peter.maydell@linaro.org
      7b31bbc2
  4. 02 12月, 2015 1 次提交
    • P
      translate-all: ensure host page mask is always extended with 1's · 0c2d70c4
      Paolo Bonzini 提交于
      Anthony reported that >4GB guests on Xen with 32bit QEMU broke after
      commit 4ed023ce ("Round up RAMBlock sizes to host page sizes", 2015-11-05).
      
      In that patch sizes are masked against qemu_host_page_size/mask which
      are uintptr_t, and thus 32bit on a 32bit QEMU, even though the ram space
      might be bigger than 4GB on Xen.
      
      Since ram_addr_t is not available on user-mode emulation targets, ensure
      that we get a sign extension when masking away the low bits of the address.
      Remove the ~10 year old scary comment that the type of these variables
      is probably wrong, with another equally scary comment.  The new comment
      however does not have "???" in it, which is arguably an improvement.
      
      For completeness use the alignment macros in linux-user and bsd-user
      instead of manually doing an &.  linux-user and bsd-user are not affected
      by the Xen issue, however.
      Reviewed-by: NJuan Quintela <quintela@redhat.com>
      Reported-by: NAnthony PERARD <anthony.perard@citrix.com>
      Fixes: 4ed023ceSigned-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0c2d70c4
  5. 05 11月, 2015 1 次提交
  6. 20 10月, 2015 1 次提交
    • R
      tcg/ppc: Revise goto_tb implementation · 5bfd75a3
      Richard Henderson 提交于
      Restrict the size of code_gen_buffer to 2GB on ppc64, which
      lets us assert that everything is reachable with addis+addi
      from tb_ret_addr.  This lets us use a max of 4 insns for goto_tb
      instead of 7.
      
      Emit the indirect branch portion of goto_tb up front, which
      means we only have to update two insns to update any link.
      With a 64-bit store, we can update the link atomically, which
      may be required in future.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      5bfd75a3
  7. 07 10月, 2015 6 次提交
  8. 16 9月, 2015 2 次提交
  9. 11 9月, 2015 1 次提交
  10. 09 9月, 2015 6 次提交
  11. 25 8月, 2015 1 次提交
  12. 15 8月, 2015 1 次提交
    • P
      exec: drop cpu_can_do_io, just read cpu->can_do_io · 414b15c9
      Paolo Bonzini 提交于
      After commit 626cf8f4 (icount: set can_do_io outside TB execution,
      2014-12-08), can_do_io is set to 1 if not executing code.  It is
      no longer necessary to make this assumption in cpu_can_do_io.
      
      It is also possible to remove the use_icount test, simply by
      never setting cpu->can_do_io to 0 unless use_icount is true.
      
      With these changes cpu_can_do_io boils down to a read of
      cpu->can_do_io.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      414b15c9
  13. 06 8月, 2015 1 次提交
  14. 09 7月, 2015 1 次提交
  15. 07 7月, 2015 1 次提交
  16. 26 6月, 2015 1 次提交
  17. 17 6月, 2015 1 次提交
    • A
      translate-all: fix watchpoints if retranslation not possible · 8d302e76
      Aurelien Jarno 提交于
      The tb_check_watchpoint function currently assumes that all memory
      access is done either directly through the TCG code or through an
      helper which knows its return address. This is obviously wrong as the
      helpers use cpu_ldxx/stxx_data functions to access the memory.
      
      Instead of aborting in that case, don't try to retranslate the code, but
      assume that the CPU state (and especially the program counter) has been
      saved before calling the helper. Then invalidate the TB based on this
      address.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      8d302e76
  18. 05 6月, 2015 3 次提交
  19. 30 4月, 2015 1 次提交
  20. 29 4月, 2015 1 次提交
  21. 28 4月, 2015 1 次提交
  22. 04 4月, 2015 1 次提交
  23. 10 2月, 2015 1 次提交
  24. 20 1月, 2015 1 次提交
    • P
      exec.c: Drop TARGET_HAS_ICE define and checks · ec53b45b
      Peter Maydell 提交于
      The TARGET_HAS_ICE #define is intended to indicate whether a target-*
      guest CPU implementation supports the breakpoint handling. However,
      all our guest CPUs have that support (the only two which do not
      define TARGET_HAS_ICE are unicore32 and openrisc, and in both those
      cases the bp support is present and the lack of the #define is just
      a bug). So remove the #define entirely: all new guest CPU support
      should include breakpoint handling as part of the basic implementation.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Message-id: 1420484960-32365-1-git-send-email-peter.maydell@linaro.org
      ec53b45b
  25. 15 1月, 2015 1 次提交
  26. 03 1月, 2015 1 次提交
  27. 23 12月, 2014 1 次提交