* lib/kernel32.c (GetCurrentFiber): Remove blank input field in

asm code.
	(GetFiberData): Likewise.
This commit is contained in:
Danny Smith 2003-01-03 00:04:21 +00:00
parent c7ceb003b2
commit c467d1396f
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
* lib/kernel32.c (GetCurrentFiber): Remove blank input field in
asm code.
(GetFiberData): Likewise.
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (GetCurrentFiber): Remove blank input field in

View File

@ -6,10 +6,9 @@ void* 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;
}
@ -17,11 +16,10 @@ void* 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;
}