1. 03 2月, 2014 1 次提交
  2. 09 1月, 2014 1 次提交
  3. 08 1月, 2014 1 次提交
  4. 23 12月, 2013 1 次提交
  5. 18 12月, 2013 1 次提交
    • P
      target-arm: Clean up handling of AArch64 PSTATE · d356312f
      Peter Maydell 提交于
      The env->pstate field is a little odd since it doesn't strictly
      speaking represent an architectural register. However it's convenient
      for QEMU to use it to hold the various PSTATE architectural bits
      in the same format the architecture specifies for SPSR registers
      (since this is the same format the kernel uses for signal handlers
      and the KVM register). Add some structure to how we deal with it:
       * document what env->pstate is
       * add some #defines for various bits in it
       * add helpers for reading/writing it taking account of caching
         of NZCV, and use them where appropriate
       * reset it on startup
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1385645602-18662-3-git-send-email-peter.maydell@linaro.org
      Reviewed-by: NChristoffer Dall <christoffer.dall@linaro.org>
      d356312f
  6. 11 9月, 2013 1 次提交
  7. 30 7月, 2013 2 次提交
    • P
      linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn · 978fae9f
      Peter Maydell 提交于
      Rephrase code used in ARM sigreturn functions to avoid using
      uninitialized variables. This fixes one genuine problem ('frame'
      would not be initialized if we took the error-exit path because
      our stackpointer was misaligned) and one which is clang being
      alarmist (frame_addr wouldn't be initialized, though this is
      harmless since unlock_user_struct ignores its second argument
      in these cases; however since we don't generally make use of
      this not-really-documented effect it's better avoided).
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1375095632-13735-3-git-send-email-peter.maydell@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      978fae9f
    • P
      linux-user/signal.c: PPC: Silence clang uninitialized-use warning · b04636f8
      Peter Maydell 提交于
      Silence a clang warning in a PPC signal return function:
      
      /home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/signal.c:4611:9: error: variable 'sr_addr' is used
            uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
          if (!lock_user_struct(VERIFY_READ, sc, sc_addr, 1))
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/signal.c:4636:28: note: uninitialized use occurs here
          unlock_user_struct(sr, sr_addr, 1);
                                 ^~~~~~~
      /home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/qemu.h:442:27: note: expanded from macro 'unlock_user_struct'
          unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
                                ^
      
      This happens when we unlock a user struct which we never
      attempted to lock. Strictly, clang is actually wrong here -- it
      hasn't been able to spot that unlock_user_struct() doesn't use
      its second argument if the first is NULL. However it doesn't
      seem too unreasonable to demand that we pass in initialized
      values to it.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1375095632-13735-2-git-send-email-peter.maydell@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b04636f8
  8. 23 7月, 2013 1 次提交
  9. 10 7月, 2013 1 次提交
  10. 05 7月, 2013 1 次提交
  11. 28 6月, 2013 1 次提交
  12. 21 5月, 2013 2 次提交
  13. 05 3月, 2013 3 次提交
  14. 12 1月, 2013 1 次提交
  15. 08 1月, 2013 2 次提交
  16. 12 10月, 2012 1 次提交
  17. 05 10月, 2012 1 次提交
  18. 10 8月, 2012 1 次提交
  19. 01 8月, 2012 1 次提交
  20. 28 7月, 2012 1 次提交
  21. 22 6月, 2012 1 次提交
  22. 15 3月, 2012 3 次提交
  23. 08 3月, 2012 1 次提交
  24. 02 2月, 2012 1 次提交
  25. 02 12月, 2011 1 次提交
  26. 27 10月, 2011 2 次提交
  27. 05 10月, 2011 1 次提交
  28. 26 8月, 2011 1 次提交
  29. 13 7月, 2011 1 次提交
  30. 22 6月, 2011 2 次提交
  31. 20 6月, 2011 1 次提交