From 2e0e085acb53e8ea5ac663570f2e5ec34bd031ee Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Fri, 6 Feb 2026 20:52:59 +0100 Subject: [PATCH] Minor style fixes --- xtoskrnl/mm/amd64/pfn.cc | 4 ++-- xtoskrnl/mm/i686/pfn.cc | 4 ++-- xtoskrnl/mm/pfn.cc | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/xtoskrnl/mm/amd64/pfn.cc b/xtoskrnl/mm/amd64/pfn.cc index 4745580..91e8d1d 100644 --- a/xtoskrnl/mm/amd64/pfn.cc +++ b/xtoskrnl/mm/amd64/pfn.cc @@ -14,10 +14,10 @@ * Allocates and initializes page directory structures for a range of PDEs. * * @param StartingPde - * Supplies a pointer to the first PDE in the range to initialize + * Supplies a pointer to the first PDE in the range to initialize. * * @param EndingPde - * Supplies a pointer to the last PDE in the range to initialize + * Supplies a pointer to the last PDE in the range to initialize. * * @return This routine does not return any value. * diff --git a/xtoskrnl/mm/i686/pfn.cc b/xtoskrnl/mm/i686/pfn.cc index bda0642..08815d6 100644 --- a/xtoskrnl/mm/i686/pfn.cc +++ b/xtoskrnl/mm/i686/pfn.cc @@ -14,10 +14,10 @@ * Allocates and initializes page directory structures for a range of PDEs. * * @param StartingPde - * Supplies a pointer to the first PDE in the range to initialize + * Supplies a pointer to the first PDE in the range to initialize. * * @param EndingPde - * Supplies a pointer to the last PDE in the range to initialize + * Supplies a pointer to the last PDE in the range to initialize. * * @return This routine does not return any value. * diff --git a/xtoskrnl/mm/pfn.cc b/xtoskrnl/mm/pfn.cc index 80935db..dfbd536 100644 --- a/xtoskrnl/mm/pfn.cc +++ b/xtoskrnl/mm/pfn.cc @@ -684,7 +684,7 @@ MM::Pfn::LinkPage(IN PMMPFNLIST ListHead, PageFrame->u2.Blink = ListHead->Blink; } - /* Record the page’s current location */ + /* Record the page's current location */ PageFrame->u3.e1.PageLocation = ListName; /* Handle pages that contribute to the available page count */ @@ -943,16 +943,16 @@ MM::Pfn::LinkStandbyPage(IN PFN_NUMBER PageFrameIndex) } /** - * Processes a memory descriptor and initializes the corresponding PFN database entries + * Processes a memory descriptor and initializes the corresponding PFN database entries. * * @param BasePage - * The starting physical page number of the memory run + * The starting physical page number of the memory run. * * @param PageCount - * The number of pages in the memory run + * The number of pages in the memory run. * * @param MemoryType - * The type of memory as reported by the bootloader (e.g., free, ROM, in-use) + * The type of memory as reported by the bootloader (e.g., free, ROM, in-use). * * @return This routine does not return any value. *