mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed Exfi386InterlockedExchangeUlong and InterlockedExchange.
svn path=/trunk/; revision=3880
This commit is contained in:
parent
3aa9d2d9ba
commit
5b1b2a4860
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: interlck.c,v 1.4 2002/09/08 10:23:20 chorns Exp $
|
||||
/* $Id: interlck.c,v 1.5 2002/12/16 22:56:30 hbirr Exp $
|
||||
*
|
||||
* reactos/ntoskrnl/ex/i386/interlck.c
|
||||
*
|
||||
|
@ -34,8 +34,8 @@ Exfi386InterlockedExchangeUlong(IN PULONG Target,
|
|||
|
||||
__asm__("\n\t.global @Exfi386InterlockedExchangeUlong@8\n\t"
|
||||
"@Exfi386InterlockedExchangeUlong@8:\n\t"
|
||||
"movl (%ecx),%eax\n"
|
||||
"xchgl %edx,(%ecx)\n\t"
|
||||
"movl %edx,%eax\n\t"
|
||||
"ret\n\t");
|
||||
|
||||
|
||||
|
@ -124,8 +124,8 @@ InterlockedExchange(PLONG Target,
|
|||
|
||||
__asm__("\n\t.global @InterlockedExchange@8\n\t"
|
||||
"@InterlockedExchange@8:\n\t"
|
||||
"movl (%ecx),%eax\n"
|
||||
"xchgl %edx,(%ecx)\n\t"
|
||||
"movl %edx,%eax\n\t"
|
||||
"ret\n\t");
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue