1. 28 Jul, 2016 1 commit
    • Ken Thomases's avatar
      kernel32: For Mac 64-bit, re-enable the inlining of various functions,… · 2e636d4f
      Ken Thomases authored
      kernel32: For Mac 64-bit, re-enable the inlining of various functions, leveraging the TEB self pointer at %gs:0x30.
      
      On other platforms, gsbase is set to point to Wine's TEB.  So, these functions
      can use %gs-relative addressing with the field offsets to access the fields of
      the TEB.
      
      On the Mac, gsbase points to internals of the pthread implementation and that
      wouldn't work.  However, Wine hijacks %gs:0x30 and stores the TEB address there.
      So, we access the TEB fields by first loading the TEB address and then
      accessing its fields relative to that.
      Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com>
      Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
      2e636d4f
  2. 29 Apr, 2016 1 commit
  3. 02 Oct, 2015 1 commit
  4. 06 Jul, 2015 1 commit
  5. 03 Jul, 2015 5 commits
  6. 20 Mar, 2015 1 commit
  7. 23 Jan, 2015 1 commit
  8. 23 Jun, 2014 1 commit
  9. 03 Sep, 2013 1 commit
  10. 28 May, 2013 1 commit
  11. 11 Jun, 2012 1 commit
  12. 01 Jun, 2012 1 commit
  13. 29 May, 2012 1 commit
  14. 13 Oct, 2011 1 commit
  15. 12 Oct, 2011 1 commit
  16. 22 Aug, 2011 1 commit
  17. 25 Apr, 2011 1 commit
  18. 10 Jan, 2011 1 commit
  19. 08 Sep, 2010 1 commit
  20. 07 May, 2010 2 commits
  21. 05 Feb, 2010 1 commit
  22. 04 Feb, 2010 1 commit
  23. 30 Dec, 2009 1 commit
  24. 08 Oct, 2009 2 commits
  25. 28 Sep, 2009 1 commit
  26. 29 Aug, 2009 1 commit
  27. 07 Aug, 2009 1 commit
  28. 15 Jun, 2009 1 commit
  29. 21 May, 2009 1 commit
  30. 08 Dec, 2008 1 commit
  31. 29 Oct, 2008 1 commit
  32. 03 Jul, 2008 1 commit
  33. 18 Mar, 2008 1 commit
  34. 01 Mar, 2008 1 commit