* lib/kernel32.c (GetCurrentFiber): Remove blank input field in
asm code. (GetFiberData): Likewise.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user