ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46143 Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d9c7d4147b
commit
ebc80ad1c4
|
@ -1,9 +1,9 @@
|
||||||
@ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
|
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
|
||||||
@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
|
@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
|
||||||
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
|
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
|
||||||
@ stdcall RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory
|
@ stdcall RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory
|
||||||
@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr long) ntdll.RtlCopyMemory
|
@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr long) ntdll.RtlCopyMemory
|
||||||
@ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
|
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
|
||||||
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
|
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
|
||||||
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr) ntdll.RtlInstallFunctionTableCallback
|
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr) ntdll.RtlInstallFunctionTableCallback
|
||||||
@ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
|
@ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
|
||||||
|
|
|
@ -1284,12 +1284,12 @@
|
||||||
@ stdcall ResolveLocaleName(wstr ptr long)
|
@ stdcall ResolveLocaleName(wstr ptr long)
|
||||||
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
|
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
|
||||||
@ stdcall ResumeThread(long)
|
@ stdcall ResumeThread(long)
|
||||||
@ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
|
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
|
||||||
@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
|
@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
|
||||||
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
|
@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
|
||||||
@ stdcall -arch=x86_64 RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory
|
@ stdcall -arch=x86_64 RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory
|
||||||
@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr long) ntdll.RtlCopyMemory
|
@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr long) ntdll.RtlCopyMemory
|
||||||
@ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
|
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
|
||||||
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
|
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
|
||||||
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr ptr) ntdll.RtlInstallFunctionTableCallback
|
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr ptr) ntdll.RtlInstallFunctionTableCallback
|
||||||
@ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
|
@ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
|
||||||
|
|
|
@ -433,7 +433,7 @@
|
||||||
# @ stub RtlAddCompoundAce
|
# @ stub RtlAddCompoundAce
|
||||||
@ stdcall RtlAddMandatoryAce(ptr long long long long ptr)
|
@ stdcall RtlAddMandatoryAce(ptr long long long long ptr)
|
||||||
# @ stub RtlAddRange
|
# @ stub RtlAddRange
|
||||||
@ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long)
|
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long)
|
||||||
@ stdcall RtlAddRefActivationContext(ptr)
|
@ stdcall RtlAddRefActivationContext(ptr)
|
||||||
# @ stub RtlAddRefMemoryStream
|
# @ stub RtlAddRefMemoryStream
|
||||||
@ stdcall RtlAddVectoredContinueHandler(long ptr)
|
@ stdcall RtlAddVectoredContinueHandler(long ptr)
|
||||||
|
@ -543,7 +543,7 @@
|
||||||
@ stdcall RtlDeleteCriticalSection(ptr)
|
@ stdcall RtlDeleteCriticalSection(ptr)
|
||||||
@ stub RtlDeleteElementGenericTable
|
@ stub RtlDeleteElementGenericTable
|
||||||
@ stub RtlDeleteElementGenericTableAvl
|
@ stub RtlDeleteElementGenericTableAvl
|
||||||
@ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr)
|
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr)
|
||||||
@ stub RtlDeleteNoSplay
|
@ stub RtlDeleteNoSplay
|
||||||
@ stub RtlDeleteOwnersRanges
|
@ stub RtlDeleteOwnersRanges
|
||||||
@ stub RtlDeleteRange
|
@ stub RtlDeleteRange
|
||||||
|
|
|
@ -947,6 +947,25 @@ void signal_init_process(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* RtlAddFunctionTable (NTDLL.@)
|
||||||
|
*/
|
||||||
|
BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, ULONG_PTR addr )
|
||||||
|
{
|
||||||
|
FIXME( "%p %u %lx: stub\n", table, count, addr );
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* RtlDeleteFunctionTable (NTDLL.@)
|
||||||
|
*/
|
||||||
|
BOOLEAN CDECL RtlDeleteFunctionTable( RUNTIME_FUNCTION *table )
|
||||||
|
{
|
||||||
|
FIXME( "%p: stub\n", table );
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* RtlUnwind (NTDLL.@)
|
* RtlUnwind (NTDLL.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1875,6 +1875,9 @@ typedef struct _CONTEXT
|
||||||
DWORD64 Wvr[ARM64_MAX_WATCHPOINTS]; /* 380 */
|
DWORD64 Wvr[ARM64_MAX_WATCHPOINTS]; /* 380 */
|
||||||
} CONTEXT;
|
} CONTEXT;
|
||||||
|
|
||||||
|
BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,ULONG_PTR);
|
||||||
|
BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*);
|
||||||
|
|
||||||
#endif /* __aarch64__ */
|
#endif /* __aarch64__ */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue