ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM.

This commit is contained in:
André Hentschel 2013-03-23 17:20:28 +01:00 committed by Alexandre Julliard
parent 18c95cf165
commit df7f4fb720
4 changed files with 27 additions and 4 deletions

View File

@ -1028,11 +1028,11 @@
@ stdcall ResetWriteWatch(ptr long) @ stdcall ResetWriteWatch(ptr long)
@ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error @ stdcall RestoreLastError(long) ntdll.RtlRestoreLastWin32Error
@ stdcall ResumeThread(long) @ stdcall ResumeThread(long)
@ cdecl -arch=x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable @ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long) ntdll.RtlAddFunctionTable
@ stdcall -register RtlCaptureContext(ptr) ntdll.RtlCaptureContext @ stdcall -register 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
@ cdecl -arch=x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable @ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory @ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
@ stdcall -arch=x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry @ stdcall -arch=x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory @ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory

View File

@ -409,7 +409,7 @@
# @ stub RtlAddAuditAccessObjectAce # @ stub RtlAddAuditAccessObjectAce
# @ stub RtlAddCompoundAce # @ stub RtlAddCompoundAce
# @ stub RtlAddRange # @ stub RtlAddRange
@ cdecl -arch=x86_64 RtlAddFunctionTable(ptr long long) @ cdecl -arch=arm,x86_64 RtlAddFunctionTable(ptr long long)
@ stdcall RtlAddRefActivationContext(ptr) @ stdcall RtlAddRefActivationContext(ptr)
# @ stub RtlAddRefMemoryStream # @ stub RtlAddRefMemoryStream
@ stdcall RtlAddVectoredExceptionHandler(long ptr) @ stdcall RtlAddVectoredExceptionHandler(long ptr)
@ -515,7 +515,7 @@
@ stdcall RtlDeleteCriticalSection(ptr) @ stdcall RtlDeleteCriticalSection(ptr)
@ stub RtlDeleteElementGenericTable @ stub RtlDeleteElementGenericTable
@ stub RtlDeleteElementGenericTableAvl @ stub RtlDeleteElementGenericTableAvl
@ cdecl -arch=x86_64 RtlDeleteFunctionTable(ptr) @ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr)
@ stub RtlDeleteNoSplay @ stub RtlDeleteNoSplay
@ stub RtlDeleteOwnersRanges @ stub RtlDeleteOwnersRanges
@ stub RtlDeleteRange @ stub RtlDeleteRange

View File

@ -913,6 +913,26 @@ void __wine_enter_vm86( CONTEXT *context )
MESSAGE("vm86 mode not supported on this platform\n"); MESSAGE("vm86 mode not supported on this platform\n");
} }
/**********************************************************************
* RtlAddFunctionTable (NTDLL.@)
*/
BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, DWORD addr )
{
FIXME( "%p %u %x: 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.@)
*/ */

View File

@ -1708,6 +1708,9 @@ typedef struct _CONTEXT {
ULONG Cpsr; ULONG Cpsr;
} CONTEXT; } CONTEXT;
BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,DWORD);
BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*);
#endif /* __arm__ */ #endif /* __arm__ */
#ifdef __aarch64__ #ifdef __aarch64__