Author: sginsberg Date: Fri Sep 12 10:19:52 2008 New Revision: 36167
URL: http://svn.reactos.org/svn/reactos?rev=36167&view=rev Log: - Forward GetCurrentProcessorNumber to RtlGetCurrentProcessorNumber - Add InterlockedCompareExchange64 and forward it to RtlInterlockedCompareExchange64
Modified: trunk/reactos/dll/win32/kernel32/kernel32.def trunk/reactos/dll/win32/kernel32/misc/sysinfo.c
Modified: trunk/reactos/dll/win32/kernel32/kernel32.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/kernel32... ============================================================================== --- trunk/reactos/dll/win32/kernel32/kernel32.def [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/kernel32.def [iso-8859-1] Fri Sep 12 10:19:52 2008 @@ -368,7 +368,7 @@ GetCurrentDirectoryW@8 GetCurrentProcess@0 GetCurrentProcessId@0 -GetCurrentProcessorNumber@0 +GetCurrentProcessorNumber@0=NTDLL.RtlGetCurrentProcessorNumber@0 GetCurrentThread@0 GetCurrentThreadId@0 GetDateFormatA@24 @@ -603,6 +603,7 @@ InitializeSListHead@4=NTDLL.RtlInitializeSListHead InitializeSRWLock@4=NTDLL.RtlInitializeSRWLock InterlockedCompareExchange@12 +InterlockedCompareExchange64@20=NTDLL.RtlInterlockedCompareExchange64@20 InterlockedDecrement@4 InterlockedExchange@8 InterlockedExchangeAdd@8
Modified: trunk/reactos/dll/win32/kernel32/misc/sysinfo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/sys... ============================================================================== --- trunk/reactos/dll/win32/kernel32/misc/sysinfo.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/misc/sysinfo.c [iso-8859-1] Fri Sep 12 10:19:52 2008 @@ -232,13 +232,3 @@ // GetNativeSystemInfo should return PROCESSOR_ARCHITECTURE_AMD64 GetSystemInfo(lpSystemInfo); } - -DWORD -WINAPI -GetCurrentProcessorNumber(VOID) -{ - /* Forward to kernel */ - return NtGetCurrentProcessorNumber(); -} - -/* EOF */