• 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
Name
Last commit
Last update
..
ddk Loading commit data...
msvcrt Loading commit data...
wine Loading commit data...
Makefile.in Loading commit data...
accctrl.h Loading commit data...
access.idl Loading commit data...
aclapi.h Loading commit data...
aclui.h Loading commit data...
activaut.idl Loading commit data...
activdbg.idl Loading commit data...
activscp.idl Loading commit data...
adshlp.h Loading commit data...
advpub.h Loading commit data...
af_irda.h Loading commit data...
amaudio.h Loading commit data...
amstream.idl Loading commit data...
amvideo.idl Loading commit data...
appcompatapi.h Loading commit data...
appmgmt.h Loading commit data...
asptlb.idl Loading commit data...
asynot.idl Loading commit data...
asysta.idl Loading commit data...
atlbase.h Loading commit data...
atlcom.h Loading commit data...
atliface.idl Loading commit data...
atlwin.h Loading commit data...
audevcod.h Loading commit data...
audioclient.idl Loading commit data...
audiopolicy.idl Loading commit data...
audiosessiontypes.h Loading commit data...
austream.idl Loading commit data...
authz.h Loading commit data...
aviriff.h Loading commit data...
avrt.h Loading commit data...
axcore.idl Loading commit data...
axextend.idl Loading commit data...
basetsd.h Loading commit data...
basetyps.h Loading commit data...
bcrypt.h Loading commit data...
bdaiface.idl Loading commit data...
bdaiface_enums.h Loading commit data...
bdatypes.h Loading commit data...
binres.idl Loading commit data...
bits.idl Loading commit data...
bits1_5.idl Loading commit data...
bits2_0.idl Loading commit data...
bits2_5.idl Loading commit data...
bits3_0.idl Loading commit data...
bitsmsg.h Loading commit data...
bluetoothapis.h Loading commit data...
bthsdpdef.h Loading commit data...
cderr.h Loading commit data...
cfgmgr32.h Loading commit data...
cguid.h Loading commit data...
chprst.idl Loading commit data...
cierror.h Loading commit data...
clusapi.h Loading commit data...
cmdbas.idl Loading commit data...
cmdtxt.idl Loading commit data...
colinf.idl Loading commit data...
comcat.idl Loading commit data...
commctrl.h Loading commit data...
commctrl.rh Loading commit data...
commdlg.h Loading commit data...
commoncontrols.idl Loading commit data...
compobj.h Loading commit data...
config.h.in Loading commit data...
control.idl Loading commit data...
cor.idl Loading commit data...
cordebug.idl Loading commit data...
corerror.h Loading commit data...
corhdr.h Loading commit data...
cpl.h Loading commit data...
crtrow.idl Loading commit data...
cryptdlg.h Loading commit data...
cryptuiapi.h Loading commit data...
ctfutb.idl Loading commit data...
ctxtcall.idl Loading commit data...
custcntl.h Loading commit data...
cvconst.h Loading commit data...
d2d1.idl Loading commit data...
d2dbasetypes.h Loading commit data...
d2derr.h Loading commit data...
d3d.h Loading commit data...
d3d10.idl Loading commit data...
d3d10_1.idl Loading commit data...
d3d10_1shader.h Loading commit data...
d3d10effect.h Loading commit data...
d3d10misc.h Loading commit data...
d3d10sdklayers.idl Loading commit data...
d3d10shader.h Loading commit data...
d3d11.idl Loading commit data...
d3d11_1.idl Loading commit data...
d3d11sdklayers.idl Loading commit data...
d3d11shader.h Loading commit data...
d3d8.h Loading commit data...
d3d8caps.h Loading commit data...
d3d8types.h Loading commit data...
d3d9.h Loading commit data...
d3d9caps.h Loading commit data...
d3d9types.h Loading commit data...
d3dcaps.h Loading commit data...
d3dcommon.idl Loading commit data...
d3dcompiler.h Loading commit data...
d3dhal.h Loading commit data...
d3drm.h Loading commit data...
d3drmdef.h Loading commit data...
d3drmobj.h Loading commit data...
d3drmwin.h Loading commit data...
d3dtypes.h Loading commit data...
d3dukmdt.h Loading commit data...
d3dvec.inl Loading commit data...
d3dx10.h Loading commit data...
d3dx10async.h Loading commit data...
d3dx10core.idl Loading commit data...
d3dx10tex.h Loading commit data...
d3dx11.h Loading commit data...
d3dx11async.h Loading commit data...
d3dx11core.idl Loading commit data...
d3dx11tex.h Loading commit data...
d3dx9.h Loading commit data...
d3dx9anim.h Loading commit data...
d3dx9core.h Loading commit data...
d3dx9effect.h Loading commit data...
d3dx9math.h Loading commit data...
d3dx9math.inl Loading commit data...
d3dx9mesh.h Loading commit data...
d3dx9shader.h Loading commit data...
d3dx9shape.h Loading commit data...
d3dx9tex.h Loading commit data...
d3dx9xof.h Loading commit data...
davclnt.h Loading commit data...
dbccmd.idl Loading commit data...
dbcses.idl Loading commit data...
dbdsad.idl Loading commit data...
dbghelp.h Loading commit data...
dbinit.idl Loading commit data...
dbprop.idl Loading commit data...
dbs.idl Loading commit data...
dbt.h Loading commit data...
dciddi.h Loading commit data...
dciman.h Loading commit data...
dcommon.h Loading commit data...
dde.h Loading commit data...
dde.rh Loading commit data...
ddeml.h Loading commit data...
ddraw.h Loading commit data...
ddrawgdi.h Loading commit data...
ddrawi.h Loading commit data...
ddstream.idl Loading commit data...
delayloadhandler.h Loading commit data...
devenum.idl Loading commit data...
devguid.h Loading commit data...
devicetopology.idl Loading commit data...
devpkey.h Loading commit data...
devpropdef.h Loading commit data...
difxapi.h Loading commit data...
digitalv.h Loading commit data...
dimm.idl Loading commit data...
dinput.h Loading commit data...
dinputd.h Loading commit data...
dispdib.h Loading commit data...
dispex.idl Loading commit data...
dlgs.h Loading commit data...
dls1.h Loading commit data...
dls2.h Loading commit data...
dmdls.h Loading commit data...
dmerror.h Loading commit data...
dmksctrl.h Loading commit data...
dmo.h Loading commit data...
dmoreg.h Loading commit data...
dmort.h Loading commit data...
dmplugin.h Loading commit data...
dmusbuff.h Loading commit data...
dmusicc.h Loading commit data...
dmusicf.h Loading commit data...
dmusici.h Loading commit data...
dmusics.h Loading commit data...
docobj.idl Loading commit data...
docobjectservice.idl Loading commit data...
downloadmgr.idl Loading commit data...
dpaddr.h Loading commit data...
dplay.h Loading commit data...
dplay8.h Loading commit data...
dplobby.h Loading commit data...
dplobby8.h Loading commit data...
dpnathlp.h Loading commit data...
dsconf.h Loading commit data...
dsgetdc.h Loading commit data...
dshow.h Loading commit data...
dsound.h Loading commit data...
dsrole.h Loading commit data...
dvdmedia.h Loading commit data...
dvoice.h Loading commit data...
dwmapi.h Loading commit data...
dwrite.idl Loading commit data...
dwrite_1.idl Loading commit data...
dwrite_2.idl Loading commit data...
dwrite_3.idl Loading commit data...
dxdiag.h Loading commit data...
dxerr8.h Loading commit data...
dxerr9.h Loading commit data...
dxfile.h Loading commit data...
dxgi.idl Loading commit data...
dxgi1_2.idl Loading commit data...
dxgiformat.h Loading commit data...
dxgitype.h Loading commit data...
dxva2api.idl Loading commit data...
dyngraph.idl Loading commit data...
endpointvolume.idl Loading commit data...
errorrep.h Loading commit data...
errors.h Loading commit data...
errrec.idl Loading commit data...
evcode.h Loading commit data...
evntprov.h Loading commit data...
evntrace.h Loading commit data...
excpt.h Loading commit data...
exdisp.idl Loading commit data...
exdispid.h Loading commit data...
fci.h Loading commit data...
fdi.h Loading commit data...
fileapi.h Loading commit data...
fltdefs.h Loading commit data...
fontsub.h Loading commit data...
fusion.idl Loading commit data...
gameux.idl Loading commit data...
gdiplus.h Loading commit data...
gdipluscolor.h Loading commit data...
gdipluscolormatrix.h Loading commit data...
gdipluseffects.h Loading commit data...
gdiplusenums.h Loading commit data...
gdiplusflat.h Loading commit data...
gdiplusgpstubs.h Loading commit data...
gdiplusimaging.h Loading commit data...
gdiplusinit.h Loading commit data...
gdiplusmem.h Loading commit data...
gdiplusmetaheader.h Loading commit data...
gdipluspixelformats.h Loading commit data...
gdiplustypes.h Loading commit data...
guiddef.h Loading commit data...
hidusage.h Loading commit data...
highlevelmonitorconfigurationapi.h Loading commit data...
hlguids.h Loading commit data...
hlink.idl Loading commit data...
hstring.idl Loading commit data...
htiface.idl Loading commit data...
htiframe.idl Loading commit data...
htmlhelp.h Loading commit data...
http.h Loading commit data...
httprequest.idl Loading commit data...
httprequestid.h Loading commit data...
i_cryptasn1tls.h Loading commit data...
iads.idl Loading commit data...
icftypes.idl Loading commit data...
icm.h Loading commit data...
icmpapi.h Loading commit data...
idispids.h Loading commit data...
iextag.idl Loading commit data...
ifdef.h Loading commit data...
ifmib.h Loading commit data...
iimgctx.idl Loading commit data...
imagehlp.h Loading commit data...
imm.h Loading commit data...
imnact.idl Loading commit data...
imnxport.idl Loading commit data...
in6addr.h Loading commit data...
inaddr.h Loading commit data...
indexsrv.idl Loading commit data...
initguid.h Loading commit data...
inputscope.idl Loading commit data...
inseng.idl Loading commit data...
inspectable.idl Loading commit data...
intshcut.h Loading commit data...
ipexport.h Loading commit data...
iphlpapi.h Loading commit data...
ipifcons.h Loading commit data...
ipmib.h Loading commit data...
iprtrmib.h Loading commit data...
iptypes.h Loading commit data...
isguids.h Loading commit data...
knownfolders.h Loading commit data...
ks.h Loading commit data...
ksguid.h Loading commit data...
ksmedia.h Loading commit data...
ksuuids.h Loading commit data...
lm.h Loading commit data...
lmaccess.h Loading commit data...
lmapibuf.h Loading commit data...
lmat.h Loading commit data...
lmbrowsr.h Loading commit data...
lmcons.h Loading commit data...
lmerr.h Loading commit data...
lmjoin.h Loading commit data...
lmmsg.h Loading commit data...
lmserver.h Loading commit data...
lmshare.h Loading commit data...
lmstats.h Loading commit data...
lmuse.h Loading commit data...
lmuseflg.h Loading commit data...
lmwksta.h Loading commit data...
loadperf.h Loading commit data...
lowlevelmonitorconfigurationapi.h Loading commit data...
lzexpand.h Loading commit data...
mapi.h Loading commit data...
mapicode.h Loading commit data...
mapidefs.h Loading commit data...
mapiform.h Loading commit data...
mapiguid.h Loading commit data...
mapitags.h Loading commit data...
mapiutil.h Loading commit data...
mapival.h Loading commit data...
mapix.h Loading commit data...
mciavi.h Loading commit data...
mcx.h Loading commit data...
mediaerr.h Loading commit data...
mediaobj.idl Loading commit data...
metahost.idl Loading commit data...
mfapi.h Loading commit data...
mferror.h Loading commit data...
mfobjects.idl Loading commit data...
midles.h Loading commit data...
mimeinfo.idl Loading commit data...
mimeole.idl Loading commit data...
minmax.h Loading commit data...
mlang.idl Loading commit data...
mmc.idl Loading commit data...
mmddk.h Loading commit data...
mmdeviceapi.idl Loading commit data...
mmreg.h Loading commit data...
mmstream.idl Loading commit data...
mmsystem.h Loading commit data...
mprapi.h Loading commit data...
mprerror.h Loading commit data...
msacm.h Loading commit data...
msacmdlg.h Loading commit data...
msacmdrv.h Loading commit data...
msasn1.h Loading commit data...
mscat.h Loading commit data...
mscoree.idl Loading commit data...
msctf.idl Loading commit data...
msdadc.idl Loading commit data...
msdaguid.h Loading commit data...
msdasc.idl Loading commit data...
mshtmcid.h Loading commit data...
mshtmdid.h Loading commit data...
mshtmhst.idl Loading commit data...
mshtml.idl Loading commit data...
msi.h Loading commit data...
msidefs.h Loading commit data...
msident.idl Loading commit data...
msinkaut.idl Loading commit data...
msiquery.h Loading commit data...
mssip.h Loading commit data...
mstask.idl Loading commit data...
mstcpip.h Loading commit data...
mswsock.h Loading commit data...
msxml.idl Loading commit data...
msxml2.idl Loading commit data...
msxml2did.h Loading commit data...
msxml6.idl Loading commit data...
msxml6did.h Loading commit data...
msxmldid.h Loading commit data...
nb30.h Loading commit data...
ncrypt.h Loading commit data...
ndrtypes.h Loading commit data...
netcfgx.idl Loading commit data...
netcon.idl Loading commit data...
netfw.idl Loading commit data...
netioapi.h Loading commit data...
netlistmgr.idl Loading commit data...
nldef.h Loading commit data...
npapi.h Loading commit data...
nspapi.h Loading commit data...
ntddcdrm.h Loading commit data...
ntddndis.h Loading commit data...
ntddscsi.h Loading commit data...
ntddstor.h Loading commit data...
ntdef.h Loading commit data...
ntdsapi.h Loading commit data...
ntquery.h Loading commit data...
ntsecapi.h Loading commit data...
ntsecpkg.h Loading commit data...
ntstatus.h Loading commit data...
oaidl.idl Loading commit data...
objbase.h Loading commit data...
objectarray.idl Loading commit data...
objidl.idl Loading commit data...
objsafe.idl Loading commit data...
objsel.h Loading commit data...
ocidl.idl Loading commit data...
ocmm.idl Loading commit data...
odbcinst.h Loading commit data...
ole2.h Loading commit data...
ole2ver.h Loading commit data...
oleacc.idl Loading commit data...
oleauto.h Loading commit data...
olectl.h Loading commit data...
oledb.idl Loading commit data...
oledberr.h Loading commit data...
oledlg.h Loading commit data...
oleidl.idl Loading commit data...
opnrst.idl Loading commit data...
optary.idl Loading commit data...
patchapi.h Loading commit data...
pdh.h Loading commit data...
pdhmsg.h Loading commit data...
perhist.idl Loading commit data...
physicalmonitorenumerationapi.h Loading commit data...
pktdef.h Loading commit data...
poppack.h Loading commit data...
powrprof.h Loading commit data...
prntvpt.h Loading commit data...
profinfo.h Loading commit data...
propidl.idl Loading commit data...
propkey.h Loading commit data...
propkeydef.h Loading commit data...
propsys.idl Loading commit data...
propvarutil.h Loading commit data...
prsht.h Loading commit data...
psapi.h Loading commit data...
pshpack1.h Loading commit data...
pshpack2.h Loading commit data...
pshpack4.h Loading commit data...
pshpack8.h Loading commit data...
pstore.idl Loading commit data...
qedit.idl Loading commit data...
ras.h Loading commit data...
rasdlg.h Loading commit data...
raserror.h Loading commit data...
reason.h Loading commit data...
regstr.h Loading commit data...
restartmanager.h Loading commit data...
richedit.h Loading commit data...
richole.idl Loading commit data...
rmxfguid.h Loading commit data...
rmxftmpl.x Loading commit data...
roapi.h Loading commit data...
row.idl Loading commit data...
rowchg.idl Loading commit data...
rowpos.idl Loading commit data...
rowpsc.idl Loading commit data...
rpc.h Loading commit data...
rpcasync.h Loading commit data...
rpcdce.h Loading commit data...
rpcdcep.h Loading commit data...
rpcndr.h Loading commit data...
rpcnterr.h Loading commit data...
rpcproxy.h Loading commit data...
rpcsal.h Loading commit data...
rstbas.idl Loading commit data...
rstinf.idl Loading commit data...
rstloc.idl Loading commit data...
rstnot.idl Loading commit data...
rtutils.h Loading commit data...
scarderr.h Loading commit data...
schannel.h Loading commit data...
schemadef.h Loading commit data...
schnlsp.h Loading commit data...
sddl.h Loading commit data...
secext.h Loading commit data...
security.h Loading commit data...
sensapi.h Loading commit data...
sensevts.idl Loading commit data...
servprov.idl Loading commit data...
sesprp.idl Loading commit data...
setupapi.h Loading commit data...
sfc.h Loading commit data...
shdeprecated.idl Loading commit data...
shdispid.h Loading commit data...
shellapi.h Loading commit data...
shimgdata.idl Loading commit data...
shldisp.idl Loading commit data...
shlguid.h Loading commit data...
shlobj.h Loading commit data...
shlwapi.h Loading commit data...
shobjidl.idl Loading commit data...
shtypes.idl Loading commit data...
sipbase.h Loading commit data...
slerror.h Loading commit data...
slpublic.h Loading commit data...
snmp.h Loading commit data...
softpub.h Loading commit data...
sql.h Loading commit data...
sqlext.h Loading commit data...
sqltypes.h Loading commit data...
srcrst.idl Loading commit data...
srrestoreptapi.h Loading commit data...
sspi.h Loading commit data...
stamp-h.in Loading commit data...
stdole2.idl Loading commit data...
sti.h Loading commit data...
storage.h Loading commit data...
strmif.idl Loading commit data...
strsafe.h Loading commit data...
structuredquerycondition.idl Loading commit data...
svrapi.h Loading commit data...
t2embapi.h Loading commit data...
tapi.h Loading commit data...
taskschd.idl Loading commit data...
tchar.h Loading commit data...
tcpestats.h Loading commit data...
tcpmib.h Loading commit data...
textserv.h Loading commit data...
textstor.idl Loading commit data...
tlhelp32.h Loading commit data...
tlogstg.idl Loading commit data...
tmschema.h Loading commit data...
tom.idl Loading commit data...
traffic.h Loading commit data...
transact.idl Loading commit data...
twain.h Loading commit data...
txcoord.idl Loading commit data...
txdtc.idl Loading commit data...
udpmib.h Loading commit data...
uiautomation.h Loading commit data...
uiautomationclient.idl Loading commit data...
uiautomationcore.idl Loading commit data...
uiautomationcoreapi.h Loading commit data...
unknwn.idl Loading commit data...
urlhist.idl Loading commit data...
urlmon.idl Loading commit data...
userenv.h Loading commit data...
usp10.h Loading commit data...
uuids.h Loading commit data...
uxtheme.h Loading commit data...
vdmdbg.h Loading commit data...
ver.h Loading commit data...
verrsrc.h Loading commit data...
vfw.h Loading commit data...
vfwmsgs.h Loading commit data...
vmr9.idl Loading commit data...
vmrender.idl Loading commit data...
vss.idl Loading commit data...
vsstyle.h Loading commit data...
vssym32.h Loading commit data...
vswriter.h Loading commit data...
wbemcli.idl Loading commit data...
wbemdisp.idl Loading commit data...
wbemprov.idl Loading commit data...
wct.h Loading commit data...
webservices.h Loading commit data...
werapi.h Loading commit data...
wfext.h Loading commit data...
wia.h Loading commit data...
wia_lh.idl Loading commit data...
wia_xp.idl Loading commit data...
wiadef.h Loading commit data...
wimgapi.h Loading commit data...
winbase.h Loading commit data...
wincodec.idl Loading commit data...
wincodecsdk.idl Loading commit data...
wincon.h Loading commit data...
wincred.h Loading commit data...
wincrypt.h Loading commit data...
windef.h Loading commit data...
windns.h Loading commit data...
windows.foundation.idl Loading commit data...
windows.h Loading commit data...
windowsx.h Loading commit data...
winerror.h Loading commit data...
winevt.h Loading commit data...
wingdi.h Loading commit data...
winhttp.h Loading commit data...
wininet.h Loading commit data...
winineti.h Loading commit data...
winioctl.h Loading commit data...
winldap.h Loading commit data...
winnetwk.h Loading commit data...
winnls.h Loading commit data...
winnls32.h Loading commit data...
winnt.h Loading commit data...
winnt.rh Loading commit data...
winperf.h Loading commit data...
winreg.h Loading commit data...
winresrc.h Loading commit data...
winsafer.h Loading commit data...
winscard.h Loading commit data...
winsmcrd.h Loading commit data...
winsnmp.h Loading commit data...
winsock.h Loading commit data...
winsock2.h Loading commit data...
winspool.h Loading commit data...
winstring.h Loading commit data...
winsvc.h Loading commit data...
winsxs.idl Loading commit data...
wintab.h Loading commit data...
wintabx.h Loading commit data...
winternl.h Loading commit data...
wintrust.h Loading commit data...
winuser.h Loading commit data...
winuser.rh Loading commit data...
winver.h Loading commit data...
wlanapi.h Loading commit data...
wmistr.h Loading commit data...
wmium.h Loading commit data...
wmiutils.idl Loading commit data...
wmp.idl Loading commit data...
wmsbuffer.idl Loading commit data...
wmsdkidl.idl Loading commit data...
wnaspi32.h Loading commit data...
wownt32.h Loading commit data...
wpcapi.idl Loading commit data...
ws2def.h Loading commit data...
ws2ipdef.h Loading commit data...
ws2spi.h Loading commit data...
ws2tcpip.h Loading commit data...
wshisotp.h Loading commit data...
wsipx.h Loading commit data...
wsnwlink.h Loading commit data...
wtsapi32.h Loading commit data...
wtypes.idl Loading commit data...
wuapi.idl Loading commit data...
x3daudio.h Loading commit data...
xapo.idl Loading commit data...
xapofx.h Loading commit data...
xaudio2.idl Loading commit data...
xaudio2fx.idl Loading commit data...
xcmc.h Loading commit data...
xinput.h Loading commit data...
xmldom.h Loading commit data...
xmldom.idl Loading commit data...
xmldomdid.h Loading commit data...
xmldso.idl Loading commit data...
xmldsodid.h Loading commit data...
xmllite.idl Loading commit data...
zmouse.h Loading commit data...