Update doxygen comments and formatting
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 37s
Builds / ExectOS (amd64, debug) (push) Successful in 39s
Builds / ExectOS (amd64, release) (push) Successful in 49s
Builds / ExectOS (i686, release) (push) Successful in 46s

This commit is contained in:
2026-05-20 20:52:52 +02:00
parent fe2e78f3c7
commit 72a03f641d
22 changed files with 72 additions and 56 deletions

View File

@@ -38,7 +38,7 @@
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID

View File

@@ -46,7 +46,7 @@ KE::BootInformation::GetFirmwareType(VOID)
* @param Parameter * @param Parameter
* Supplies a pointer to a variable that receives a pointer to the matching parameter, or NULLPTR if not found. * Supplies a pointer to a variable that receives a pointer to the matching parameter, or NULLPTR if not found.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -116,7 +116,7 @@ KE::BootInformation::GetKernelParameter(IN PCWSTR ParameterName,
* @param BufferSize * @param BufferSize
* Supplies the size of the value buffer, in wide characters. * Supplies the size of the value buffer, in wide characters.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -23,7 +23,7 @@
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -56,7 +56,7 @@ KE::Dpc::InitializeDpc(IN PKDPC Dpc,
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 5.2 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -86,7 +86,7 @@ KE::Dpc::InitializeThreadedDpc(IN PKDPC Dpc,
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 4.0 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -104,7 +104,7 @@ KE::Dpc::SetTargetProcessor(IN PKDPC Dpc,
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 5.2 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -121,7 +121,7 @@ KE::Dpc::SignalCallDone(IN PVOID SystemArgument)
* *
* @return This routine returns TRUE if just one processor is waiting on the barrier, FALSE if more. * @return This routine returns TRUE if just one processor is waiting on the barrier, FALSE if more.
* *
* @since NT 5.2 * @since XT 1.0
*/ */
XTAPI XTAPI
BOOLEAN BOOLEAN

View File

@@ -17,7 +17,7 @@
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -41,7 +41,7 @@ KE::Event::ClearEvent(IN PKEVENT Event)
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -71,7 +71,7 @@ KE::Event::InitializeEvent(OUT PKEVENT Event,
* *
* @return This routine returns the previous signal state of the event. * @return This routine returns the previous signal state of the event.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
LONG LONG

View File

@@ -9,6 +9,13 @@
#include <xtos.hh> #include <xtos.hh>
/**
* Retrieves a pointer to the system's initial executive process object.
*
* @return This routine returns a pointer to the initial executive process.
*
* @since XT 1.0
*/
XTAPI XTAPI
PEPROCESS PEPROCESS
KE::KProcess::GetInitialProcess(VOID) KE::KProcess::GetInitialProcess(VOID)
@@ -36,7 +43,7 @@ KE::KProcess::GetInitialProcess(VOID)
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID

View File

@@ -9,6 +9,13 @@
#include <xtos.hh> #include <xtos.hh>
/**
* Retrieves a pointer to the system's initial executive thread object.
*
* @return This routine returns a pointer to the initial executive thread.
*
* @since XT 1.0
*/
XTAPI XTAPI
PETHREAD PETHREAD
KE::KThread::GetInitialThread(VOID) KE::KThread::GetInitialThread(VOID)
@@ -43,9 +50,9 @@ KE::KThread::GetInitialThread(VOID)
* @param Stack * @param Stack
* Supplies a pointer to the stack of the thread. * Supplies a pointer to the stack of the thread.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
XTSTATUS XTSTATUS
@@ -189,7 +196,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 5.1 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID

View File

@@ -23,7 +23,7 @@
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -75,7 +75,7 @@ KE::Semaphore::ReadState(IN PKSEMAPHORE Semaphore)
* *
* @return This routine returns a previous signal state of the semaphore. * @return This routine returns a previous signal state of the semaphore.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
LONG LONG

View File

@@ -137,7 +137,7 @@ KE::SpinLock::InitializeLockQueues()
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID

View File

@@ -18,7 +18,7 @@
* @param ResourceHeader * @param ResourceHeader
* Specifies a memory area where a pointer to the system resource header will be stored. * Specifies a memory area where a pointer to the system resource header will be stored.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -131,7 +131,7 @@ KE::SystemResources::GetSystemResource(IN SYSTEM_RESOURCE_TYPE ResourceType,
* @param ResourceHeader * @param ResourceHeader
* Specifies a memory area where a pointer to the system resource header will be stored. * Specifies a memory area where a pointer to the system resource header will be stored.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -147,7 +147,7 @@ KE::SystemResources::GetResource(IN SYSTEM_RESOURCE_TYPE ResourceType,
/** /**
* Initializes system resource management. * Initializes system resource management.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -17,7 +17,7 @@
* *
* @return This routine returns TRUE if the cancelled timer was set, or FALSE otherwise. * @return This routine returns TRUE if the cancelled timer was set, or FALSE otherwise.
* *
* @since NT 3.5 * @since XT 1.0
*/ */
XTAPI XTAPI
BOOLEAN BOOLEAN
@@ -57,7 +57,7 @@ KE::Timer::CancelTimer(IN PKTIMER Timer)
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 4.0 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID

View File

@@ -18,7 +18,7 @@
* @param Memory * @param Memory
* Supplies a pointer to the allocated pool of pages. * Supplies a pointer to the allocated pool of pages.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -192,7 +192,7 @@ MM::Allocator::AllocateNonPagedPoolPages(IN PFN_COUNT Pages,
* @param Memory * @param Memory
* Supplies a pointer to the allocated pool of pages. * Supplies a pointer to the allocated pool of pages.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -219,7 +219,7 @@ MM::Allocator::AllocatePagedPoolPages(IN PFN_COUNT Pages,
* @param Memory * @param Memory
* Supplies a pointer to the allocated pool of pages. * Supplies a pointer to the allocated pool of pages.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -271,7 +271,7 @@ MM::Allocator::AllocatePages(IN MMPOOL_TYPE PoolType,
* @param Memory * @param Memory
* Supplies a pointer to the allocated memory. * Supplies a pointer to the allocated memory.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -300,7 +300,7 @@ MM::Allocator::AllocatePool(IN MMPOOL_TYPE PoolType,
* @param Tag * @param Tag
* Specifies the allocation identifying tag. * Specifies the allocation identifying tag.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -737,7 +737,7 @@ MM::Allocator::ExpandBigAllocationsTable(VOID)
* @param PagesFreed * @param PagesFreed
* Supplies a pointer to a variable that will receive the number of pages freed. * Supplies a pointer to a variable that will receive the number of pages freed.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -985,7 +985,7 @@ MM::Allocator::FreeNonPagedPoolPages(IN PVOID VirtualAddress,
* @param PagesFreed * @param PagesFreed
* Supplies a pointer to a variable that will receive the number of pages freed. * Supplies a pointer to a variable that will receive the number of pages freed.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -1006,7 +1006,7 @@ MM::Allocator::FreePagedPoolPages(IN PVOID VirtualAddress,
* @param VirtualAddress * @param VirtualAddress
* Supplies the base virtual address of the pages allocation to free. * Supplies the base virtual address of the pages allocation to free.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -1026,7 +1026,7 @@ MM::Allocator::FreePages(IN PVOID VirtualAddress)
* @param PagesFreed * @param PagesFreed
* Supplies a pointer to a variable that will receive the number of pages freed. * Supplies a pointer to a variable that will receive the number of pages freed.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -1059,7 +1059,7 @@ MM::Allocator::FreePages(IN PVOID VirtualAddress,
* @param VirtualAddress * @param VirtualAddress
* Supplies the base virtual address of the pool allocation to free. * Supplies the base virtual address of the pool allocation to free.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -1080,7 +1080,7 @@ MM::Allocator::FreePool(IN PVOID VirtualAddress)
* @param Tag * @param Tag
* Specifies the allocation identifying tag. * Specifies the allocation identifying tag.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -18,7 +18,7 @@
* @param Count * @param Count
* The number of PTE entries to advance by. * The number of PTE entries to advance by.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -96,7 +96,7 @@ MM::PageMap::GetNextEntry(IN PMMPTE Pte)
* @param Pte * @param Pte
* The PTE pointer to advance. * The PTE pointer to advance.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -109,7 +109,7 @@ MM::Paging::GetPxeVirtualAddress(IN PMMPXE PxePointer)
* @param Attributes * @param Attributes
* Specifies the attributes (protections, caching) to apply to the PTE. * Specifies the attributes (protections, caching) to apply to the PTE.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -16,6 +16,8 @@
* Specifies the virtual address to verify. * Specifies the virtual address to verify.
* *
* @return This routine returns ACCESS_VIOLATION regardless PML4 or PML5 is used. * @return This routine returns ACCESS_VIOLATION regardless PML4 or PML5 is used.
*
* @since XT 1.0
*/ */
XTFASTCALL XTFASTCALL
XTSTATUS XTSTATUS

View File

@@ -25,7 +25,7 @@
* @param Buffer * @param Buffer
* Supplies a buffer that receives the physical address. * Supplies a buffer that receives the physical address.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -153,7 +153,7 @@ MM::HardwarePool::AllocateHardwareMemory(IN PFN_NUMBER PageCount,
* @param MemoryAddress * @param MemoryAddress
* Supplies a pointer to a variable that receives the identity-mapped virtual address of the allocated memory. * Supplies a pointer to a variable that receives the identity-mapped virtual address of the allocated memory.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -207,7 +207,7 @@ MM::HardwarePool::AllocateRealModeMemory(IN PFN_NUMBER PageCount,
* @param VirtualAddress * @param VirtualAddress
* Supplies a buffer that receives the virtual address of the mapped pages. * Supplies a buffer that receives the virtual address of the mapped pages.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -374,7 +374,7 @@ MM::HardwarePool::RemapHardwareMemory(IN PVOID VirtualAddress,
* @param FlushTlb * @param FlushTlb
* Specifies whether to flush the TLB or not. * Specifies whether to flush the TLB or not.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -251,7 +251,7 @@ MM::PageMapBasic::GetNextEntry(IN PMMPTE Pte)
* @param Pte * @param Pte
* The PTE pointer to advance. * The PTE pointer to advance.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -472,7 +472,7 @@ MM::PageMapBasic::InitializePageMapInfo(VOID)
* @param PtePointer * @param PtePointer
* Pointer to the page table entry (PTE) to check. * Pointer to the page table entry (PTE) to check.
* *
* @return Returns TRUE if the entry is valid, FALSE otherwise. * @return This routine returns TRUE if the entry is valid, FALSE otherwise.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -666,7 +666,7 @@ MM::PageMapBasic::WritePte(IN PMMPTE Pte,
* @param Count * @param Count
* The number of PTE entries to advance by. * The number of PTE entries to advance by.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -721,7 +721,7 @@ MM::PageMapXpa::GetNextEntry(IN PMMPTE Pte)
* @param Pte * @param Pte
* The PTE pointer to advance. * The PTE pointer to advance.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -942,7 +942,7 @@ MM::PageMapXpa::InitializePageMapInfo(VOID)
* @param PtePointer * @param PtePointer
* Pointer to the page table entry (PTE) to check. * Pointer to the page table entry (PTE) to check.
* *
* @return Returns TRUE if the entry is valid, FALSE otherwise. * @return This routine returns TRUE if the entry is valid, FALSE otherwise.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -37,7 +37,7 @@ MM::Paging::GetExtendedPhysicalAddressingStatus(VOID)
* @param Attributes * @param Attributes
* Specifies the attributes (protections, caching) to apply to the PTE. * Specifies the attributes (protections, caching) to apply to the PTE.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -19,7 +19,7 @@
* @param StackSize * @param StackSize
* Supplies the size of the stack to be allocated, in bytes. * Supplies the size of the stack to be allocated, in bytes.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -95,7 +95,7 @@ MM::KernelPool::AllocateKernelStack(OUT PVOID *Stack,
* @param StructuresData * @param StructuresData
* Supplies a pointer to the memory area that will contain the allocated buffer. * Supplies a pointer to the memory area that will contain the allocated buffer.
* *
* @return This routine returns a status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -285,7 +285,7 @@ MM::Manager::InitializeMemoryManager(VOID)
/** /**
* Allocates and maps the Kernel Shared Data page to its hardcoded virtual address. * Allocates and maps the Kernel Shared Data page to its hardcoded virtual address.
* *
* @return This routine returns status code. * @return This routine returns a status code indicating the success or failure of the operation.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -18,7 +18,7 @@
* @param Count * @param Count
* The number of PTE entries to advance by. * The number of PTE entries to advance by.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -158,7 +158,7 @@ MM::Paging::GetNextEntry(IN PMMPTE Pte)
* @param Pte * @param Pte
* The PTE pointer to advance. * The PTE pointer to advance.
* *
* @return The advanced PTE pointer. * @return This routine returns the advanced PTE pointer.
* *
* @since XT 1.0 * @since XT 1.0
*/ */
@@ -517,7 +517,7 @@ MM::Paging::InitializePageMapSupport(VOID)
* @param PtePointer * @param PtePointer
* Pointer to the page table entry (PTE) to check. * Pointer to the page table entry (PTE) to check.
* *
* @return Returns TRUE if the entry is valid, FALSE otherwise. * @return This routine returns TRUE if the entry is valid, FALSE otherwise.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -390,7 +390,7 @@ MM::Pfn::GetHighestPhysicalPage(VOID)
/** /**
* Retrieves the total number of physical pages managed by the system. * Retrieves the total number of physical pages managed by the system.
* *
* @return Returns the total count of physical memory pages. * @return This routine returns the total count of physical memory pages.
* *
* @since XT 1.0 * @since XT 1.0
*/ */

View File

@@ -63,7 +63,7 @@ PO::Idle::Idle0Function(IN PPROCESSOR_POWER_STATE PowerState)
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 5.1 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID
@@ -89,7 +89,7 @@ PO::Idle::PerfIdle(PPROCESSOR_POWER_STATE PowerState)
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
* @since NT 5.1 * @since XT 1.0
*/ */
XTAPI XTAPI
VOID VOID