diff --git a/reactos/dll/ntdll/def/ntdll_amd64.def b/reactos/dll/ntdll/def/ntdll_amd64.def index 6d1c9cb0639..95c49012282 100644 --- a/reactos/dll/ntdll/def/ntdll_amd64.def +++ b/reactos/dll/ntdll/def/ntdll_amd64.def @@ -39,9 +39,6 @@ KiRaiseUserExceptionDispatcher KiUserApcDispatcher KiUserCallbackDispatcher KiUserExceptionDispatcher -KiIntSystemCall -KiFastSystemCallRet -KiFastSystemCall LdrAccessResource LdrAddRefDll LdrDisableThreadCalloutsForDll @@ -475,7 +472,7 @@ RtlFreeSid RtlFreeUnicodeString RtlFreeUserThreadStack RtlGUIDFromString -RtlGeneratedotName +RtlGenerate8dot3Name RtlGetAce ;RtlGetCallersAddress RtlGetCompressionWorkSpaceSize @@ -488,7 +485,7 @@ RtlGetFirstRange RtlGetFullPathName_U RtlGetGroupSecurityDescriptor RtlGetLastNtStatus -RtlGetLastWinError +RtlGetLastWin32Error RtlGetLongestNtPathLength RtlGetNextRange RtlGetNtGlobalFlags @@ -519,7 +516,7 @@ RtlInitializeBitMap RtlInitializeConditionVariable RtlInitializeContext RtlInitializeCriticalSection -RtlInitializeCriticalSectionEx +;RtlInitializeCriticalSectionEx RtlInitializeCriticalSectionAndSpinCount RtlInitializeGenericTable RtlInitializeGenericTableAvl @@ -533,26 +530,26 @@ RtlInsertElementGenericTable RtlInsertElementGenericTableAvl RtlInsertElementGenericTableFull RtlInsertElementGenericTableFullAvl -RtlIntToUnicodeString +RtlInt64ToUnicodeString RtlIntegerToChar RtlIntegerToUnicodeString RtlInvertRangeList -RtlIpvAddressToStringA -RtlIpvAddressToStringExA -RtlIpvAddressToStringExW -RtlIpvAddressToStringW -RtlIpvStringToAddressA -RtlIpvStringToAddressExA -RtlIpvStringToAddressExW -RtlIpvStringToAddressW -RtlIpvAddressToStringA -RtlIpvAddressToStringExA -RtlIpvAddressToStringExW -RtlIpvAddressToStringW -RtlIpvStringToAddressA -RtlIpvStringToAddressExA -RtlIpvStringToAddressExW -RtlIpvStringToAddressW +RtlIpv4AddressToStringA +RtlIpv4AddressToStringExA +RtlIpv4AddressToStringExW +RtlIpv4AddressToStringW +RtlIpv4StringToAddressA +RtlIpv4StringToAddressExA +RtlIpv4StringToAddressExW +RtlIpv4StringToAddressW +RtlIpv6AddressToStringA +RtlIpv6AddressToStringExA +RtlIpv6AddressToStringExW +RtlIpv6AddressToStringW +RtlIpv6StringToAddressA +RtlIpv6StringToAddressExA +RtlIpv6StringToAddressExW +RtlIpv6StringToAddressW RtlIsDosDeviceName_U RtlIsGenericTableEmpty RtlIsGenericTableEmptyAvl @@ -635,11 +632,11 @@ RtlReleaseSRWLockShared ;RtlRemoteCall RtlRemoveVectoredExceptionHandler RtlResetRtlTranslations -RtlRestoreLastWinError=RtlSetLastWinError +RtlRestoreLastWin32Error=RtlSetLastWin32Error RtlRunDecodeUnicodeString RtlRunEncodeUnicodeString -RtlSecondsSinceToTime -RtlSecondsSinceToTime +RtlSecondsSince1970ToTime +RtlSecondsSince1980ToTime RtlSelfRelativeToAbsoluteSD RtlSelfRelativeToAbsoluteSD2 RtlSetAllBits @@ -653,8 +650,8 @@ RtlSetDaclSecurityDescriptor RtlSetEnvironmentVariable RtlSetGroupSecurityDescriptor RtlSetInformationAcl -RtlSetLastWinError -RtlSetLastWinErrorAndNtStatusFromNtStatus +RtlSetLastWin32Error +RtlSetLastWin32ErrorAndNtStatusFromNtStatus RtlSetOwnerSecurityDescriptor RtlSetProcessIsCritical RtlSetSaclSecurityDescriptor @@ -970,19 +967,9 @@ __isascii __iscsym __iscsymf __toascii -_alldiv -_allmul -_alloca_probe -_allrem -_allshl -_allshr _atoi64 -_aulldiv -_aullrem -_aullshr _chkstk _fltused -_ftol _itoa _itow _i64toa diff --git a/reactos/dll/ntdll/dispatch/amd64/stubs.c b/reactos/dll/ntdll/dispatch/amd64/stubs.c new file mode 100644 index 00000000000..fe7b4a78656 --- /dev/null +++ b/reactos/dll/ntdll/dispatch/amd64/stubs.c @@ -0,0 +1,43 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS NT Library + * FILE: dll/ntdll/dispatch/amd64/stubs.c + * PURPOSE: AMD64 stubs + * PROGRAMMERS: Stefan Ginsberg (stefan.ginsberg@reactos.org) + */ + +/* INCLUDES *****************************************************************/ + +#include +#define NDEBUG +#include + +/* PUBLIC FUNCTIONS **********************************************************/ + +/* + * @unimplemented + */ +VOID +NTAPI +LdrInitializeThunk(ULONG Unknown1, // FIXME: Parameters! + ULONG Unknown2, + ULONG Unknown3, + ULONG Unknown4) +{ + UNIMPLEMENTED; + return; +} + +/* + * @unimplemented + */ +VOID +NTAPI +KiUserApcDispatcher(IN PVOID NormalRoutine, + IN PVOID NormalContext, + IN PVOID SystemArgument1, + IN PVOID SystemArgument2) +{ + UNIMPLEMENTED; + return; +} diff --git a/reactos/dll/ntdll/ntdll.rbuild b/reactos/dll/ntdll/ntdll.rbuild index d45a85793e7..30ae9246255 100644 --- a/reactos/dll/ntdll/ntdll.rbuild +++ b/reactos/dll/ntdll/ntdll.rbuild @@ -31,6 +31,11 @@ dispatch.S + + + stubs.c + + stubs_asm.s diff --git a/reactos/lib/rtl/amd64/stubs.c b/reactos/lib/rtl/amd64/stubs.c new file mode 100644 index 00000000000..e5ed5f15185 --- /dev/null +++ b/reactos/lib/rtl/amd64/stubs.c @@ -0,0 +1,77 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS Run-Time Library + * PURPOSE: AMD64 stubs + * FILE: lib/rtl/amd64/stubs.c + * PROGRAMMERS: Stefan Ginsberg (stefan.ginsberg@reactos.org) + */ + +/* INCLUDES *****************************************************************/ + +#include +#define NDEBUG +#include + +/* PUBLIC FUNCTIONS **********************************************************/ + +/* + * @unimplemented + */ +PVOID +NTAPI +RtlLookupFunctionEntry(IN ULONGLONG ControlPC, + OUT PULONGLONG ImageBase, + OUT PULONGLONG TargetGp) +{ + UNIMPLEMENTED; + return NULL; +} + +/* + * @unimplemented + */ +VOID +NTAPI +RtlInitializeContext(IN HANDLE ProcessHandle, + OUT PCONTEXT ThreadContext, + IN PVOID ThreadStartParam OPTIONAL, + IN PTHREAD_START_ROUTINE ThreadStartAddress, + IN PINITIAL_TEB InitialTeb) +{ + UNIMPLEMENTED; + return; +} + +/* + * @unimplemented + */ +VOID +NTAPI +RtlCaptureContext(OUT PCONTEXT ContextRecord) +{ + UNIMPLEMENTED; + return; +} + +/* + * @unimplemented + */ +PVOID +NTAPI +RtlpGetExceptionAddress(VOID) +{ + UNIMPLEMENTED; + return NULL; +} + +/* + * @unimplemented + */ +BOOLEAN +NTAPI +RtlDispatchException(IN PEXCEPTION_RECORD ExceptionRecord, + IN PCONTEXT Context) +{ + UNIMPLEMENTED; + return FALSE; +} diff --git a/reactos/lib/rtl/rtl.rbuild b/reactos/lib/rtl/rtl.rbuild index e5f9796b3e3..a39fd2eefb2 100644 --- a/reactos/lib/rtl/rtl.rbuild +++ b/reactos/lib/rtl/rtl.rbuild @@ -39,7 +39,10 @@ debug_asm.S + stubs.c + mem.c + memgen.c avl.c