Add missing documentation and fix formatting
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 29s
Builds / ExectOS (amd64, release) (push) Successful in 28s
Builds / ExectOS (i686, debug) (push) Successful in 29s
Builds / ExectOS (i686, release) (push) Successful in 27s

This commit is contained in:
2025-09-16 11:42:40 +02:00
parent 2f25107d09
commit f86b63f68d
5 changed files with 162 additions and 27 deletions

View File

@@ -97,6 +97,13 @@ KE::BootInformation::GetKernelParameter(IN PCWSTR ParameterName,
return STATUS_NOT_FOUND;
}
/**
* Retrieves a pointer to the list of memory descriptors.
*
* @return This routine returns a pointer to the list of memory descriptors.
*
* @since XT 1.0
*/
XTAPI
PLIST_ENTRY
KE::BootInformation::GetMemoryDescriptors(VOID)

View File

@@ -192,8 +192,8 @@ XTCLINK
XTAPI
VOID
KeInitializeDpc(IN PKDPC Dpc,
IN PKDEFERRED_ROUTINE DpcRoutine,
IN PVOID DpcContext)
IN PKDEFERRED_ROUTINE DpcRoutine,
IN PVOID DpcContext)
{
KE::Dpc::InitializeDpc(Dpc, DpcRoutine, DpcContext);
@@ -267,8 +267,8 @@ XTCLINK
XTAPI
VOID
KeInitializeSemaphore(IN PKSEMAPHORE Semaphore,
IN LONG Count,
IN LONG Limit)
IN LONG Count,
IN LONG Limit)
{
KE::Semaphore::InitializeSemaphore(Semaphore, Count, Limit);
}
@@ -350,9 +350,9 @@ XTCLINK
XTAPI
LONG
KeReleaseSemaphore(IN PKSEMAPHORE Semaphore,
IN KPRIORITY Increment,
IN LONG Adjustment,
IN BOOLEAN Wait)
IN KPRIORITY Increment,
IN LONG Adjustment,
IN BOOLEAN Wait)
{
return KE::Semaphore::ReleaseSemaphore(Semaphore, Increment, Adjustment, Wait);
}

View File

@@ -41,10 +41,10 @@ KE::KProcess::GetInitialProcess(VOID)
XTAPI
VOID
KE::KProcess::InitializeProcess(IN OUT PKPROCESS Process,
IN KPRIORITY Priority,
IN KAFFINITY Affinity,
IN PULONG_PTR DirectoryTable,
IN BOOLEAN Alignment)
IN KPRIORITY Priority,
IN KAFFINITY Affinity,
IN PULONG_PTR DirectoryTable,
IN BOOLEAN Alignment)
{
/* Initialize process dispatcher header */
Process->Header.Type = ProcessObject;