C to C++ migration and refactoring #17

Merged
harraiken merged 67 commits from cxxtest into master 2025-09-24 20:18:35 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2f25107d09 - Show all commits

View File

@@ -27,7 +27,7 @@ VOID
RTL::Dispatcher::GetStackLimits(OUT PULONG_PTR StackBase,
OUT PULONG_PTR StackLimit)
{
PKTHREAD Thread = KeGetCurrentThread();
PKTHREAD Thread = KE::Processor::GetCurrentThread();
*StackBase = (ULONG_PTR)Thread->StackBase;
*StackLimit = (ULONG_PTR)Thread->StackLimit;
}

View File

@@ -27,7 +27,7 @@ VOID
RTL::Dispatcher::GetStackLimits(OUT PULONG_PTR StackBase,
OUT PULONG_PTR StackLimit)
{
PKTHREAD Thread = KeGetCurrentThread();
PKTHREAD Thread = KE::Processor::GetCurrentThread();
*StackBase = (ULONG_PTR)Thread->StackBase - sizeof(FX_SAVE_AREA);
*StackLimit = (ULONG_PTR)Thread->StackLimit;
}