57 ParamPointer = (
ULONG_PTR)BootAppParameters;
58 if (!(BootAppParameters) ||
61 (BootAppParameters->Size <
sizeof(*BootAppParameters)))
68 MemoryData = (
PBL_MEMORY_DATA)(ParamPointer + BootAppParameters->MemoryDataOffset);
96 AppEntry->
Flags &= ~BL_APPLICATION_ENTRY_BCD_OPTIONS_INTERNAL;
119 BootAppParameters->MemoryTranslationType,
176 EnSubsystemInitialized = 1;
187 if (EnSubsystemInitialized)
198 Status = BlNetInitialize();
204 if (EnSubsystemInitialized)
224 if (EnSubsystemInitialized)
236 PltInitializePciConfiguration();
239#ifdef BL_SECURE_BOOT_SUPPORT
241 Status = BlSecureBootSetActivePolicyFromPersistedData();
246 PltDestroyPciConfiguration();
253 if (EnSubsystemInitialized)
265 SipInitializePhase0();
305 PltDestroyPciConfiguration();
312 if (EnSubsystemInitialized)
321#if BL_BITLOCKER_SUPPORT
323 g_pEnvironmentData = &SymCryptEnvironmentWindowsBootLibrary;
324 if (SymCryptEnvWindowsBootLibInit)
326 SymCryptEnvWindowsBootLibInit();
409 EfiPrintf(
L"Destroy not yet implemented\r\n");
430 if (!ImageBase || !ImageSize)
466 ((DataBlob->BlobSize) && !(DataBlob->Data)))
478 EfiPrintf(
L"Boot persistent data not yet implemented\r\n");
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
ULONGLONG BlpTimePerformanceFrequency
struct _BL_FIRMWARE_DESCRIPTOR * PBL_FIRMWARE_DESCRIPTOR
struct _BL_DEVICE_DESCRIPTOR * PBL_DEVICE_DESCRIPTOR
VOID EfiPrintf(_In_ PWCHAR Format,...)
NTSTATUS BlpDisplayInitialize(_In_ ULONG Flags)
#define BOOT_APPLICATION_SIGNATURE_2
NTSTATUS BlpTimeCalibratePerformanceCounter(VOID)
#define BL_LIBRARY_FLAG_INITIALIZATION_COMPLETED
NTSTATUS BlpIoInitialize(VOID)
struct _BL_APPLICATION_ENTRY * PBL_APPLICATION_ENTRY
struct _BL_MEMORY_DATA * PBL_MEMORY_DATA
#define BL_LIBRARY_FLAG_REINITIALIZE
NTSTATUS BlUtlInitialize(VOID)
#define BL_APPLICATION_ENTRY_FLAG_NO_GUID
NTSTATUS BlMmRemoveBadMemory(VOID)
NTSTATUS BlpMmInitialize(_In_ PBL_MEMORY_DATA MemoryData, _In_ BL_TRANSLATION_TYPE TranslationType, _In_ PBL_LIBRARY_PARAMETERS LibraryParameters)
NTSTATUS BlpResourceInitialize(VOID)
#define BL_LIBRARY_FLAG_REINITIALIZE_ALL
#define BL_APPLICATION_ENTRY_BCD_OPTIONS_INTERNAL
#define BL_APP_ENTRY_SIGNATURE
#define BOOT_APPLICATION_SIGNATURE_1
NTSTATUS BlpArchInitialize(_In_ ULONG Phase)
NTSTATUS BlpMmInitializeConstraints(VOID)
NTSTATUS BlMmFreeHeap(_In_ PVOID Buffer)
NTSTATUS BlpFwInitialize(_In_ ULONG Phase, _In_ PBL_FIRMWARE_DESCRIPTOR FirmwareParameters)
#define BL_LIBRARY_FLAG_NO_DISPLAY
NTSTATUS BlGetBootOptionInteger(_In_ PBL_BCD_OPTION List, _In_ ULONG Type, _Out_ PULONGLONG Value)
#define BL_APPLICATION_ENTRY_BCD_OPTIONS_EXTERNAL
VOID BlDestroyBootEntry(_In_ PBL_LOADED_APPLICATION_ENTRY AppEntry)
NTSTATUS BlInitializeLibrary(_In_ PBOOT_APPLICATION_PARAMETER_BLOCK BootAppParameters, _In_ PBL_LIBRARY_PARAMETERS LibraryParameters)
PWCHAR BlpApplicationBaseDirectory
PBL_DEVICE_DESCRIPTOR BlpBootDevice
ULONG BlpApplicationFlags
NTSTATUS BlPdQueryData(_In_ const GUID *DataGuid, _In_ PVOID Unknown, _Inout_ PBL_PD_DATA_BLOB DataBlob)
PGUID BlGetApplicationIdentifier(VOID)
BL_LIBRARY_PARAMETERS BlpLibraryParameters
VOID BlDestroyLibrary(VOID)
NTSTATUS InitializeLibrary(_In_ PBOOT_APPLICATION_PARAMETER_BLOCK BootAppParameters, _In_ PBL_LIBRARY_PARAMETERS LibraryParameters)
PBOOT_APPLICATION_PARAMETER_BLOCK BlpApplicationParameters
NTSTATUS BlGetApplicationBaseAndSize(_Out_ PVOID *ImageBase, _Out_ PULONG ImageSize)
BL_LOADED_APPLICATION_ENTRY BlpApplicationEntry
BOOLEAN BlpLibraryParametersInitialized
ULONG PdPersistAllocations
#define NT_SUCCESS(StatCode)
#define IsListEmpty(ListHead)
#define InitializeListHead(ListHead)
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
#define STATUS_INVALID_PARAMETER_9
#define STATUS_NOT_IMPLEMENTED
#define STATUS_INVALID_PARAMETER