* include/winnt.h (GetCurrentFiber): Remove blank input field
in asm code. (GetFiberData): Likewise.
This commit is contained in:
parent
6283f02c25
commit
c7ceb003b2
|
@ -1,3 +1,9 @@
|
|||
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/winnt.h (GetCurrentFiber): Remove blank input field in
|
||||
asm code.
|
||||
(GetFiberData): Likewise.
|
||||
|
||||
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/winerror.h (ERROR_DIFFERENT_SERVICE_ACCOUNT,
|
||||
|
|
|
@ -2672,10 +2672,9 @@ extern __inline__ PVOID GetCurrentFiber(void)
|
|||
{
|
||||
void* ret;
|
||||
__asm__ volatile (
|
||||
"movl %%fs:0x10,%0"
|
||||
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
|
||||
:
|
||||
);
|
||||
"movl %%fs:0x10,%0"
|
||||
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
|
||||
);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -2684,11 +2683,10 @@ extern __inline__ PVOID GetFiberData(void)
|
|||
{
|
||||
void* ret;
|
||||
__asm__ volatile (
|
||||
"movl %%fs:0x10,%0\n"
|
||||
"movl (%0),%0"
|
||||
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
|
||||
:
|
||||
);
|
||||
"movl %%fs:0x10,%0\n"
|
||||
"movl (%0),%0"
|
||||
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
|
||||
);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue