- Forward GetCurrentProcessorNumber to RtlGetCurrentProcessorNumber

- Add InterlockedCompareExchange64 and forward it to RtlInterlockedCompareExchange64

svn path=/trunk/; revision=36167
This commit is contained in:
Stefan Ginsberg 2008-09-12 15:19:52 +00:00
parent 420195308d
commit a030377485
2 changed files with 2 additions and 11 deletions

View file

@ -368,7 +368,7 @@ GetCurrentDirectoryA@8
GetCurrentDirectoryW@8 GetCurrentDirectoryW@8
GetCurrentProcess@0 GetCurrentProcess@0
GetCurrentProcessId@0 GetCurrentProcessId@0
GetCurrentProcessorNumber@0 GetCurrentProcessorNumber@0=NTDLL.RtlGetCurrentProcessorNumber@0
GetCurrentThread@0 GetCurrentThread@0
GetCurrentThreadId@0 GetCurrentThreadId@0
GetDateFormatA@24 GetDateFormatA@24
@ -603,6 +603,7 @@ InitializeCriticalSectionAndSpinCount@8
InitializeSListHead@4=NTDLL.RtlInitializeSListHead InitializeSListHead@4=NTDLL.RtlInitializeSListHead
InitializeSRWLock@4=NTDLL.RtlInitializeSRWLock InitializeSRWLock@4=NTDLL.RtlInitializeSRWLock
InterlockedCompareExchange@12 InterlockedCompareExchange@12
InterlockedCompareExchange64@20=NTDLL.RtlInterlockedCompareExchange64@20
InterlockedDecrement@4 InterlockedDecrement@4
InterlockedExchange@8 InterlockedExchange@8
InterlockedExchangeAdd@8 InterlockedExchangeAdd@8

View file

@ -232,13 +232,3 @@ GetNativeSystemInfo(
// GetNativeSystemInfo should return PROCESSOR_ARCHITECTURE_AMD64 // GetNativeSystemInfo should return PROCESSOR_ARCHITECTURE_AMD64
GetSystemInfo(lpSystemInfo); GetSystemInfo(lpSystemInfo);
} }
DWORD
WINAPI
GetCurrentProcessorNumber(VOID)
{
/* Forward to kernel */
return NtGetCurrentProcessorNumber();
}
/* EOF */