diff --git a/xtoskrnl/mm/kpool.cc b/xtoskrnl/mm/kpool.cc index c120231..e1cd326 100644 --- a/xtoskrnl/mm/kpool.cc +++ b/xtoskrnl/mm/kpool.cc @@ -4,6 +4,7 @@ * FILE: xtoskrnl/mm/kpool.cc * DESCRIPTION: Kernel pool memory management * DEVELOPERS: Rafal Kupiec + * Aiken Harris */ #include @@ -83,7 +84,8 @@ MM::KernelPool::AllocateKernelStack(OUT PVOID *Stack, } /* Zero the newly allocated stack memory, skipping the guard page */ - RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(MM::Paging::GetNextPte(StackPte)), MM_PAGE_SIZE * StackPages); + RTL::Memory::ZeroMemory(MM::Paging::GetPteVirtualAddress(MM::Paging::GetNextPte(StackPte)), + MM_PAGE_SIZE * StackPages); /* Return a pointer to the top of the new stack */ *Stack = MM::Paging::GetPteVirtualAddress(MM::Paging::AdvancePte(StackPte, StackPages + 1));