[BOOT] Rename efistatus.c to efiinit.c

This commit is contained in:
2024-05-30 12:22:04 -04:00
parent 9f7a91a5a7
commit 472b48ffd6
7 changed files with 21 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ Abstract:
UCHAR EfiInitScratch[2048];
PBOOT_APPLICATION_PARAMETERS
PBOOT_INPUT_PARAMETERS
EfiInitCreateInputParameters (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
@@ -44,15 +44,17 @@ Return Value:
{
ULONG ScratchUsed = 0;
PBOOT_APPLICATION_PARAMETERS InputParameters;
PBOOT_INPUT_PARAMETERS InputParameters;
(VOID)ImageHandle;
(VOID)SystemTable;
InputParameters = (PBOOT_APPLICATION_PARAMETERS)(&EfiInitScratch[ScratchUsed]);
InputParameters->Signature = BOOT_APPLICATION_PARAMETERS_SIGNATURE;
InputParameters->Version = BOOT_APPLICATION_PARAMETERS_VERSION;
ScratchUsed += sizeof(BOOT_APPLICATION_PARAMETERS);
InputParameters = (PBOOT_INPUT_PARAMETERS)(&EfiInitScratch[ScratchUsed]);
InputParameters->Signature = BOOT_INPUT_PARAMETERS_SIGNATURE;
InputParameters->Version = BOOT_INPUT_PARAMETERS_VERSION;
ScratchUsed += sizeof(BOOT_INPUT_PARAMETERS);
/* TODO: Create additional parameter structures */
return InputParameters;
}

View File

@@ -5,11 +5,11 @@ Provided under the BSD 3-Clause license.
Module Name:
efistatus.c
efilib.c
Abstract:
Provides EFI status code utilities.
Provides EFI utilities.
--*/