- Remove deprecated ExfpInterlockedExchange64
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 16 Aug 2008 18:06:12 +0000 (18:06 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 16 Aug 2008 18:06:12 +0000 (18:06 +0000)
svn path=/trunk/; revision=35397

reactos/ntoskrnl/ex/i386/interlck_asm.S
reactos/ntoskrnl/include/internal/ex.h

index 40c2c25..e6a8f3a 100644 (file)
@@ -556,24 +556,5 @@ _Exi386InterlockedExchangeUlong@12:
 \r
     /* Return */\r
     ret 8\r
-\r
-/* Ugly hack: Use InterlockedExchange64 */\r
-.att_syntax\r
-.global @ExfpInterlockedExchange64@8\r
-@ExfpInterlockedExchange64@8:\r
-       pushl %ebx\r
-       pushl %esi\r
-       movl %ecx,%esi\r
-       movl (%edx),%ebx\r
-       movl 4(%edx),%ecx\r
-1:\r
-       movl (%esi),%eax\r
-       movl 4(%esi),%edx\r
-       LOCK\r
-       cmpxchg8b (%esi)\r
-       jnz 1b\r
-       popl %esi\r
-       popl %ebx\r
-       ret\r
        \r
 /* EOF */\r
index 65df7d7..09cb4c9 100644 (file)
@@ -1007,13 +1007,6 @@ ExTryToAcquireResourceExclusiveLite(
     IN PERESOURCE Resource
 );
 
-LONGLONG
-FASTCALL
-ExfpInterlockedExchange64(
-    LONGLONG volatile * Destination,
-    PLONGLONG Exchange
-);
-
 NTSTATUS
 ExpSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation);
 
@@ -1068,7 +1061,4 @@ XIPInit(
 #define ExfInterlockedCompareExchange64UL(Destination, Exchange, Comperand) \
    (ULONGLONG)ExfInterlockedCompareExchange64((PLONGLONG)(Destination), (PLONGLONG)(Exchange), (PLONGLONG)(Comperand))
 
-#define ExfpInterlockedExchange64UL(Target, Value) \
-   (ULONGLONG)ExfpInterlockedExchange64((PLONGLONG)(Target), (PLONGLONG)(Value))
-
 #endif /* __NTOSKRNL_INCLUDE_INTERNAL_EXECUTIVE_H */