[BOOT] Add boot library stubs

This commit is contained in:
2024-05-30 19:54:07 -04:00
parent 472b48ffd6
commit 42369f91ee
4 changed files with 162 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ Abstract:
--*/
#include "bootmgr.h"
#include "bootlib.h"
NTSTATUS
BmMain (
@@ -38,9 +39,20 @@ Return Value:
--*/
{
(VOID)InputParameters;
NTSTATUS Status;
BOOT_LIBRARY_PARAMETERS LibraryParameters;
/* TODO: Implement this */
LibraryParameters.Flags = 0;
return STATUS_SUCCESS;
//
// Initialize the boot library.
//
Status = BlInitializeLibrary(InputParameters, &LibraryParameters);
if (!NT_SUCCESS(Status)) {
goto Exit;
}
Exit:
BlDestroyLibrary();
return Status;
}