1. 16 9月, 2015 1 次提交
  2. 05 6月, 2015 1 次提交
  3. 10 3月, 2015 1 次提交
    • B
      x86: fix SS selector in SYSRET · ac576229
      Bill Paul 提交于
      According to my reading of the Intel documentation, the SYSRET instruction
      is supposed to force the RPL bits of the %ss register to 3 when returning
      to user mode. The actual sequence is:
      
      SS.Selector <-- (IA32_STAR[63:48]+8) OR 3; (* RPL forced to 3 *)
      
      However, the code in helper_sysret() leaves them at 0 (in other words, the "OR
      3" part of the above sequence is missing). It does set the privilege level
      bits of %cs correctly though.
      
      This has caused me trouble with some of my VxWorks development: code that runs
      okay on real hardware will crash on QEMU, unless I apply the patch below.
      Signed-off-by: NBill Paul <wpaul@windriver.com>
      Message-Id: <201503091548.01462.wpaul@windriver.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      ac576229
  4. 20 1月, 2015 1 次提交
  5. 12 11月, 2014 1 次提交
  6. 26 9月, 2014 1 次提交
  7. 22 8月, 2014 1 次提交
  8. 05 6月, 2014 3 次提交
  9. 29 5月, 2014 1 次提交
  10. 22 5月, 2014 4 次提交
  11. 13 5月, 2014 2 次提交
  12. 14 3月, 2014 4 次提交
  13. 11 2月, 2014 2 次提交
  14. 10 7月, 2013 3 次提交
  15. 16 6月, 2013 10 次提交
  16. 12 3月, 2013 1 次提交
  17. 15 1月, 2013 2 次提交
  18. 19 12月, 2012 1 次提交