From 53116b86a372221a37d90907e2282ec6c3b746c0 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Mon, 29 Dec 2025 19:19:45 +0100 Subject: [PATCH] Improve formatting --- xtoskrnl/mm/kpool.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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));