From d158525659b7c868e2d5c869851473bb0bffac14 Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 21 Dec 2022 22:34:59 +0100 Subject: [PATCH] Add missing documentation for BlCreateStack() routine --- xtldr/amd64/memory.c | 16 ++++++++++++++++ xtldr/i686/memory.c | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/xtldr/amd64/memory.c b/xtldr/amd64/memory.c index 266b6cb..c61c9de 100644 --- a/xtldr/amd64/memory.c +++ b/xtldr/amd64/memory.c @@ -9,6 +9,22 @@ #include +/** + * Creates and switches to a new stack. + * + * @param StackPtr + * Supplies a pointer to memory area, where the stack will be created. + * + * @param StackSize + * Specifies a size (in bytes) of the new stack. + * + * @param Callback + * Supplies a pointer to a callback function that will be executed on top of new stack. + * + * @return This routine does not return any value. + * + * @since XT 1.0 + */ VOID BlCreateStack(IN PVOID *StackPtr, IN ULONG StackSize, diff --git a/xtldr/i686/memory.c b/xtldr/i686/memory.c index 029b200..c8d1218 100644 --- a/xtldr/i686/memory.c +++ b/xtldr/i686/memory.c @@ -9,6 +9,22 @@ #include +/** + * Creates and switches to a new stack. + * + * @param StackPtr + * Supplies a pointer to memory area, where the stack will be created. + * + * @param StackSize + * Specifies a size (in bytes) of the new stack. + * + * @param Callback + * Supplies a pointer to a callback function that will be executed on top of new stack. + * + * @return This routine does not return any value. + * + * @since XT 1.0 + */ VOID BlCreateStack(IN PVOID *StackPtr, IN ULONG StackSize,