2004-01-01 Filip Navara <xnavara@volny.cz>
* include/winnt.h (NtCurrentTeb): Add inline definition.
This commit is contained in:
parent
855c33f8b7
commit
8e2d432524
|
@ -1,6 +1,10 @@
|
||||||
|
2004-01-01 Filip Navara <xnavara@volny.cz>
|
||||||
|
|
||||||
|
* include/winnt.h (NtCurrentTeb): Add inline definition.
|
||||||
|
|
||||||
2004-01-01 Martin Fuchs <martin-fuchs@gmx.net>
|
2004-01-01 Martin Fuchs <martin-fuchs@gmx.net>
|
||||||
|
|
||||||
* include/shlobj.h (SHCoCreateInstance): Add prototype..
|
* include/shlobj.h (SHCoCreateInstance): Add prototype.
|
||||||
* lib/shell32.def (SHCoCreateInstance): Add export stub.
|
* lib/shell32.def (SHCoCreateInstance): Add export stub.
|
||||||
|
|
||||||
2004-01-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
2004-01-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
||||||
|
|
|
@ -3303,6 +3303,19 @@ extern __inline__ PVOID GetFiberData(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||||
|
{
|
||||||
|
struct _TEB *ret;
|
||||||
|
|
||||||
|
__asm__ __volatile__ (
|
||||||
|
"movl %%fs:0x18, %0\n"
|
||||||
|
: "=r" (ret)
|
||||||
|
: /* no inputs */
|
||||||
|
);
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
extern PVOID GetCurrentFiber(void);
|
extern PVOID GetCurrentFiber(void);
|
||||||
|
|
Loading…
Reference in New Issue