Author: sginsberg
Date: Sat Aug 16 13:06:12 2008
New Revision: 35397
URL:
http://svn.reactos.org/svn/reactos?rev=35397&view=rev
Log:
- Remove deprecated ExfpInterlockedExchange64
Modified:
trunk/reactos/ntoskrnl/ex/i386/interlck_asm.S
trunk/reactos/ntoskrnl/include/internal/ex.h
Modified: trunk/reactos/ntoskrnl/ex/i386/interlck_asm.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/i386/interlck_…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/i386/interlck_asm.S [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/i386/interlck_asm.S [iso-8859-1] Sat Aug 16 13:06:12 2008
@@ -556,24 +556,5 @@
/* Return */
ret 8
-
-/* Ugly hack: Use InterlockedExchange64 */
-.att_syntax
-.global @ExfpInterlockedExchange64@8
-@ExfpInterlockedExchange64@8:
- pushl %ebx
- pushl %esi
- movl %ecx,%esi
- movl (%edx),%ebx
- movl 4(%edx),%ecx
-1:
- movl (%esi),%eax
- movl 4(%esi),%edx
- LOCK
- cmpxchg8b (%esi)
- jnz 1b
- popl %esi
- popl %ebx
- ret
/* EOF */
Modified: trunk/reactos/ntoskrnl/include/internal/ex.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] Sat Aug 16 13:06:12 2008
@@ -1007,13 +1007,6 @@
IN PERESOURCE Resource
);
-LONGLONG
-FASTCALL
-ExfpInterlockedExchange64(
- LONGLONG volatile * Destination,
- PLONGLONG Exchange
-);
-
NTSTATUS
ExpSetTimeZoneInformation(PTIME_ZONE_INFORMATION TimeZoneInformation);
@@ -1068,7 +1061,4 @@
#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 */