Fix stack allocation documentation and remove redundant parameter
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in -59m28s
Builds / ExectOS (amd64, debug) (push) Successful in -59m26s
Builds / ExectOS (i686, release) (push) Successful in 1m27s
Builds / ExectOS (amd64, release) (push) Successful in 1m30s

This commit is contained in:
2026-05-15 11:42:19 +02:00
parent 38b2e7a1ed
commit c824e15cdb

View File

@@ -16,11 +16,8 @@
* @param Stack * @param Stack
* Supplies a pointer to the memory area that will contain a new kernel stack. * Supplies a pointer to the memory area that will contain a new kernel stack.
* *
* @param LargeStack * @param StackSize
* Determines whether the stack is large or small. * Supplies the size of the stack to be allocated, in bytes.
*
* @param SystemNode
* Specifies a preferred node used for new stack on multi-processor systems.
* *
* @return This routine returns a status code. * @return This routine returns a status code.
* *
@@ -133,8 +130,8 @@ MM::KernelPool::AllocateProcessorStructures(OUT PVOID *StructuresData)
* @param Stack * @param Stack
* Supplies a pointer to the memory area containing a kernel stack. * Supplies a pointer to the memory area containing a kernel stack.
* *
* @param LargeStack * @param StackSize
* Determines whether the stack is large or small. * Supplies the size of the stack to be freed, in bytes.
* *
* @return This routine does not return any value. * @return This routine does not return any value.
* *
@@ -197,6 +194,6 @@ MM::KernelPool::FreeProcessorStructures(IN PVOID StructuresData)
if(StructuresData != NULLPTR) if(StructuresData != NULLPTR)
{ {
/* Release the contiguous memory block back */ /* Release the contiguous memory block back */
MM::Allocator::FreePool(StructuresData, 0); MM::Allocator::FreePool(StructuresData);
} }
} }