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,