ntoskrnl.exe: Properly export *SList functions on win64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45820 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d99f91c5c6
commit
2401d86f68
|
@ -1976,63 +1976,6 @@ LONG WINAPI NTOSKRNL_InterlockedIncrement( LONG volatile *dest )
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* InterlockedPopEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
|
||||
DEFINE_FASTCALL1_ENTRYPOINT( NTOSKRNL_InterlockedPopEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
|
||||
#endif
|
||||
{
|
||||
return InterlockedPopEntrySList( list );
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* ExInterlockedPopEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
||||
DEFINE_FASTCALL2_ENTRYPOINT( NTOSKRNL_ExInterlockedPopEntrySList )
|
||||
PSLIST_ENTRY WINAPI __regs_NTOSKRNL_ExInterlockedPopEntrySList( PSLIST_HEADER list, PKSPIN_LOCK lock )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_ExInterlockedPopEntrySList( PSLIST_HEADER list, PKSPIN_LOCK lock )
|
||||
#endif
|
||||
{
|
||||
return InterlockedPopEntrySList( list );
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* InterlockedPushEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
||||
DEFINE_FASTCALL2_ENTRYPOINT( NTOSKRNL_InterlockedPushEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_InterlockedPushEntrySList( PSLIST_HEADER list,
|
||||
PSLIST_ENTRY entry )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPushEntrySList( PSLIST_HEADER list, PSLIST_ENTRY entry )
|
||||
#endif
|
||||
{
|
||||
return InterlockedPushEntrySList( list, entry );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExInterlockedPushEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL3_ENTRYPOINT
|
||||
DEFINE_FASTCALL3_ENTRYPOINT( NTOSKRNL_ExInterlockedPushEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_ExInterlockedPushEntrySList( PSLIST_HEADER list,
|
||||
PSLIST_ENTRY entry,
|
||||
PKSPIN_LOCK lock )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_ExInterlockedPushEntrySList( PSLIST_HEADER list, PSLIST_ENTRY entry, PKSPIN_LOCK lock )
|
||||
#endif
|
||||
{
|
||||
return InterlockedPushEntrySList( list, entry );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExAllocatePool (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
@ stub ExInterlockedAddLargeStatistic
|
||||
@ stub ExInterlockedCompareExchange64
|
||||
@ stub ExInterlockedFlushSList
|
||||
@ stdcall -norelay ExInterlockedPopEntrySList(ptr ptr) NTOSKRNL_ExInterlockedPopEntrySList
|
||||
@ stdcall -norelay ExInterlockedPushEntrySList (ptr ptr ptr) NTOSKRNL_ExInterlockedPushEntrySList
|
||||
@ stdcall -arch=i386 -norelay ExInterlockedPopEntrySList(ptr ptr) NTOSKRNL_ExInterlockedPopEntrySList
|
||||
@ stdcall -arch=i386 -norelay ExInterlockedPushEntrySList (ptr ptr ptr) NTOSKRNL_ExInterlockedPushEntrySList
|
||||
@ stub ExReInitializeRundownProtection
|
||||
@ stdcall -norelay ExReleaseFastMutexUnsafe(ptr)
|
||||
@ stdcall ExReleaseResourceLite(ptr)
|
||||
|
@ -27,14 +27,17 @@
|
|||
@ stub Exfi386InterlockedDecrementLong
|
||||
@ stub Exfi386InterlockedExchangeUlong
|
||||
@ stub Exfi386InterlockedIncrementLong
|
||||
@ stdcall -arch=win64 ExpInterlockedPopEntrySList(ptr) RtlInterlockedPopEntrySList
|
||||
@ stdcall -arch=win64 ExpInterlockedPushEntrySList(ptr ptr) RtlInterlockedPushEntrySList
|
||||
@ stub HalExamineMBR
|
||||
@ stdcall -norelay InterlockedCompareExchange(ptr long long) NTOSKRNL_InterlockedCompareExchange
|
||||
@ stdcall -norelay InterlockedDecrement(ptr) NTOSKRNL_InterlockedDecrement
|
||||
@ stdcall -norelay InterlockedExchange(ptr long) NTOSKRNL_InterlockedExchange
|
||||
@ stdcall -norelay InterlockedExchangeAdd(ptr long) NTOSKRNL_InterlockedExchangeAdd
|
||||
@ stdcall -norelay InterlockedIncrement(ptr) NTOSKRNL_InterlockedIncrement
|
||||
@ stdcall -norelay InterlockedPopEntrySList(ptr) NTOSKRNL_InterlockedPopEntrySList
|
||||
@ stdcall -norelay InterlockedPushEntrySList(ptr ptr) NTOSKRNL_InterlockedPushEntrySList
|
||||
@ stdcall -arch=win32 -norelay InterlockedPopEntrySList(ptr) NTOSKRNL_InterlockedPopEntrySList
|
||||
@ stdcall -arch=win32 -norelay InterlockedPushEntrySList(ptr ptr) NTOSKRNL_InterlockedPushEntrySList
|
||||
@ stdcall -arch=win64 ExQueryDepthSList(ptr) RtlQueryDepthSList
|
||||
@ stub IoAssignDriveLetters
|
||||
@ stub IoReadPartitionTable
|
||||
@ stub IoSetPartitionInformation
|
||||
|
|
|
@ -563,6 +563,69 @@ LIST_ENTRY * WINAPI ExInterlockedRemoveHeadList( LIST_ENTRY *list, KSPIN_LOCK *l
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifndef _WIN64
|
||||
|
||||
/***********************************************************************
|
||||
* InterlockedPopEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
|
||||
DEFINE_FASTCALL1_ENTRYPOINT( NTOSKRNL_InterlockedPopEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
|
||||
#endif
|
||||
{
|
||||
return RtlInterlockedPopEntrySList( list );
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* InterlockedPushEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
||||
DEFINE_FASTCALL2_ENTRYPOINT( NTOSKRNL_InterlockedPushEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_InterlockedPushEntrySList( PSLIST_HEADER list,
|
||||
PSLIST_ENTRY entry )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPushEntrySList( PSLIST_HEADER list, PSLIST_ENTRY entry )
|
||||
#endif
|
||||
{
|
||||
return RtlInterlockedPushEntrySList( list, entry );
|
||||
}
|
||||
|
||||
#ifdef __i386__
|
||||
|
||||
/***********************************************************************
|
||||
* ExInterlockedPopEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
||||
DEFINE_FASTCALL2_ENTRYPOINT( NTOSKRNL_ExInterlockedPopEntrySList )
|
||||
PSLIST_ENTRY WINAPI __regs_NTOSKRNL_ExInterlockedPopEntrySList( PSLIST_HEADER list, PKSPIN_LOCK lock )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_ExInterlockedPopEntrySList( PSLIST_HEADER list, PKSPIN_LOCK lock )
|
||||
#endif
|
||||
{
|
||||
return RtlInterlockedPopEntrySList( list );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExInterlockedPushEntrySList (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
#ifdef DEFINE_FASTCALL3_ENTRYPOINT
|
||||
DEFINE_FASTCALL3_ENTRYPOINT( NTOSKRNL_ExInterlockedPushEntrySList )
|
||||
PSLIST_ENTRY WINAPI DECLSPEC_HIDDEN __regs_NTOSKRNL_ExInterlockedPushEntrySList( PSLIST_HEADER list,
|
||||
PSLIST_ENTRY entry,
|
||||
PKSPIN_LOCK lock )
|
||||
#else
|
||||
PSLIST_ENTRY WINAPI NTOSKRNL_ExInterlockedPushEntrySList( PSLIST_HEADER list, PSLIST_ENTRY entry, PKSPIN_LOCK lock )
|
||||
#endif
|
||||
{
|
||||
return RtlInterlockedPushEntrySList( list, entry );
|
||||
}
|
||||
|
||||
#endif /* __i386__ */
|
||||
#endif /* _WIN64 */
|
||||
|
||||
/***********************************************************************
|
||||
* ExAcquireFastMutexUnsafe (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue