Add missing routines documentation
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2022-12-22 23:29:16 +01:00
parent 4d68b93ed3
commit 7496c7203d
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 30 additions and 0 deletions

View File

@ -238,6 +238,19 @@ XtpBootSequence(IN PEFI_FILE_HANDLE BootDir,
return STATUS_EFI_SUCCESS;
}
/**
* Initializes and maps the kernel initialization block.
*
* @param MemoryMappings
* Supplies a pointer to linked list containing all memory mappings.
*
* @param VirtualAddress
* Supplies a pointer to the next valid, free and available virtual address.
*
* @return This routine returns a status code.
*
* @since XT 1.0
*/
EFI_STATUS
XtpInitializeLoaderBlock(IN PLIST_ENTRY MemoryMappings,
IN PVOID *VirtualAddress)

View File

@ -28,6 +28,16 @@ PVOID EfiLoaderStack;
CPPORT EfiSerialPort;
/**
* Gets a pointer to the stack address.
*
* @param Stack
* Supplies a pointer to the memory area where address to the current stack will be stored.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
VOID BlGetStackPointer(OUT PVOID *Stack)
{
*Stack = EfiLoaderStack;
@ -348,6 +358,13 @@ BlRegisterXtLoaderProtocol()
&EfiLdrProtocol);
}
/**
* Callback routine called right after new stack is created.
*
* @return This routine returns a status code.
*
* @since XT 1.0
*/
EFI_STATUS
BlStartNewStack()
{