ReactOS 0.4.16-dev-823-g9a093ec
|
#include <stdlib.h>
#include <stdio.h>
#include <wchar.h>
#include <ntifs.h>
#include <ntndk.h>
#include <ntintsafe.h>
#include <ntimage.h>
#include <drivers/acpi/acpi.h>
#include <Uefi.h>
#include <DevicePath.h>
#include <LoadedImage.h>
#include <GraphicsOutput.h>
#include <UgaDraw.h>
#include <BlockIo.h>
#include <Acpi.h>
#include <GlobalVariable.h>
#include <cmlib.h>
Go to the source code of this file.
#define BL_LOAD_PE_IMG_EXISTING_BUFFER BL_LOAD_IMG_EXISTING_BUFFER |
#define BL_LOAD_PE_IMG_VIRTUAL_BUFFER BL_LOAD_IMG_VIRTUAL_BUFFER |
#define BL_MM_INCLUDE_NO_FIRMWARE_MEMORY |
#define BL_MM_INCLUDE_ONLY_FIRMWARE_MEMORY |
typedef struct _BL_ADDRESS_RANGE BL_ADDRESS_RANGE |
typedef struct _BL_ARCH_CONTEXT BL_ARCH_CONTEXT |
typedef enum _BL_ARCH_MODE BL_ARCH_MODE |
typedef struct _BL_BCD_OPTION BL_BCD_OPTION |
typedef struct _BL_BLOCK_DEVICE BL_BLOCK_DEVICE |
typedef struct _BL_DEVICE_ENTRY BL_DEVICE_ENTRY |
typedef enum _BL_DEVICE_TYPE BL_DEVICE_TYPE |
typedef struct _BL_DISPLAY_MODE BL_DISPLAY_MODE |
typedef struct _BL_DISPLAY_STATE BL_DISPLAY_STATE |
typedef struct _BL_FILE_ENTRY BL_FILE_ENTRY |
typedef struct _BL_HASH_ENTRY BL_HASH_ENTRY |
typedef struct _BL_HASH_NODE BL_HASH_NODE |
typedef struct _BL_HASH_TABLE BL_HASH_TABLE |
typedef struct _BL_HASH_VALUE BL_HASH_VALUE |
typedef struct _BL_IMG_FILE BL_IMG_FILE |
typedef struct _BL_INPUT_CONSOLE BL_INPUT_CONSOLE |
typedef struct _BL_LOCAL_DEVICE BL_LOCAL_DEVICE |
typedef enum _BL_MEMORY_ATTR BL_MEMORY_ATTR |
typedef enum _BL_MEMORY_CLASS BL_MEMORY_CLASS |
typedef struct _BL_MEMORY_DATA BL_MEMORY_DATA |
typedef enum _BL_MEMORY_TYPE BL_MEMORY_TYPE |
typedef enum _BL_MENU_POLICY BL_MENU_POLICY |
typedef struct _BL_MENU_STATUS BL_MENU_STATUS |
typedef enum _BL_PARTITION_TYPE BL_PARTITION_TYPE |
typedef enum _BL_PATH_TYPE BL_PATH_TYPE |
typedef struct _BL_PD_DATA_BLOB BL_PD_DATA_BLOB |
typedef struct _BL_TEXT_CONSOLE BL_TEXT_CONSOLE |
typedef struct _BMP_HEADER BMP_HEADER |
typedef struct _DIB_HEADER DIB_HEADER |
typedef struct _BL_ADDRESS_RANGE * PBL_ADDRESS_RANGE |
typedef struct _BL_APPLICATION_ENTRY * PBL_APPLICATION_ENTRY |
typedef struct _BL_ARCH_CONTEXT * PBL_ARCH_CONTEXT |
typedef struct _BL_BCD_OPTION * PBL_BCD_OPTION |
typedef struct _BL_BLOCK_DEVICE * PBL_BLOCK_DEVICE |
typedef struct _BL_BUFFER_DESCRIPTOR * PBL_BUFFER_DESCRIPTOR |
typedef struct _BL_DEVICE_CALLBACKS * PBL_DEVICE_CALLBACKS |
typedef NTSTATUS(* PBL_DEVICE_CLOSE) (_In_ struct _BL_DEVICE_ENTRY *DeviceEntry) |
typedef struct _BL_DEVICE_DESCRIPTOR * PBL_DEVICE_DESCRIPTOR |
typedef struct _BL_DEVICE_ENTRY * PBL_DEVICE_ENTRY |
typedef NTSTATUS(* PBL_DEVICE_GET_INFORMATION) (_In_ struct _BL_DEVICE_ENTRY *DeviceEntry, _Out_ struct _BL_DEVICE_INFORMATION *DeviceInformation) |
typedef NTSTATUS(* PBL_DEVICE_OPEN) (_In_ struct _BL_DEVICE_DESCRIPTOR *Device, _In_ struct _BL_DEVICE_ENTRY *DeviceEntry) |
typedef NTSTATUS(* PBL_DEVICE_SET_INFORMATION) (_In_ struct _BL_DEVICE_ENTRY *DeviceEntry, _In_ struct _BL_DEVICE_INFORMATION *DeviceInformation) |
typedef struct _BL_DISPLAY_MODE * PBL_DISPLAY_MODE |
typedef struct _BL_DISPLAY_STATE * PBL_DISPLAY_STATE |
typedef struct _BL_FILE_CALLBACKS * PBL_FILE_CALLBACKS |
typedef NTSTATUS(* PBL_FILE_CLOSE) (_In_ struct _BL_FILE_ENTRY *FileEntry) |
typedef struct _BL_FILE_ENTRY * PBL_FILE_ENTRY |
typedef NTSTATUS(* PBL_FILE_GET_INFO) (_In_ struct _BL_FILE_ENTRY *FileEntry, _Out_ struct _BL_FILE_INFORMATION *FileInfo) |
typedef struct _BL_FILE_INFORMATION * PBL_FILE_INFORMATION |
typedef NTSTATUS(* PBL_FILE_SET_INFO) (_In_ struct _BL_FILE_ENTRY *FileEntry, _In_ struct _BL_FILE_INFORMATION *FileInfo) |
typedef struct _BL_FILE_SYSTEM_ENTRY * PBL_FILE_SYSTEM_ENTRY |
typedef struct _BL_GRAPHICS_CONSOLE * PBL_GRAPHICS_CONSOLE |
typedef struct _BL_HASH_ENTRY * PBL_HASH_ENTRY |
typedef struct _BL_HASH_NODE * PBL_HASH_NODE |
typedef struct _BL_HASH_TABLE * PBL_HASH_TABLE |
typedef BOOLEAN(* PBL_HASH_TABLE_COMPARE_FUNCTION) (_In_ struct _BL_HASH_ENTRY *Entry1, _In_ struct _BL_HASH_ENTRY *Entry2) |
typedef struct _BL_HASH_VALUE * PBL_HASH_VALUE |
typedef struct _BL_IMG_FILE * PBL_IMG_FILE |
typedef struct _BL_INPUT_CONSOLE * PBL_INPUT_CONSOLE |
typedef struct _BL_LOCAL_DEVICE * PBL_LOCAL_DEVICE |
typedef struct _BL_MEMORY_DATA * PBL_MEMORY_DATA |
typedef struct _BL_MEMORY_DESCRIPTOR * PBL_MEMORY_DESCRIPTOR |
typedef VOID(* PBL_MM_FLUSH_TLB_ENTRY) (_In_ PVOID VirtualAddress) |
typedef NTSTATUS(* PBL_MM_MAP_PHYSICAL_ADDRESS) (_In_ PHYSICAL_ADDRESS PhysicalAddress, _Out_ PVOID VirtualAddress, _In_ ULONG Size, _In_ ULONG CacheAttributes) |
typedef NTSTATUS(* PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE) (_In_ PVOID DestinationAddress, _In_ PVOID SourceAddress, _In_ ULONGLONG Size) |
typedef NTSTATUS(* PBL_MM_REMAP_VIRTUAL_ADDRESS) (_In_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_ PVOID VirtualAddress, _In_ ULONG Size, _In_ ULONG CacheAttributes) |
typedef BOOLEAN(* PBL_MM_TRANSLATE_VIRTUAL_ADDRESS) (_In_ PVOID VirtualAddress, _Out_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_opt_ PULONG CacheAttributes) |
typedef struct _BL_PD_DATA_BLOB * PBL_PD_DATA_BLOB |
typedef struct _BL_PROTOCOL_HANDLE * PBL_PROTOCOL_HANDLE |
typedef struct _BL_REMOTE_CONSOLE * PBL_REMOTE_CONSOLE |
typedef struct _BL_RETURN_ARGUMENTS * PBL_RETURN_ARGUMENTS |
typedef struct _BL_TEXT_CONSOLE * PBL_TEXT_CONSOLE |
typedef struct _BMP_HEADER * PBMP_HEADER |
typedef VOID(* PCONSOLE_DESTRUCT) (_In_ struct _BL_TEXT_CONSOLE *Console) |
typedef NTSTATUS(* PCONSOLE_GET_GRAPHICAL_RESOLUTION) (_In_ struct _BL_GRAPHICS_CONSOLE *Console, _Out_ struct _BL_DISPLAY_MODE *DisplayMode) |
typedef NTSTATUS(* PCONSOLE_GET_TEXT_RESOLUTION) (_In_ struct _BL_TEXT_CONSOLE *Console, _Out_ PULONG TextResolution) |
typedef NTSTATUS(* PCONSOLE_GET_TEXT_STATE) (_In_ struct _BL_TEXT_CONSOLE *Console, _Out_ struct _BL_DISPLAY_STATE *TextState) |
typedef BOOLEAN(* PCONSOLE_IS_ENABLED) (_In_ struct _BL_GRAPHICS_CONSOLE *Console) |
typedef NTSTATUS(* PCONSOLE_REINITIALIZE) (_In_ struct _BL_TEXT_CONSOLE *Console) |
typedef NTSTATUS(* PCONSOLE_SET_GRAPHICAL_RESOLUTION) (_In_ struct _BL_GRAPHICS_CONSOLE *Console, _In_ struct _BL_DISPLAY_MODE DisplayMode) |
typedef struct _DIB_HEADER * PDIB_HEADER |
typedef struct _BL_MENU_STATUS * PL_MENU_STATUS |
Enumerator | |
---|---|
BlProtectedMode | |
BlRealMode |
Enumerator | |
---|---|
Reboot | |
Recover | |
RecoverOem | |
OsSelection | |
NextOs | |
TryAgain | |
AdvancedOptions | |
BootOptions |
Definition at line 889 of file bl.h.
Enumerator | |
---|---|
Black | |
Blue | |
Green | |
Cyan | |
Red | |
Magenta | |
Brown | |
LtGray | |
Gray | |
LtBlue | |
LtGreen | |
LtCyan | |
LtRed | |
LtMagenta | |
Yellow | |
White |
Enumerator | |
---|---|
DiskDevice | |
LegacyPartitionDevice | |
SerialDevice | |
UdpDevice | |
BootDevice | |
PartitionDevice | |
LocateDevice |
Definition at line 245 of file bl.h.
Enumerator | |
---|---|
BlGopConsole | |
BlUgaConsole |
Definition at line 1138 of file bl.h.
Enumerator | |
---|---|
LocalDevice | |
FloppyDevice | |
CdRomDevice | |
RamDiskDevice | |
FileDevice | |
VirtualDiskDevice |
Definition at line 259 of file bl.h.
Definition at line 341 of file bl.h.
Enumerator | |
---|---|
BlLoaderClass | |
BlApplicationClass | |
BlSystemClass |
Definition at line 291 of file bl.h.
Enumerator | |
---|---|
BlMdPhysical | |
BlMdVirtual | |
BlMdTracker |
Definition at line 221 of file bl.h.
Definition at line 301 of file bl.h.
Enumerator | |
---|---|
MenuPolicyLegacy | |
MenuPolicyStandard |
Definition at line 215 of file bl.h.
Enumerator | |
---|---|
GptPartition | |
MbrPartition | |
RawPartition |
Definition at line 272 of file bl.h.
Enumerator | |
---|---|
InternalPath | |
EfiPath |
Definition at line 73 of file blkcache.c.
Referenced by BlockIopInitialize().
NTSTATUS BfClearScreen | ( | _In_ PBL_GRAPHICS_CONSOLE | Console | ) |
Definition at line 158 of file font.c.
Referenced by ConsoleGraphicalClearText().
NTSTATUS BfClearToEndOfLine | ( | _In_ PBL_GRAPHICS_CONSOLE | Console | ) |
Definition at line 149 of file font.c.
Referenced by ConsoleGraphicalClearText().
VOID BfiFreeDeferredFontFile | ( | _In_ PBL_DEFERRED_FONT_FILE | DeferredFontFile | ) |
Definition at line 30 of file font.c.
Referenced by BfLoadDeferredFontFiles(), BfLoadFontFile(), and BlpDisplayRegisterLocale().
Definition at line 99 of file font.c.
Referenced by BfClearScreen(), and BlResourceFindMessage().
NTSTATUS BfLoadFontFile | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ PWCHAR | FontPath | ||
) |
Definition at line 51 of file font.c.
Referenced by DsppLoadFontFile().
Definition at line 141 of file bootreg.c.
Referenced by BcdDeleteElement(), BcdOpenObject(), BiAddStoreFromFile(), BiDeleteKey(), BiEnumerateElements(), BiEnumerateSubElements(), BiGetObjectDescription(), BmCloseDataStore(), BmGetEntryDescription(), BmGetOptionList(), and BmPurgeOption().
Definition at line 892 of file bootreg.c.
Referenced by BcdDeleteElement(), and BiDeleteKey().
Definition at line 117 of file bootreg.c.
Referenced by BiAddStoreFromFile(), BiCloseKey(), and BmCloseDataStore().
NTSTATUS BiEnumerateSubKeys | ( | _In_ HANDLE | KeyHandle, |
_Out_ PWCHAR ** | SubKeyList, | ||
_Out_ PULONG | SubKeyCount | ||
) |
Definition at line 723 of file bootreg.c.
Referenced by BiDeleteKey(), and BiEnumerateElements().
NTSTATUS BiGetRegistryValue | ( | _In_ HANDLE | KeyHandle, |
_In_ PWCHAR | ValueName, | ||
_In_ ULONG | Type, | ||
_Out_ PVOID * | Buffer, | ||
_Out_ PULONG | ValueLength | ||
) |
Definition at line 657 of file bootreg.c.
Referenced by BiEnumerateElements(), and BiGetObjectDescription().
NTSTATUS BiLoadHive | ( | _In_ PBL_FILE_PATH_DESCRIPTOR | FilePath, |
_Out_ PHANDLE | HiveHandle | ||
) |
Definition at line 369 of file bootreg.c.
Referenced by BiAddStoreFromFile().
Definition at line 186 of file bootreg.c.
Referenced by BcdDeleteElement(), BcdOpenObject(), BiAddStoreFromFile(), BiDeleteKey(), BiEnumerateElements(), and BiGetObjectDescription().
NTSTATUS BlAppendBootOptionBoolean | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry, |
_In_ ULONG | OptionId, | ||
_In_ BOOLEAN | Value | ||
) |
Definition at line 625 of file bcdopt.c.
Referenced by BmpLaunchBootEntry(), and OslPrepareTarget().
NTSTATUS BlAppendBootOptionInteger | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry, |
_In_ ULONG | OptionId, | ||
_In_ ULONGLONG | Value | ||
) |
Definition at line 657 of file bcdopt.c.
Referenced by BlImgLoadBootApplication(), and BmLaunchRecoverySequence().
NTSTATUS BlAppendBootOptions | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry, |
_In_ PBL_BCD_OPTION | Options | ||
) |
Definition at line 737 of file bcdopt.c.
Referenced by BlAppendBootOptionBoolean(), BlAppendBootOptionInteger(), BlAppendBootOptionString(), and BmpUpdateApplicationOptions().
NTSTATUS BlAppendBootOptionString | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry, |
_In_ ULONG | OptionId, | ||
_In_ PWCHAR | OptionString | ||
) |
Definition at line 689 of file bcdopt.c.
Referenced by BmpPopulateBootEntryList(), and OslpRemoveInternalApplicationOptions().
Definition at line 924 of file util.c.
Referenced by BlArchGetCpuVendor(), BlArchGetPerformanceCounter(), MmArchInitialize(), OslMain(), and OslpMain().
CPU_VENDORS BlArchGetCpuVendor | ( | VOID | ) |
Definition at line 937 of file util.c.
Referenced by OslpMain().
Definition at line 902 of file util.c.
Referenced by MmArchInitialize(), and OslPrepareTarget().
Definition at line 856 of file util.c.
Referenced by MmArchInitialize(), and OslMain().
Definition at line 53 of file debug.c.
Referenced by BlBdPullRemoteFile(), BlImgLoadBootApplication(), BlStatusError(), BlStatusPrint(), and MmHapReportHeapCorruption().
NTSTATUS BlBdPullRemoteFile | ( | _In_ PWCHAR | FilePath, |
_Out_ PVOID | BaseAddress, | ||
_Out_ PULONGLONG | FileSize | ||
) |
Definition at line 34 of file debug.c.
Referenced by ImgpOpenFile().
NTSTATUS BlCopyBootOptions | ( | _In_ PBL_BCD_OPTION | OptionList, |
_Out_ PBL_BCD_OPTION * | CopiedOptions | ||
) |
Definition at line 597 of file bcdopt.c.
Referenced by BmMain().
VOID BlDestroyBootEntry | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry | ) |
Definition at line 442 of file bootlib.c.
Referenced by BmLaunchRecoverySequence(), BmMain(), BmpGetSelectedBootEntry(), and BmpPopulateBootEntryList().
Definition at line 2073 of file device.c.
Referenced by BiLoadHive(), BlBsdInitializeLog(), BlImgLoadBootApplication(), and BmFwInitializeBootDirectoryPath().
NTSTATUS BlDeviceGetInformation | ( | _In_ ULONG | DeviceId, |
_Out_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Definition at line 682 of file device.c.
Referenced by BlDeviceReadAtOffset(), BlFileOpen(), BlFileReadEx(), EtfspCheckEtfs(), and FatMount().
BOOLEAN BlDeviceIsVirtualPartitionDevice | ( | _In_ PBL_DEVICE_DESCRIPTOR | InputDevice, |
_Outptr_ PBL_DEVICE_DESCRIPTOR * | VirtualDevice | ||
) |
Definition at line 612 of file device.c.
Referenced by OslPrepareTarget().
NTSTATUS BlDeviceReadAtOffset | ( | _In_ ULONG | DeviceId, |
_In_ ULONG | Size, | ||
_In_ ULONGLONG | Offset, | ||
_In_ PVOID | Buffer, | ||
_Out_ PULONG | BytesRead | ||
) |
Definition at line 773 of file device.c.
Referenced by EtfspCheckEtfs(), EtfspGetDirent(), EtfsRead(), and FatMount().
NTSTATUS BlDeviceSetInformation | ( | _In_ ULONG | DeviceId, |
_In_ PBL_DEVICE_INFORMATION | DeviceInformation | ||
) |
Referenced by BlFileReadEx(), EtfspCheckEtfs(), and FatMount().
Definition at line 943 of file display.c.
Referenced by BmMain(), and OslDrawLogo().
Definition at line 680 of file display.c.
Referenced by BlDisplayValidOemBitmap(), and BlpResourceInitialize().
Definition at line 603 of file display.c.
Referenced by ConsoleEfiTextGetStateFromMode(), ConsoleFirmwareTextClear(), and ConsoleFirmwareTextSetState().
Definition at line 723 of file display.c.
Referenced by BlDisplayClearScreen(), ConsoleEfiGopClose(), and ConsoleEfiGopEnable().
Definition at line 969 of file display.c.
Referenced by BlXmiInitialize().
Definition at line 646 of file display.c.
Referenced by BlResourceFindMessage(), and ResSelectLocale().
Definition at line 880 of file display.c.
Referenced by BmMain().
Definition at line 220 of file file.c.
Referenced by BlBsdInitializeLog(), BmFwInitializeBootDirectoryPath(), FileIoOpen(), and ImgpCloseFile().
NTSTATUS BlFileGetInformation | ( | _In_ ULONG | FileId, |
_In_ PBL_FILE_INFORMATION | FileInfo | ||
) |
Definition at line 564 of file file.c.
Referenced by BlFileReadAtOffsetEx(), BlFileReadEx(), and ImgpGetFileSize().
NTSTATUS BlFileOpen | ( | _In_ ULONG | DeviceId, |
_In_ PWCHAR | FileName, | ||
_In_ ULONG | Flags, | ||
_Out_ PULONG | FileId | ||
) |
Definition at line 477 of file file.c.
Referenced by BlBsdInitializeLog(), BmFwInitializeBootDirectoryPath(), and ImgpOpenFile().
NTSTATUS BlFileReadAtOffsetEx | ( | _In_ ULONG | FileId, |
_In_ ULONG | Size, | ||
_In_ ULONGLONG | ByteOffset, | ||
_In_ PVOID | Buffer, | ||
_Out_ PULONG | BytesReturned, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 788 of file file.c.
Referenced by ImgpReadAtFileOffset().
NTSTATUS BlFwEnumerateDevice | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device | ) |
Definition at line 2375 of file firmware.c.
Referenced by BmpTransferExecution().
NTSTATUS BlFwGetParameters | ( | _In_ PBL_FIRMWARE_DESCRIPTOR | Parameters | ) |
Definition at line 2359 of file firmware.c.
Referenced by ImgpInitializeBootApplicationParameters().
Definition at line 424 of file bootlib.c.
Referenced by BlpResourceInitialize(), and Mmx86InitializeMemoryMap().
Definition at line 414 of file bootlib.c.
Referenced by BlGetBootOptionBoolean(), BlGetBootOptionDevice(), BlGetBootOptionInteger(), BlGetBootOptionString(), BmMain(), and OslPrepareTarget().
Definition at line 504 of file bcdopt.c.
Referenced by BlDisplayValidOemBitmap(), BlImgQueryCodeIntegrityBootOptions(), BlMmRemoveBadMemory(), BmDisplayDumpError(), BmFatalErrorEx(), BmGetBootMenuPolicy(), BmMain(), BmpGetSelectedBootEntry(), BmpInitializeBootStatusDataLog(), BmpLaunchBootEntry(), BmpPopulateBootEntryList(), BmpTransferExecution(), BmResumeFromHibernate(), DsppGraphicsDisabledByBcd(), DsppInitialize(), and DsppReinitialize().
NTSTATUS BlGetBootOptionDevice | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type, | ||
_Out_ PBL_DEVICE_DESCRIPTOR * | Value, | ||
_In_opt_ PBL_BCD_OPTION * | ExtraOptions | ||
) |
Definition at line 321 of file bcdopt.c.
Referenced by BlImgLoadBootApplication(), BmOpenDataStore(), BmpInitializeBootStatusDataLog(), BmpTransferExecution(), DsppLoadFontFile(), and OslPrepareTarget().
Definition at line 228 of file bcdopt.c.
Referenced by BmEnumerateBootEntries(), and BmpGetDefaultBootEntry().
NTSTATUS BlGetBootOptionGuidList | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type, | ||
_Out_ PGUID * | Value, | ||
_In_ PULONG | Count | ||
) |
Definition at line 266 of file bcdopt.c.
Referenced by BmEnumerateBootEntries(), BmLaunchRecoverySequence(), and BmMain().
NTSTATUS BlGetBootOptionInteger | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type, | ||
_Out_ PULONGLONG | Value | ||
) |
Definition at line 467 of file bcdopt.c.
Referenced by BlpMmInitializeConstraints(), BmGetBootMenuPolicy(), BmpGetSelectedBootEntry(), DsppInitialize(), DsppReinitialize(), InitializeLibrary(), MmArchInitialize(), OslGetBootStatusData(), and OslpCheckForcedFailure().
ULONG BlGetBootOptionListSize | ( | _In_ PBL_BCD_OPTION | BcdOption | ) |
Definition at line 79 of file bcdopt.c.
Referenced by BlAppendBootOptions(), BlCopyBootOptions(), BlGetBootOptionDevice(), BlGetBootOptionSize(), BlImgLoadBootApplication(), BlReplaceBootOptions(), BmGetOptionList(), BmpPopulateBootEntryList(), and ImgpInitializeBootApplicationParameters().
ULONG BlGetBootOptionSize | ( | _In_ PBL_BCD_OPTION | BcdOption | ) |
Definition at line 115 of file bcdopt.c.
Referenced by BlGetBootOptionListSize(), BmGetOptionList(), and EfiInitpCreateApplicationEntry().
Definition at line 146 of file bcdopt.c.
Referenced by BlImgLoadBootApplication(), BmOpenDataStore(), BmpFwGetApplicationDirectoryPath(), BmpInitializeBootStatusDataLog(), BmpTransferExecution(), DsppLoadFontFile(), OslpRemoveInternalApplicationOptions(), and OslPrepareTarget().
NTSTATUS BlHtCreate | ( | _In_ ULONG | Size, |
_In_ PBL_HASH_TABLE_HASH_FUNCTION | HashFunction, | ||
_In_ PBL_HASH_TABLE_COMPARE_FUNCTION | CompareFunction, | ||
_Out_ PULONG | Id | ||
) |
Definition at line 504 of file util.c.
Referenced by BcInitialize(), BlockIopInitialize(), and EfiVmOpenProtocol().
NTSTATUS BlHtDelete | ( | _In_ ULONG | TableId, |
_In_ PBL_HASH_ENTRY | Entry | ||
) |
Definition at line 722 of file util.c.
Referenced by BlockIoFirmwareOpen(), and EfiVmpFreeInterfaceEntry().
NTSTATUS BlHtLookup | ( | _In_ ULONG | TableId, |
_In_ PBL_HASH_ENTRY | Entry, | ||
_Out_ PBL_HASH_VALUE * | Value | ||
) |
Referenced by BlockIoFirmwareOpen(), EfiVmCloseProtocol(), and EfiVmOpenProtocol().
NTSTATUS BlHtStore | ( | _In_ ULONG | TableId, |
_In_ PBL_HASH_ENTRY | Entry, | ||
_In_ PVOID | Data, | ||
_In_ ULONG | DataSize | ||
) |
Definition at line 668 of file util.c.
Referenced by BlockIoFirmwareOpen(), and EfiVmOpenProtocol().
PIMAGE_SECTION_HEADER BlImgFindSection | ( | _In_ PVOID | ImageBase, |
_In_ ULONG | ImageSize | ||
) |
Definition at line 611 of file image.c.
Referenced by BlpResourceInitialize(), and ResFindDataEntryFromImage().
NTSTATUS BlImgLoadBootApplication | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | BootEntry, |
_Out_ PULONG | AppHandle | ||
) |
Definition at line 1324 of file image.c.
Referenced by BmpTransferExecution().
NTSTATUS BlImgLoadImageWithProgress2 | ( | _In_ ULONG | DeviceId, |
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ PWCHAR | FileName, | ||
_Inout_ PVOID * | MappedBase, | ||
_Inout_ PULONG | MappedSize, | ||
_In_ ULONG | ImageFlags, | ||
_In_ BOOLEAN | ShowProgress, | ||
_Out_opt_ PUCHAR * | HashBuffer, | ||
_Out_opt_ PULONG | HashSize | ||
) |
Definition at line 358 of file image.c.
Referenced by BiLoadHive().
VOID BlImgQueryCodeIntegrityBootOptions | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | ApplicationEntry, |
_Out_ PBOOLEAN | IntegrityChecksDisabled, | ||
_Out_ PBOOLEAN | TestSigning | ||
) |
Definition at line 651 of file image.c.
Referenced by BlImgLoadBootApplication(), and BmMain().
NTSTATUS BlImgStartBootApplication | ( | _In_ ULONG | AppHandle, |
_Inout_ PBL_RETURN_ARGUMENTS | ReturnArguments | ||
) |
Referenced by BmpTransferExecution().
Definition at line 2021 of file image.c.
Referenced by BmpTransferExecution().
NTSTATUS BlInitializeLibrary | ( | _In_ PBOOT_APPLICATION_PARAMETER_BLOCK | BootAppParameters, |
_In_ PBL_LIBRARY_PARAMETERS | LibraryParameters | ||
) |
Definition at line 355 of file bootlib.c.
Definition at line 569 of file heapalloc.c.
Referenced by BcdEnumerateAndUnpackElements(), BcdOpenStoreFromFile(), BfLoadFontFile(), BiEnumerateElements(), BiEnumerateSubKeys(), BiGetRegistryValue(), BiLoadHive(), BiOpenKey(), BlAppendBootOptionBoolean(), BlAppendBootOptionInteger(), BlAppendBootOptions(), BlAppendBootOptionString(), BlCopyBootOptions(), BlGetBootOptionDevice(), BlGetBootOptionGuidList(), BlGetBootOptionString(), BlHtCreate(), BlHtStore(), BlImgLoadBootApplication(), BlMmGetMemoryMap(), BlockIoEfiCreateDeviceEntry(), BlockIoOpen(), BlockIopInitialize(), BlpDeviceInitialize(), BlpDeviceOpen(), BlpFileInitialize(), BlpFileRegisterFileSystem(), BlpGetBootOptionIntegerList(), BlpIoInitialize(), BlpMmCreateBlockAllocator(), BlReplaceBootOptions(), BlTblSetEntry(), BmEnumerateBootEntries(), BmFwInitializeBootDirectoryPath(), BmGetBootSequence(), BmGetOptionList(), BmOpenDataStore(), BmpFwGetApplicationDirectoryPath(), BmpFwGetFullPath(), BmpGetSelectedBootEntry(), BmpPopulateBootEntryList(), CmpAllocate(), ConsoleCreateLocalInputConsole(), ConsoleCreateRemoteConsole(), ConsoleEfiTextFindModeFromAllowed(), ConsoleInputBaseConstruct(), ConsolepClearBuffer(), ConvertBmpToGopBlt(), DsppInitialize(), DsppLoadFontFile(), EfiLocateHandleBuffer(), EfiVmOpenProtocol(), EtfsInitialize(), EtfsMount(), EtfsOpen(), EtfspCreateContext(), FatInitialize(), FileIoCopyFileName(), FileIoCopyParentDirectoryPath(), ImgpInitializeBootApplicationParameters(), MmBaInitialize(), MmMdFreeGlobalDescriptors(), OslPrepareTarget(), and RtlpAllocateMemory().
NTSTATUS BlMmAllocatePhysicalPages | ( | _Inout_ PPHYSICAL_ADDRESS | Address, |
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ ULONGLONG | PageCount, | ||
_In_ ULONG | Attributes, | ||
_In_ ULONG | Alignment | ||
) |
Referenced by BlImgAllocateImageBuffer(), and BmMain().
Definition at line 663 of file heapalloc.c.
Referenced by BcdEnumerateAndUnpackElements(), BcdOpenStoreFromFile(), BfiFreeDeferredFontFile(), BiCloseKey(), BiDeleteKey(), BiEnumerateElements(), BiEnumerateSubKeys(), BiGetObjectDescription(), BiLoadHive(), BiOpenKey(), BlAppendBootOptionBoolean(), BlAppendBootOptionInteger(), BlAppendBootOptions(), BlAppendBootOptionString(), BlDestroyBootEntry(), BlFwEnumerateDevice(), BlGetBootOptionDevice(), BlHtCreate(), BlHtDelete(), BlImgLoadBootApplication(), BlImgUnloadBootApplication(), BlMmGetMemoryMap(), BlockIoDeviceTableDestroy(), BlockIoDeviceTableDestroyEntry(), BlockIoEfiCompareDevice(), BlockIoEfiCreateDeviceEntry(), BlockIoEfiGetChildHandle(), BlockIoFirmwareOpen(), BlockIopDestroy(), BlockIopFreeAllocations(), BlpDeviceOpen(), BlpFileRegisterFileSystem(), BlpMmCreateBlockAllocator(), BlpResourceInitialize(), BlReplaceBootOptions(), BlTblSetEntry(), BmEnumerateBootEntries(), BmErrorPurge(), BmFwInitializeBootDirectoryPath(), BmGetBootSequence(), BmGetOptionList(), BmLaunchRecoverySequence(), BmMain(), BmOpenDataStore(), BmpFwGetApplicationDirectoryPath(), BmpGetSelectedBootEntry(), BmpInitializeBootStatusDataLog(), BmpPopulateBootEntryList(), BmpTransferExecution(), BmpUpdateApplicationOptions(), CmpFree(), ConsoleCreateLocalInputConsole(), ConsoleCreateRemoteConsole(), ConsoleEfiTextFindModeFromAllowed(), ConsoleInputLocalDestruct(), DeviceTableDestroyEntry(), DsppInitialize(), DsppLoadFontFile(), EfiLocateHandleBuffer(), EfiVmOpenProtocol(), EfiVmpFreeInterfaceEntry(), EtfsMount(), EtfsOpen(), EtfspDeviceContextDestroy(), FileIoCopyParentDirectoryPath(), FileIoOpen(), FileTableDestroyEntry(), ImgpInitializeBootApplicationParameters(), MmBapFreeBlockAllocatorTableEntry(), MmMdFreeDescriptor(), OslpRemoveInternalApplicationOptions(), OslPrepareTarget(), and RtlpFreeMemory().
NTSTATUS BlMmFreePhysicalPages | ( | _In_ PHYSICAL_ADDRESS | Address | ) |
Definition at line 1187 of file pagealloc.c.
Referenced by BlImgAllocateImageBuffer(), BlImgLoadImageWithProgress2(), BlImgUnallocateImageBuffer(), BmMain(), ImgpLoadPEImage(), and MmDefInitializeTranslation().
NTSTATUS BlMmGetMemoryMap | ( | _In_ PLIST_ENTRY | MemoryMap, |
_In_ PBL_BUFFER_DESCRIPTOR | MemoryParameters, | ||
_In_ ULONG | WhichTypes, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 1222 of file pagealloc.c.
Referenced by ImgpInitializeBootApplicationParameters().
NTSTATUS BlMmMapPhysicalAddressEx | ( | _In_ PVOID * | VirtualAddress, |
_In_ ULONG | Attributes, | ||
_In_ ULONGLONG | Size, | ||
_In_ PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 192 of file mm.c.
Referenced by BlDisplayGetOemBitmap(), BlImgAllocateImageBuffer(), BlUtlGetAcpiTable(), ConsoleEfiGopEnable(), EfipGetRsdt(), EfiVmOpenProtocol(), and MmPapPageAllocatorExtend().
Definition at line 155 of file mm.c.
Referenced by BlInitializeLibrary(), and BlpMmInitialize().
BOOLEAN BlMmTranslateVirtualAddress | ( | _In_ PVOID | VirtualAddress, |
_Out_ PPHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 525 of file mm.c.
Referenced by BlImgUnallocateImageBuffer(), EfiAllocatePages(), EfiConInExSetState(), EfiGetMemoryMap(), EfiGopGetCurrentMode(), EfiGopGetFrameBuffer(), EfiLocateHandleBuffer(), EfiVmOpenProtocol(), ImgpLoadPEImage(), and OslDrawLogo().
Definition at line 487 of file mm.c.
Referenced by BlDisplayGetOemBitmap(), BlDisplayInvalidateOemBitmap(), BlDisplayValidOemBitmap(), BlImgLoadImageWithProgress2(), BlImgUnallocateImageBuffer(), BlUtlGetAcpiTable(), ConsoleFirmwareGraphicalDisable(), EfipGetRsdt(), EfiVmOpenProtocol(), EfiVmpFreeInterfaceEntry(), and ImgpLoadPEImage().
NTSTATUS BlockIoEfiCompareDevice | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ EFI_HANDLE | Handle | ||
) |
Definition at line 1268 of file device.c.
Referenced by BlFwEnumerateDevice().
Definition at line 189 of file arch.c.
Referenced by MmDefInitializeTranslation().
Definition at line 235 of file arch.c.
Referenced by InitializeLibrary().
VOID BlpArchSwitchContext | ( | _In_ BL_ARCH_MODE | NewMode | ) |
Definition at line 166 of file arch.c.
Referenced by BlockIoFirmwareRead(), ConsoleFirmwareTextClear(), EfiAllocatePages(), EfiCloseProtocol(), EfiConInExReset(), EfiConInExSetState(), EfiConInReset(), EfiConnectController(), EfiConOutEnableCursor(), EfiConOutOutputString(), EfiConOutQueryMode(), EfiConOutReadCurrentMode(), EfiConOutSetAttribute(), EfiConOutSetCursorPosition(), EfiConOutSetMode(), EfiFreePages(), EfiGetMemoryMap(), EfiGetVariable(), EfiGopGetCurrentMode(), EfiGopGetFrameBuffer(), EfiGopSetMode(), EfiLocateHandleBuffer(), EfiOpenProtocol(), EfiPrintf(), EfiSetWatchdogTimer(), EfiStall(), EfiVmOpenProtocol(), EfiVmpCloseProtocol(), MmFwGetMemoryMap(), and OslDrawLogo().
Definition at line 2309 of file device.c.
Referenced by BlpIoInitialize().
NTSTATUS BlpDeviceOpen | ( | _In_ PBL_DEVICE_DESCRIPTOR | Device, |
_In_ ULONG | Flags, | ||
_In_ ULONG | Unknown, | ||
_Out_ PULONG | DeviceId | ||
) |
Definition at line 2111 of file device.c.
Referenced by BiLoadHive(), BlBsdInitializeLog(), BlImgLoadBootApplication(), BmFwInitializeBootDirectoryPath(), and OslPrepareTarget().
Definition at line 575 of file display.c.
Referenced by BlInitializeLibrary(), and InitializeLibrary().
Definition at line 177 of file display.c.
Referenced by ResSelectLocale().
Definition at line 542 of file display.c.
Referenced by BlImgStartBootApplication(), and BlpDisplayInitialize().
NTSTATUS BlPdQueryData | ( | _In_ const GUID * | DataGuid, |
_In_ PVOID | Unknown, | ||
_Inout_ PBL_PD_DATA_BLOB | DataBlob | ||
) |
Definition at line 457 of file bootlib.c.
Referenced by BmpProcessBadMemory().
Definition at line 908 of file file.c.
Referenced by BlpIoInitialize().
NTSTATUS BlpFwInitialize | ( | _In_ ULONG | Phase, |
_In_ PBL_FIRMWARE_DESCRIPTOR | FirmwareParameters | ||
) |
Definition at line 2290 of file firmware.c.
Referenced by InitializeLibrary().
NTSTATUS BlpGetBootOptionIntegerList | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type, | ||
_Out_ PULONGLONG * | Value, | ||
_Out_ PULONGLONG | Count, | ||
_In_ BOOLEAN | NoCopy | ||
) |
Definition at line 541 of file bcdopt.c.
Referenced by BlImgLoadBootApplication(), and BlMmRemoveBadMemory().
Definition at line 35 of file io.c.
Referenced by InitializeLibrary().
NTSTATUS BlpIoRegisterDestroyRoutine | ( | _In_ PBL_IO_DESTROY_ROUTINE | DestroyRoutine | ) |
Definition at line 21 of file io.c.
Referenced by BcInitialize(), and BlockIopInitialize().
Definition at line 213 of file blkalloc.c.
Referenced by BcInitialize().
NTSTATUS BlpMmInitialize | ( | _In_ PBL_MEMORY_DATA | MemoryData, |
_In_ BL_TRANSLATION_TYPE | TranslationType, | ||
_In_ PBL_LIBRARY_PARAMETERS | LibraryParameters | ||
) |
Definition at line 541 of file mm.c.
Referenced by InitializeLibrary().
Definition at line 106 of file pagealloc.c.
Referenced by BlInitializeLibrary(), and MmPaInitialize().
Definition at line 478 of file resource.c.
Referenced by BlInitializeLibrary(), and InitializeLibrary().
Definition at line 687 of file firmware.c.
Referenced by BlSecureBootIsEnabled().
Definition at line 62 of file time.c.
Referenced by InitializeLibrary().
VOID BlRemoveBootOption | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type | ||
) |
Definition at line 801 of file bcdopt.c.
Referenced by BmLaunchRecoverySequence(), BmMain(), BmpGetSelectedBootEntry(), BmpLaunchBootEntry(), and OslpRemoveInternalApplicationOptions().
NTSTATUS BlReplaceBootOptions | ( | _In_ PBL_LOADED_APPLICATION_ENTRY | AppEntry, |
_In_ PBL_BCD_OPTION | NewOptions | ||
) |
Definition at line 824 of file bcdopt.c.
Referenced by BmMain().
Definition at line 305 of file resource.c.
Referenced by BmMain().
Definition at line 349 of file resource.c.
Referenced by BmpErrorLog().
Definition at line 759 of file firmware.c.
Referenced by BmMain().
Definition at line 732 of file firmware.c.
Referenced by BlSecureBootCheckForFactoryReset(), and BmFwRegisterRevocationList().
FORCEINLINE VOID BlSetupDefaultParameters | ( | _Out_ PBL_LIBRARY_PARAMETERS | LibraryParameters | ) |
VOID BlStatusError | ( | _In_ ULONG | ErrorCode, |
_In_ ULONG | Parameter1, | ||
_In_ ULONG_PTR | Parameter2, | ||
_In_ ULONG_PTR | Parameter3, | ||
_In_ ULONG_PTR | Parameter4 | ||
) |
Definition at line 121 of file debug.c.
Referenced by BmFatalErrorEx().
Definition at line 75 of file debug.c.
Referenced by BiEnumerateSubObjectElements(), BlStatusError(), BmFatalErrorEx(), BmFwMemoryInitialize(), MmHapReportHeapCorruption(), OslAbortBoot(), and OslFatalErrorEx().
PVOID BlTblFindEntry | ( | _In_ PVOID * | Table, |
_In_ ULONG | Count, | ||
_Out_ PULONG | EntryIndex, | ||
_In_ PBL_TBL_LOOKUP_ROUTINE | Callback, | ||
_In_ PVOID | Argument1, | ||
_In_ PVOID | Argument2, | ||
_In_ PVOID | Argument3, | ||
_In_ PVOID | Argument4 | ||
) |
Definition at line 273 of file util.c.
Referenced by BlockIoOpen(), BlpDeviceOpen(), FileIoOpen(), and MmBapFindBlockInformation().
Definition at line 399 of file util.c.
Referenced by BlockIoDeviceTableDestroy().
NTSTATUS BlTblSetEntry | ( | _Inout_ PVOID ** | Table, |
_Inout_ PULONG | Count, | ||
_In_ PVOID | Entry, | ||
_Out_ PULONG | EntryIndex, | ||
_In_ PBL_TBL_SET_ROUTINE | Callback | ||
) |
Definition at line 321 of file util.c.
Referenced by BlHtCreate(), BlImgLoadBootApplication(), BlockIoFirmwareOpen(), BlpDeviceOpen(), BlpIoRegisterDestroyRoutine(), BlpMmCreateBlockAllocator(), EtfsMount(), and FileIoOpen().
ULONGLONG BlTimeQueryPerformanceCounter | ( | _Out_opt_ PLARGE_INTEGER | Frequency | ) |
Definition at line 101 of file time.c.
Referenced by BlImgLoadBootApplication().
ULONG BlUtlCheckSum | ( | _In_ ULONG | PartialSum, |
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | Length, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 777 of file util.c.
Referenced by ImgpLoadPEImage().
Definition at line 34 of file util.c.
Referenced by BlDisplayGetOemBitmap(), and BlDisplayInvalidateOemBitmap().
Definition at line 197 of file util.c.
Referenced by InitializeLibrary().
Definition at line 244 of file util.c.
Referenced by BmMain().
Definition at line 181 of file util.c.
Referenced by BlImgLoadImageWithProgress2().
C_ASSERT | ( | BL_MM_INCLUDE_NO_FIRMWARE_MEMORY | = =0x1BF | ) |
C_ASSERT | ( | BL_MM_INCLUDE_ONLY_FIRMWARE_MEMORY | = =0x240 | ) |
Definition at line 243 of file textcons.c.
Referenced by DsppInitialize(), and DsppReinitialize().
NTSTATUS ConsoleCreateRemoteConsole | ( | _In_ PBL_TEXT_CONSOLE * | TextConsole | ) |
Definition at line 31 of file emscons.c.
Referenced by DsppInitialize(), and DsppReinitialize().
VOID ConsoleEfiGopClose | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 177 of file gop.c.
Referenced by ConsoleFirmwareGraphicalClose().
NTSTATUS ConsoleEfiGopEnable | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 88 of file gop.c.
Referenced by ConsoleFirmwareGraphicalEnable().
NTSTATUS ConsoleEfiGopOpen | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 198 of file gop.c.
Referenced by ConsoleEfiGraphicalOpenProtocol().
NTSTATUS ConsoleEfiGraphicalOpenProtocol | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole, |
_In_ BL_GRAPHICS_CONSOLE_TYPE | Type | ||
) |
Definition at line 34 of file guicons.c.
Referenced by ConsoleGraphicalConstruct().
VOID ConsoleEfiUgaClose | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 27 of file uga.c.
Referenced by ConsoleFirmwareGraphicalClose().
NTSTATUS ConsoleEfiUgaOpen | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 18 of file uga.c.
Referenced by ConsoleEfiGraphicalOpenProtocol().
NTSTATUS ConsoleEfiUgaSetResolution | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole, |
_In_ PBL_DISPLAY_MODE | DisplayMode, | ||
_In_ ULONG | DisplayModeCount | ||
) |
Definition at line 35 of file uga.c.
Referenced by ConsoleFirmwareGraphicalEnable().
NTSTATUS ConsoleFirmwareGraphicalClear | ( | _In_ PBL_GRAPHICS_CONSOLE | Console, |
_In_ ULONG | Color | ||
) |
Definition at line 90 of file guicons.c.
Referenced by ConsoleGraphicalClearPixels().
VOID ConsoleFirmwareGraphicalClose | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 18 of file guicons.c.
Referenced by ConsoleGraphicalConstruct(), and ConsoleGraphicalDestruct().
VOID ConsoleFirmwareGraphicalDisable | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 153 of file guicons.c.
Referenced by ConsoleGraphicalDestruct(), ConsoleGraphicalEnable(), and ConsoleGraphicalReinitialize().
NTSTATUS ConsoleFirmwareGraphicalEnable | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 128 of file guicons.c.
Referenced by ConsoleGraphicalConstruct(), ConsoleGraphicalEnable(), and ConsoleGraphicalReinitialize().
NTSTATUS ConsoleFirmwareTextClear | ( | _In_ PBL_TEXT_CONSOLE | Console, |
_In_ BOOLEAN | LineOnly | ||
) |
Definition at line 557 of file textcons.c.
Referenced by ConsoleGraphicalClearText(), and ConsoleTextLocalClearText().
VOID ConsoleFirmwareTextClose | ( | _In_ PBL_TEXT_CONSOLE | TextConsole | ) |
Definition at line 398 of file textcons.c.
Referenced by ConsoleGraphicalEnable(), and ConsoleTextLocalConstruct().
NTSTATUS ConsoleFirmwareTextOpen | ( | _In_ PBL_TEXT_CONSOLE | TextConsole | ) |
Definition at line 421 of file textcons.c.
Referenced by ConsoleGraphicalEnable(), and ConsoleTextLocalConstruct().
NTSTATUS ConsoleFirmwareTextSetState | ( | _In_ PBL_TEXT_CONSOLE | TextConsole, |
_In_ UCHAR | Mask, | ||
_In_ PBL_DISPLAY_STATE | State | ||
) |
Definition at line 198 of file textcons.c.
Referenced by ConsoleFirmwareTextClose(), ConsoleGraphicalSetTextState(), ConsoleTextLocalConstruct(), and ConsoleTextLocalSetTextState().
NTSTATUS ConsoleGraphicalClearPixels | ( | _In_ PBL_GRAPHICS_CONSOLE | Console, |
_In_ ULONG | Color | ||
) |
Definition at line 275 of file guicons.c.
Referenced by BfClearScreen().
NTSTATUS ConsoleGraphicalClearText | ( | _In_ PBL_GRAPHICS_CONSOLE | Console, |
_In_ BOOLEAN | LineOnly | ||
) |
Definition at line 299 of file guicons.c.
NTSTATUS ConsoleGraphicalConstruct | ( | _In_ PBL_GRAPHICS_CONSOLE | GraphicsConsole | ) |
Definition at line 58 of file guicons.c.
Referenced by DsppInitialize().
VOID ConsoleGraphicalDestruct | ( | _In_ struct _BL_GRAPHICS_CONSOLE * | Console | ) |
NTSTATUS ConsoleGraphicalGetGraphicalResolution | ( | _In_ struct _BL_GRAPHICS_CONSOLE * | Console, |
_In_ PBL_DISPLAY_MODE | DisplayMode | ||
) |
NTSTATUS ConsoleGraphicalGetOriginalResolution | ( | _In_ struct _BL_GRAPHICS_CONSOLE * | Console, |
_In_ PBL_DISPLAY_MODE | DisplayMode | ||
) |
BOOLEAN ConsoleGraphicalIsEnabled | ( | _In_ struct _BL_GRAPHICS_CONSOLE * | Console | ) |
NTSTATUS ConsoleGraphicalReinitialize | ( | _In_ struct _BL_GRAPHICS_CONSOLE * | Console | ) |
NTSTATUS ConsoleGraphicalSetTextState | ( | _In_ PBL_GRAPHICS_CONSOLE | Console, |
_In_ ULONG | Mask, | ||
_In_ PBL_DISPLAY_STATE | TextState | ||
) |
Definition at line 37 of file guicons.c.
NTSTATUS ConsoleInputBaseReinitialize | ( | _In_ struct _BL_INPUT_CONSOLE * | Console | ) |
VOID ConsoleInputLocalDestruct | ( | _In_ struct _BL_INPUT_CONSOLE * | Console | ) |
NTSTATUS ConsoleInputLocalEraseBuffer | ( | _In_ PBL_INPUT_CONSOLE | Console, |
_In_opt_ PULONG | ValueToFill | ||
) |
Definition at line 527 of file textcons.c.
Referenced by ConsoleInputLocalDestruct().
VOID ConsolepClearBuffer | ( | _In_ PUCHAR | FrameBuffer, |
_In_ ULONG | Width, | ||
_In_ PUCHAR | FillColor, | ||
_In_ ULONG | Height, | ||
_In_ ULONG | ScanlineWidth, | ||
_In_ ULONG | PixelDepth | ||
) |
Definition at line 109 of file guicons.c.
Referenced by ConsoleFirmwareGraphicalClear().
Definition at line 174 of file guicons.c.
Referenced by ConsoleFirmwareGraphicalClear().
BOOLEAN ConsolepFindResolution | ( | _In_ PBL_DISPLAY_MODE | Mode, |
_In_ PBL_DISPLAY_MODE | List, | ||
_In_ ULONG | MaxIndex | ||
) |
Definition at line 159 of file textcons.c.
Referenced by ConsoleFirmwareTextOpen().
NTSTATUS ConsoleTextBaseGetTextResolution | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_Out_ PULONG | TextResolution | ||
) |
Definition at line 66 of file textcons.c.
NTSTATUS ConsoleTextBaseGetTextState | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_Out_ PBL_DISPLAY_STATE | TextState | ||
) |
Definition at line 47 of file textcons.c.
NTSTATUS ConsoleTextLocalClearText | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_In_ BOOLEAN | LineOnly | ||
) |
Definition at line 85 of file textcons.c.
NTSTATUS ConsoleTextLocalConstruct | ( | _In_ PBL_TEXT_CONSOLE | TextConsole, |
_In_ BOOLEAN | Activate | ||
) |
Definition at line 104 of file textcons.c.
Referenced by ConsoleGraphicalConstruct(), and DsppInitialize().
VOID ConsoleTextLocalDestruct | ( | _In_ struct _BL_TEXT_CONSOLE * | Console | ) |
Definition at line 30 of file textcons.c.
Referenced by ConsoleGraphicalConstruct(), and ConsoleGraphicalDestruct().
NTSTATUS ConsoleTextLocalReinitialize | ( | _In_ struct _BL_TEXT_CONSOLE * | Console | ) |
Definition at line 38 of file textcons.c.
Referenced by ConsoleGraphicalReinitialize().
NTSTATUS ConsoleTextLocalSetTextResolution | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_In_ ULONG | NewTextResolution, | ||
_Out_ PULONG | OldTextResolution | ||
) |
Definition at line 75 of file textcons.c.
NTSTATUS ConsoleTextLocalSetTextState | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_In_ ULONG | Flags, | ||
_In_ PBL_DISPLAY_STATE | TextState | ||
) |
Definition at line 56 of file textcons.c.
NTSTATUS ConsoleTextLocalWriteText | ( | _In_ struct _BL_TEXT_CONSOLE * | Console, |
_In_ PCHAR | Text, | ||
_In_ ULONG | Attribute | ||
) |
Definition at line 94 of file textcons.c.
DEFINE_GUID | ( | BadMemoryGuid | , |
0x54B8275B | , | ||
0xD431 | , | ||
0x473F | , | ||
0xAC | , | ||
0xFB | , | ||
0xE5 | , | ||
0x36 | , | ||
0xA0 | , | ||
0x84 | , | ||
0x94 | , | ||
0xA3 | |||
) |
NTSTATUS EfiAllocatePages | ( | _In_ ULONG | Type, |
_In_ ULONG | Pages, | ||
_Inout_ EFI_PHYSICAL_ADDRESS * | Memory | ||
) |
Definition at line 1568 of file firmware.c.
Referenced by MmFwGetMemoryMap(), and MmPapAllocateRegionFromMdl().
NTSTATUS EfiCloseProtocol | ( | _In_ EFI_HANDLE | Handle, |
_In_ EFI_GUID * | Protocol | ||
) |
Definition at line 581 of file firmware.c.
Referenced by BlockIoEfiGetChildHandle(), BlockIoEfiGetDeviceInformation(), BlockIoFirmwareRead(), ConsoleEfiGopClose(), ConsoleEfiGopOpen(), ConsoleEfiGraphicalOpenProtocol(), and DiskClose().
Definition at line 825 of file firmware.c.
Referenced by ConsoleInputLocalEraseBuffer().
Definition at line 794 of file firmware.c.
Referenced by ConsoleInputLocalEraseBuffer().
NTSTATUS EfiConOutEnableCursor | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ BOOLEAN | Visible | ||
) |
Definition at line 1163 of file firmware.c.
Referenced by ConsoleFirmwareTextSetState().
NTSTATUS EfiConOutOutputString | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ PWCHAR | String | ||
) |
Definition at line 1195 of file firmware.c.
Referenced by ConsoleFirmwareTextClear().
NTSTATUS EfiConOutQueryMode | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ ULONG | Mode, | ||
_In_ UINTN * | Columns, | ||
_In_ UINTN * | Rows | ||
) |
Definition at line 1032 of file firmware.c.
Referenced by ConsoleEfiTextFindModeFromAllowed(), and ConsoleFirmwareTextOpen().
VOID EfiConOutReadCurrentMode | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_Out_ EFI_SIMPLE_TEXT_OUTPUT_MODE * | Mode | ||
) |
Definition at line 1227 of file firmware.c.
Referenced by ConsoleEfiTextFindModeFromAllowed(), and ConsoleFirmwareTextOpen().
NTSTATUS EfiConOutSetAttribute | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ ULONG | Attribute | ||
) |
Definition at line 1098 of file firmware.c.
Referenced by ConsoleFirmwareTextSetState().
NTSTATUS EfiConOutSetCursorPosition | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ ULONG | Column, | ||
_In_ ULONG | Row | ||
) |
Definition at line 1130 of file firmware.c.
Referenced by ConsoleFirmwareTextClear(), and ConsoleFirmwareTextSetState().
NTSTATUS EfiConOutSetMode | ( | _In_ SIMPLE_TEXT_OUTPUT_INTERFACE * | TextInterface, |
_In_ ULONG | Mode | ||
) |
Definition at line 1066 of file firmware.c.
Referenced by ConsoleFirmwareTextClose(), and ConsoleFirmwareTextOpen().
NTSTATUS EfiFreePages | ( | _In_ ULONG | Pages, |
_In_ EFI_PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 973 of file firmware.c.
Referenced by MmFwFreePages(), and MmFwGetMemoryMap().
EFI_STATUS EfiGetEfiStatusCode | ( | _In_ NTSTATUS | Status | ) |
Definition at line 2474 of file firmware.c.
Referenced by EfiEntry().
EFI_DEVICE_PATH * EfiGetLeafNode | ( | _In_ EFI_DEVICE_PATH * | DevicePath | ) |
Definition at line 102 of file firmware.c.
Referenced by BlockIoEfiGetDeviceInformation().
NTSTATUS EfiGetNtStatusCode | ( | _In_ EFI_STATUS | EfiStatus | ) |
Definition at line 2539 of file firmware.c.
Referenced by BlockIoFirmwareRead(), ConsoleFirmwareTextClear(), EfiAllocatePages(), EfiCloseProtocol(), EfiConInExReset(), EfiConInExSetState(), EfiConInReset(), EfiConnectController(), EfiConOutEnableCursor(), EfiConOutOutputString(), EfiConOutQueryMode(), EfiConOutSetAttribute(), EfiConOutSetCursorPosition(), EfiConOutSetMode(), EfiFreePages(), EfiGetMemoryMap(), EfiGetVariable(), EfiGopSetMode(), EfiLocateHandleBuffer(), EfiOpenProtocol(), EfiSetWatchdogTimer(), EfiStall(), EfiVmOpenProtocol(), EfiVmpCloseProtocol(), and MmFwGetMemoryMap().
NTSTATUS EfiGopGetCurrentMode | ( | _In_ EFI_GRAPHICS_OUTPUT_PROTOCOL * | GopInterface, |
_Out_ UINTN * | Mode, | ||
_Out_ EFI_GRAPHICS_OUTPUT_MODE_INFORMATION * | Information | ||
) |
Definition at line 1296 of file firmware.c.
Referenced by ConsoleEfiGopEnable(), and ConsoleEfiGopOpen().
VOID EfiGopGetFrameBuffer | ( | _In_ EFI_GRAPHICS_OUTPUT_PROTOCOL * | GopInterface, |
_Out_ PHYSICAL_ADDRESS * | FrameBuffer, | ||
_Out_ UINTN * | FrameBufferSize | ||
) |
Definition at line 1255 of file firmware.c.
Referenced by ConsoleEfiGopEnable().
NTSTATUS EfiGopSetMode | ( | _In_ EFI_GRAPHICS_OUTPUT_PROTOCOL * | GopInterface, |
_In_ ULONG | Mode | ||
) |
Definition at line 1349 of file firmware.c.
Referenced by ConsoleEfiGopClose(), and ConsoleEfiGopEnable().
EFI_DEVICE_PATH * EfiIsDevicePathParent | ( | _In_ EFI_DEVICE_PATH * | DevicePath1, |
_In_ EFI_DEVICE_PATH * | DevicePath2 | ||
) |
Definition at line 47 of file firmware.c.
Referenced by BlockIoEfiGetChildHandle().
NTSTATUS EfiLocateHandleBuffer | ( | _In_ EFI_LOCATE_SEARCH_TYPE | SearchType, |
_In_ EFI_GUID * | Protocol, | ||
_Inout_ PULONG | HandleCount, | ||
_Inout_ EFI_HANDLE ** | Buffer | ||
) |
Definition at line 1399 of file firmware.c.
Referenced by BlFwEnumerateDevice(), BlockIoEfiGetChildHandle(), BlockIoFirmwareOpen(), and ConsoleEfiGraphicalOpenProtocol().
NTSTATUS EfipGetRsdt | ( | _Out_ PPHYSICAL_ADDRESS | FoundRsdt | ) |
Definition at line 1635 of file firmware.c.
Referenced by BlUtlGetAcpiTable().
Definition at line 126 of file firmware.c.
Referenced by Archx86TransferTo32BitApplicationAsm(), BcInitialize(), BcpDestroy(), BfiLoadFontFile(), BiConvertRegistryDataToElement(), BiEnumerateElements(), BiFlushHive(), BiLoadHive(), BiNotifyEnumerationError(), BlArchGetCpuVendor(), BlArchGetPerformanceCounter(), BlArchIsCpuIdFunctionSupported(), BlBdPullRemoteFile(), BlBsdInitializeLog(), BlDestroyLibrary(), BlDisplayGetTextCellResolution(), BlFileOpen(), BlFileReadAtOffsetEx(), BlImgLoadImageWithProgress2(), BlMmAllocateHeap(), BlMmRemoveBadMemory(), BlMmUnmapVirtualAddressEx(), BlockIoEfiCreateDeviceEntry(), BlockIoEfiFlush(), BlockIoEfiGetDeviceInformation(), BlockIoEfiReset(), BlockIoFirmwareOpen(), BlockIoGetGPTDiskSignature(), BlockIopOperation(), BlockIopReadPhysicalDevice(), BlockIopReadUsingPrefetch(), BlockIoSetInformation(), BlpArchInitialize(), BlpDeviceOpen(), BlpDeviceResolveLocate(), BlPdQueryData(), BlpMmInitialize(), BlpPdParseReturnArguments(), BlpTimeCalibratePerformanceCounter(), BlpTimeMeasureTscFrequency(), BlResourceFindMessage(), BlSecureBootCheckForFactoryReset(), BlStatusPrint(), BlTimeQueryPerformanceCounter(), BlUtlCheckSum(), BlUtlGetAcpiTable(), BlUtlUpdateProgress(), BlXmiWrite(), BmCloseDataStore(), BmDisplayDumpError(), BmEnumerateBootEntries(), BmFatalErrorEx(), BmFwInitializeBootDirectoryPath(), BmFwRegisterRevocationList(), BmMain(), BmOpenDataStore(), BmpCreateDevices(), BmpGetSelectedBootEntry(), BmpPopulateBootEntryList(), BmpProcessBadMemory(), BmpProcessBootEntry(), BmProcessCustomAction(), BmpTransferExecution(), BmResumeFromHibernate(), BmUpdateProgress(), BmUpdateProgressInfo(), ConsoleEfiGopOpen(), ConsoleEfiGraphicalOpenProtocol(), ConsoleEfiTextFindModeFromAllowed(), ConsoleEfiUgaOpen(), ConsoleFirmwareGraphicalClear(), ConsoleFirmwareTextOpen(), ConsoleGraphicalConstruct(), ConsoleGraphicalSetTextState(), ConsoleTextLocalConstruct(), ConsoleTextLocalReinitialize(), DbgPrint(), DsppInitialize(), DsppReinitialize(), EfiConInExReset(), EfiConInReset(), EfiConnectController(), EfiConOutEnableCursor(), EfiConOutOutputString(), EfiConOutQueryMode(), EfiConOutReadCurrentMode(), EfiConOutSetAttribute(), EfiConOutSetCursorPosition(), EfiConOutSetMode(), EfiGetVariable(), EfiGopSetMode(), EfiResetSystem(), EtfsMount(), EtfspCheckCdfs(), EtfspCheckEtfs(), EtfspCreateContext(), EtfspGetDirent(), EtfsSetInformation(), FatMount(), FileDeviceOpen(), FileIoOpen(), ImgArchEfiStartBootApplication(), ImgpCopyApplicationBootDevice(), ImgpLoadPEImage(), InitializeLibrary(), MmArchInitialize(), MmArchTranslateVirtualAddress(), MmBapFreeBlockAllocatorDescriptor(), MmDefInitializeTranslation(), MmDefMoveVirtualAddressRange(), MmDefpDestroySelfMap(), MmDefpMapPhysicalAddress(), MmDefpRemapVirtualAddress(), MmDefpTranslateVirtualAddress(), MmDefpUnmapVirtualAddress(), MmDefRelocateSelfMap(), MmDefZeroVirtualAddressRange(), MmFwGetMemoryMap(), MmHapHeapAllocatorExtend(), MmHapReportHeapCorruption(), MmMapPhysicalAddress(), MmMdDbgDumpList(), MmMdInitByteGranularDescriptor(), MmMdpCoalesceDescriptor(), MmMdpSwitchToDynamicDescriptors(), MmMdpTruncateDescriptor(), MmMdTruncateDescriptors(), MmPaAllocatePages(), MmPaInitialize(), MmPapAllocatePagesInRange(), MmPapAllocateRegionFromMdl(), MmPapFreePages(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReleaseSelfMapPages(), MmTrInitialize(), MmUnmapVirtualAddress(), OslArchTransferToKernel(), OslDrawLogo(), OslMain(), OslpMain(), OslPrepareTarget(), PartitionOpen(), RdDeviceOpen(), RtlAssert(), SpOpen(), UdpOpen(), and VhdFileDeviceOpen().
VOID EfiResetSystem | ( | _In_ EFI_RESET_TYPE | ResetType | ) |
Definition at line 1509 of file firmware.c.
Referenced by BlFwReboot().
Definition at line 1003 of file firmware.c.
Referenced by BiEnumerateElements(), BlMmUnmapVirtualAddressEx(), BlpTimeMeasureTscFrequency(), BmMain(), BmpGetSelectedBootEntry(), EfiConInExReset(), EfiConInReset(), EfiConnectController(), EfiConOutEnableCursor(), EfiConOutOutputString(), EfiConOutQueryMode(), EfiConOutReadCurrentMode(), EfiConOutSetAttribute(), EfiConOutSetCursorPosition(), EfiConOutSetMode(), EfiGetVariable(), EfiGopSetMode(), EfiResetSystem(), ImgArchEfiStartBootApplication(), MmDefpMapPhysicalAddress(), MmHapHeapAllocatorExtend(), MmMapPhysicalAddress(), MmMdInitByteGranularDescriptor(), MmMdpSwitchToDynamicDescriptors(), MmMdpTruncateDescriptor(), MmPaAllocatePages(), MmPapAllocatePagesInRange(), MmPapAllocateRegionFromMdl(), MmPapPageAllocatorExtend(), MmTrInitialize(), MmUnmapVirtualAddress(), and OslDrawLogo().
Definition at line 969 of file etfs.c.
Definition at line 874 of file etfs.c.
Definition at line 81 of file fat.c.
Definition at line 23 of file fat.c.
PBL_BCD_OPTION MiscGetBootOption | ( | _In_ PBL_BCD_OPTION | List, |
_In_ ULONG | Type | ||
) |
Definition at line 17 of file bcdopt.c.
Referenced by BlGetBootOptionBoolean(), BlGetBootOptionDevice(), BlGetBootOptionGuid(), BlGetBootOptionGuidList(), BlGetBootOptionInteger(), BlGetBootOptionString(), BlpGetBootOptionIntegerList(), BlRemoveBootOption(), BmGetOptionList(), BmpLaunchBootEntry(), BmpPopulateBootEntryList(), BmpTransferExecution(), DsppReinitialize(), and MiscGetBootOption().
NTSTATUS MmArchInitialize | ( | _In_ ULONG | Phase, |
_In_ PBL_MEMORY_DATA | MemoryData, | ||
_In_ BL_TRANSLATION_TYPE | TranslationType, | ||
_In_ BL_TRANSLATION_TYPE | LibraryTranslationType | ||
) |
Definition at line 1028 of file mmx86.c.
Referenced by BlpMmInitialize().
BOOLEAN MmArchTranslateVirtualAddress | ( | _In_ PVOID | VirtualAddress, |
_Out_opt_ PPHYSICAL_ADDRESS | PhysicalAddress, | ||
_Out_opt_ PULONG | CachingFlags | ||
) |
Definition at line 108 of file mmx86.c.
Referenced by BlMmTranslateVirtualAddress(), and MmMapPhysicalAddress().
Definition at line 271 of file blkalloc.c.
Referenced by BlpMmInitialize().
Definition at line 28 of file fwutil.c.
Referenced by MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), and MmPaReleaseSelfMapPages().
NTSTATUS MmFwGetMemoryMap | ( | _Out_ PBL_MEMORY_DESCRIPTOR_LIST | MemoryMap, |
_In_ ULONG | Flags | ||
) |
Definition at line 1845 of file firmware.c.
Referenced by BlMmGetMemoryMap(), MmPaInitialize(), and Mmx86pMapMemoryRegions().
Definition at line 538 of file heapalloc.c.
Referenced by BlpMmInitialize().
NTSTATUS MmMapPhysicalAddress | ( | _Inout_ PPHYSICAL_ADDRESS | PhysicalAddress, |
_Out_ PVOID * | VirtualAddress, | ||
_Inout_ PULONGLONG | Size, | ||
_In_ ULONG | CacheAttributes | ||
) |
Referenced by BlMmMapPhysicalAddressEx().
NTSTATUS MmMdAddDescriptorToList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 582 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmFwGetMemoryMap(), MmMdCopyList(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPaInitialize(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReleaseSelfMapPages(), and MmTrInitialize().
NTSTATUS MmMdCopyList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | DestinationList, |
_In_ PBL_MEMORY_DESCRIPTOR_LIST | SourceList, | ||
_In_opt_ PBL_MEMORY_DESCRIPTOR | ListDescriptor, | ||
_Out_ PULONG | ActualCount, | ||
_In_ ULONG | Count, | ||
_In_ ULONG | Flags | ||
) |
Definition at line 249 of file descriptor.c.
Referenced by BlMmGetMemoryMap().
ULONG MmMdCountList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList | ) |
Definition at line 205 of file descriptor.c.
Referenced by BlMmGetMemoryMap().
VOID MmMdDbgDumpList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | DescriptorList, |
_In_opt_ ULONG | MaxCount | ||
) |
Definition at line 579 of file mmx86.c.
PBL_MEMORY_DESCRIPTOR MmMdFindDescriptor | ( | _In_ ULONG | WhichList, |
_In_ ULONG | Flags, | ||
_In_ ULONGLONG | Page | ||
) |
Definition at line 1049 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmArchTranslateVirtualAddress(), MmPapFreePhysicalPages(), and MmPaReleaseSelfMapPages().
PBL_MEMORY_DESCRIPTOR MmMdFindDescriptorFromMdl | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ ULONG | Flags, | ||
_In_ ULONGLONG | Page | ||
) |
Definition at line 960 of file descriptor.c.
Referenced by MmFwGetMemoryMap(), and MmMdFindDescriptor().
BOOLEAN MmMdFindSatisfyingRegion | ( | _In_ PBL_MEMORY_DESCRIPTOR | Descriptor, |
_Out_ PBL_MEMORY_DESCRIPTOR | NewDescriptor, | ||
_In_ ULONGLONG | Pages, | ||
_In_ PBL_ADDRESS_RANGE | BaseRange, | ||
_In_ PBL_ADDRESS_RANGE | VirtualRange, | ||
_In_ BOOLEAN | TopDown, | ||
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ ULONG | Flags, | ||
_In_ ULONG | Alignment | ||
) |
Definition at line 1158 of file descriptor.c.
Referenced by MmPapAllocateRegionFromMdl().
NTSTATUS MmMdFreeDescriptor | ( | _In_ PBL_MEMORY_DESCRIPTOR | MemoryDescriptor | ) |
Definition at line 157 of file descriptor.c.
Referenced by MmFwGetMemoryMap(), MmMdFreeList(), MmMdRemoveRegionFromMdlEx(), MmPapAllocateRegionFromMdl(), and Mmx86pMapMemoryRegions().
Definition at line 1332 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), BlMmUnmapVirtualAddressEx(), BlpMmInitialize(), MmMdCopyList(), MmPapAllocatePagesInRange(), MmPapAllocatePhysicalPagesInRange(), MmPaReserveSelfMapPages(), MmPaTruncateMemory(), and TrpGenerateMappingTracker().
VOID MmMdFreeList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList | ) |
Definition at line 356 of file descriptor.c.
Referenced by BlMmGetMemoryMap(), MmFwGetMemoryMap(), and MmMdRemoveRegionFromMdlEx().
PBL_MEMORY_DESCRIPTOR MmMdInitByteGranularDescriptor | ( | _In_ ULONG | Flags, |
_In_ BL_MEMORY_TYPE | Type, | ||
_In_ ULONGLONG | BasePage, | ||
_In_ ULONGLONG | VirtualPage, | ||
_In_ ULONGLONG | PageCount | ||
) |
Definition at line 377 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmFwGetMemoryMap(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPaInitialize(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReleaseSelfMapPages(), MmTrInitialize(), and TrpGenerateMappingTracker().
VOID MmMdInitialize | ( | _In_ ULONG | Phase, |
_In_ PBL_LIBRARY_PARAMETERS | LibraryParameters | ||
) |
Definition at line 1384 of file descriptor.c.
Referenced by BlpMmInitialize().
VOID MmMdInitializeList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | DescriptorList, |
_In_ ULONG | Type, | ||
_In_ PLIST_ENTRY | ListHead | ||
) |
Definition at line 222 of file descriptor.c.
Referenced by BlMmGetMemoryMap(), and MmMdRemoveRegionFromMdlEx().
FORCEINLINE VOID MmMdInitializeListHead | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | List | ) |
Definition at line 1376 of file bl.h.
Referenced by BlMmGetMemoryMap(), MmPaInitialize(), MmTrInitialize(), and Mmx86pMapMemoryRegions().
VOID MmMdRemoveDescriptorFromList | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR | Entry | ||
) |
Definition at line 338 of file descriptor.c.
Referenced by BlMmMapPhysicalAddressEx(), MmMdFreeList(), MmMdRemoveRegionFromMdlEx(), MmMdTruncateDescriptors(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), and Mmx86pMapMemoryRegions().
NTSTATUS MmMdTruncateDescriptors | ( | _In_ PBL_MEMORY_DESCRIPTOR_LIST | MdList, |
_In_ PBL_MEMORY_DESCRIPTOR_LIST | NewList, | ||
_In_ ULONGLONG | BasePage | ||
) |
Definition at line 410 of file descriptor.c.
Referenced by MmPaTruncateMemory().
NTSTATUS MmPaInitialize | ( | _In_ PBL_MEMORY_DATA | MemoryData, |
_In_ ULONG | MinimumPages | ||
) |
Referenced by BlpMmInitialize().
NTSTATUS MmPapAllocatePagesInRange | ( | _Inout_ PVOID * | PhysicalAddress, |
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ ULONGLONG | Pages, | ||
_In_ ULONG | Attributes, | ||
_In_ ULONG | Alignment, | ||
_In_opt_ PBL_ADDRESS_RANGE | Range, | ||
_In_ ULONG | Type | ||
) |
Definition at line 707 of file pagealloc.c.
Referenced by BiLoadHive(), BlImgAllocateImageBuffer(), BlockIopAllocateAlignedBuffer(), BlockIopInitialize(), ImgArchEfiStartBootApplication(), MmFwGetMemoryMap(), and MmHapHeapAllocatorExtend().
NTSTATUS MmPapAllocatePhysicalPagesInRange | ( | _Inout_ PPHYSICAL_ADDRESS | BaseAddress, |
_In_ BL_MEMORY_TYPE | MemoryType, | ||
_In_ ULONGLONG | Pages, | ||
_In_ ULONG | Attributes, | ||
_In_ ULONG | Alignment, | ||
_In_ PBL_MEMORY_DESCRIPTOR_LIST | NewList, | ||
_In_opt_ PBL_ADDRESS_RANGE | Range, | ||
_In_ ULONG | RangeType | ||
) |
Definition at line 438 of file pagealloc.c.
Referenced by BlMmAllocatePhysicalPages(), BmFwMemoryInitialize(), MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), and MmPapAllocatePagesInRange().
Definition at line 1196 of file pagealloc.c.
Referenced by BiCloseKey(), BiLoadHive(), BlImgLoadImageWithProgress2(), BlImgUnallocateImageBuffer(), BlockIopFreeAlignedBuffer(), BlockIopInitialize(), ImgArchEfiStartBootApplication(), ImgpCloseFile(), ImgpLoadPEImage(), and MmFwGetMemoryMap().
NTSTATUS MmPaReleaseSelfMapPages | ( | _In_ PHYSICAL_ADDRESS | Address | ) |
Definition at line 1505 of file pagealloc.c.
Referenced by MmDefInitializeTranslation().
NTSTATUS MmPaReserveSelfMapPages | ( | _Inout_ PPHYSICAL_ADDRESS | PhysicalAddress, |
_In_ ULONG | Alignment, | ||
_In_ ULONG | PageCount | ||
) |
Definition at line 1564 of file pagealloc.c.
Referenced by MmDefInitializeTranslation().
Definition at line 51 of file pagealloc.c.
Referenced by BlpMmInitializeConstraints(), and MmDefInitializeTranslation().
NTSTATUS MmSelectMappingAddress | ( | _Out_ PVOID * | MappingAddress, |
_In_ PVOID | PreferredAddress, | ||
_In_ ULONGLONG | Size, | ||
_In_ ULONG | AllocationAttributes, | ||
_In_ ULONG | Flags, | ||
_In_ PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 1625 of file pagealloc.c.
Referenced by BlMmMapPhysicalAddressEx().
NTSTATUS MmUnmapVirtualAddress | ( | _Inout_ PVOID * | VirtualAddress, |
_Inout_ PULONGLONG | Size | ||
) |
Definition at line 453 of file mm.c.
Referenced by BlMmMapPhysicalAddressEx(), BlMmUnmapVirtualAddressEx(), and Mmx86MapInitStructure().
FORCEINLINE PVOID PhysicalAddressToPtr | ( | _In_ PHYSICAL_ADDRESS | PhysicalAddress | ) |
Definition at line 1389 of file bl.h.
Referenced by BlImgAllocateImageBuffer(), EfiAllocatePages(), EfiConInExSetState(), EfiGetMemoryMap(), EfiGopGetCurrentMode(), EfiGopGetFrameBuffer(), EfiLocateHandleBuffer(), EfiVmOpenProtocol(), MmPapAllocatePagesInRange(), MmSelectMappingAddress(), and OslDrawLogo().
Definition at line 495 of file util.c.
Referenced by BlHtCreate(), BlImgLoadBootApplication(), BlockIoFirmwareOpen(), BlpIoRegisterDestroyRoutine(), and EtfsMount().
|
extern |
Definition at line 48 of file mmx86.c.
Referenced by MmArchInitialize().
|
extern |
Definition at line 17 of file arch.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
|
extern |
Definition at line 16 of file arch.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
|
extern |
Definition at line 18 of file arch.c.
Referenced by MmArchInitialize(), and OslArchKernelSetup().
|
extern |
Definition at line 19 of file bootlib.c.
Referenced by BlDisplayValidOemBitmap(), BlGetApplicationIdentifier(), BlMmRemoveBadMemory(), BlpMmInitializeConstraints(), BmDisplayDumpError(), BmEnumerateBootEntries(), BmFatalErrorEx(), BmGetBootMenuPolicy(), BmMain(), BmOpenDataStore(), BmpFwGetApplicationDirectoryPath(), BmpGetDefaultBootEntry(), BmpGetSelectedBootEntry(), BmpInitializeBootStatusDataLog(), BmpLaunchBootEntry(), BmpUpdateApplicationOptions(), BmResumeFromHibernate(), DsppGraphicsDisabledByBcd(), DsppInitialize(), DsppLoadFontFile(), DsppReinitialize(), InitializeLibrary(), MmArchInitialize(), OslGetBootStatusData(), OslpCheckForcedFailure(), OslpRemoveInternalApplicationOptions(), and OslPrepareTarget().
|
extern |
Definition at line 21 of file bootlib.c.
Referenced by ArchInitializeContext(), BmFwVerifySelfIntegrity(), and EfiInitCreateInputParametersEx().
|
extern |
Definition at line 16 of file bootlib.c.
Referenced by BlpDeviceOpen(), BmFwInitializeBootDirectoryPath(), BmFwVerifySelfIntegrity(), BmpInitializeBootStatusDataLog(), DsppLoadFontFile(), ImgpInitializeBootApplicationParameters(), InitializeLibrary(), MmFwGetMemoryMap(), and OslPrepareTarget().
|
extern |
Definition at line 15 of file bootlib.c.
Referenced by ArchInitializeContext(), BlInitializeLibrary(), BmMain(), DsppInitialize(), DsppLoadFontFile(), InitializeLibrary(), MmFwGetMemoryMap(), MmHapAddToFreeList(), and MmPapFreePhysicalPages().
|
extern |
Definition at line 20 of file debug.c.
Referenced by BlStatusError(), and OslPrepareTarget().
|
extern |
Definition at line 15 of file time.c.
Referenced by BlpTimeCalibratePerformanceCounter(), BlpTimeMeasureTscFrequency(), BlTimeQueryPerformanceCounter(), and InitializeLibrary().
|
extern |
Definition at line 39 of file firmware.c.
Referenced by BlStatusPrint(), and EfiPrintf().
|
extern |
Definition at line 22 of file display.c.
Referenced by ConsoleEfiGopOpen(), and DsppInitialize().
|
extern |
Definition at line 21 of file display.c.
Referenced by ConsoleEfiGopOpen(), DsppInitialize(), and DsppReinitialize().
|
extern |
Definition at line 28 of file display.c.
Referenced by ConsoleEfiGopOpen().
|
extern |
Definition at line 30 of file display.c.
Referenced by ConsoleFirmwareTextOpen().
|
extern |
Definition at line 17 of file arch.c.
Referenced by ArchInitializeContexts(), BlMmIsTranslationEnabled(), BlockIoFirmwareRead(), BlpArchEnableTranslation(), BlpArchSwitchContext(), ConsoleFirmwareTextClear(), EfiAllocatePages(), EfiCloseProtocol(), EfiConInExReset(), EfiConInExSetState(), EfiConInReset(), EfiConnectController(), EfiConOutEnableCursor(), EfiConOutOutputString(), EfiConOutQueryMode(), EfiConOutReadCurrentMode(), EfiConOutSetAttribute(), EfiConOutSetCursorPosition(), EfiConOutSetMode(), EfiFreePages(), EfiGetMemoryMap(), EfiGetVariable(), EfiGopGetCurrentMode(), EfiGopGetFrameBuffer(), EfiGopSetMode(), EfiLocateHandleBuffer(), EfiOpenProtocol(), EfiPrintf(), EfiResetSystem(), EfiSetWatchdogTimer(), EfiStall(), EfiVmOpenProtocol(), EfiVmpCloseProtocol(), MmArchTranslateVirtualAddress(), MmFwGetMemoryMap(), and MmMapPhysicalAddress().
|
extern |
Definition at line 38 of file display.c.
Referenced by BlpDisplayReinitialize(), ConsoleCreateLocalInputConsole(), and DsppReinitialize().
|
extern |
Definition at line 35 of file display.c.
Referenced by ConsoleCreateRemoteConsole(), DsppInitialize(), and DsppReinitialize().
|
extern |
Definition at line 33 of file firmware.c.
Referenced by BlFwEnumerateDevice(), BlockIoEfiGetBlockIoInformation(), BlockIoEfiGetChildHandle(), BlockIoFirmwareOpen(), BlockIoFirmwareRead(), and DiskClose().
|
extern |
Definition at line 25 of file firmware.c.
Referenced by BlpFwInitialize(), ConsoleInputLocalEraseBuffer(), and EfiConInExReset().
|
extern |
Definition at line 23 of file firmware.c.
Referenced by BlpFwInitialize(), ConsoleFirmwareTextOpen(), and EfiPrintf().
|
extern |
Definition at line 31 of file firmware.c.
Referenced by BlFwEnumerateDevice(), BlockIoEfiGetChildHandle(), BlockIoEfiGetDeviceInformation(), ConsoleEfiGraphicalOpenProtocol(), and EfiInitCreateInputParametersEx().
|
extern |
Definition at line 36 of file firmware.c.
Referenced by BlpSecureBootEFIIsEnabled().
|
extern |
Definition at line 28 of file firmware.c.
Referenced by ConsoleEfiGopClose(), ConsoleEfiGopOpen(), ConsoleEfiGraphicalOpenProtocol(), OslDrawLogo(), and UefiInitializeVideo().
|
extern |
Definition at line 30 of file firmware.c.
Referenced by EfiInitCreateInputParametersEx(), and UefiMemGetMemoryMap().
|
extern |
Definition at line 35 of file firmware.c.
Referenced by EfipGetRsdt().
|
extern |
Definition at line 34 of file firmware.c.
Referenced by EfipGetRsdt().
|
extern |
Definition at line 32 of file firmware.c.
Referenced by BlpFwInitialize().
|
extern |
Definition at line 29 of file firmware.c.
Referenced by ConsoleEfiGraphicalOpenProtocol().
|
extern |
Definition at line 29 of file mmx86.c.
Referenced by MmArchInitialize(), MmPapAllocatePagesInRange(), and MmSelectMappingAddress().
|
extern |
Definition at line 30 of file mmx86.c.
Referenced by MmArchInitialize(), and MmSelectMappingAddress().
|
extern |
Definition at line 19 of file mm.c.
Referenced by BlMmMapPhysicalAddressEx(), BlMmUnmapVirtualAddressEx(), BlpMmInitialize(), MmFwGetMemoryMap(), MmMdCopyList(), MmMdFreeGlobalDescriptors(), MmPapAllocatePagesInRange(), MmPapAllocatePhysicalPagesInRange(), MmPaReserveSelfMapPages(), MmPaTruncateMemory(), and TrpGenerateMappingTracker().
|
extern |
Definition at line 41 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), MmMdFindDescriptor(), and MmPaInitialize().
|
extern |
Definition at line 44 of file pagealloc.c.
Referenced by MmPaInitialize().
|
extern |
Definition at line 45 of file pagealloc.c.
Referenced by BlMmMapPhysicalAddressEx(), MmDefInitializeTranslation(), MmPaReleaseSelfMapPages(), MmPaReserveSelfMapPages(), MmSelectMappingAddress(), MmTrInitialize(), and Mmx86MapInitStructure().
|
extern |
Definition at line 37 of file pagealloc.c.
Referenced by MmPaInitialize(), and MmPapPageAllocatorExtend().
|
extern |
Definition at line 35 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), MmMdFindDescriptor(), MmMdListPointerToName(), MmPaInitialize(), MmPapAllocatePagesInRange(), and MmPaTruncateMemory().
|
extern |
Definition at line 36 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), MmMdFindDescriptor(), MmMdListPointerToName(), MmPaInitialize(), MmPapAllocatePagesInRange(), MmPapAllocateRegionFromMdl(), MmPapPageAllocatorExtend(), and MmPaTruncateMemory().
|
extern |
Definition at line 46 of file pagealloc.c.
Referenced by MmTrInitialize(), and TrpGenerateMappingTracker().
|
extern |
Definition at line 43 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), MmMdFindDescriptor(), MmPaInitialize(), MmPapAllocatePagesInRange(), and MmPapAllocatePhysicalPagesInRange().
|
extern |
Definition at line 40 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), MmMdFindDescriptor(), MmPaInitialize(), MmPaTruncateMemory(), and MmTrInitialize().
|
extern |
Definition at line 42 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), MmMdFindDescriptor(), MmPaInitialize(), and MmPaTruncateMemory().
|
extern |
Definition at line 38 of file pagealloc.c.
Referenced by BlMmAllocatePhysicalPages(), BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), BmFwMemoryInitialize(), MmDefInitializeTranslation(), MmDefpMapPhysicalAddress(), MmMdFindDescriptor(), MmMdListPointerToName(), MmPaInitialize(), MmPapAllocatePagesInRange(), MmPapAllocatePhysicalPagesInRange(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), and MmPaTruncateMemory().
|
extern |
Definition at line 39 of file pagealloc.c.
Referenced by BlMmGetMemoryMap(), BlMmMapPhysicalAddressEx(), MmMdFindDescriptor(), MmMdListPointerToName(), MmPaInitialize(), MmPapAllocatePhysicalPagesInRange(), MmPapAllocateRegionFromMdl(), MmPapFreePhysicalPages(), MmPapPageAllocatorExtend(), MmPaReserveSelfMapPages(), and MmPaTruncateMemory().
|
extern |
Definition at line 17 of file mm.c.
Referenced by BlMmMapPhysicalAddressEx(), BlMmUnmapVirtualAddressEx(), BlpMmInitialize(), EfiCloseProtocol(), EfiOpenProtocol(), ImgpInitializeBootApplicationParameters(), MmMapPhysicalAddress(), MmPapAllocatePagesInRange(), MmPapFreePages(), MmSelectMappingAddress(), MmTrInitialize(), MmUnmapVirtualAddress(), and Mmx86MapInitStructure().
|
extern |
Definition at line 18 of file file.c.
Referenced by BlpFileInitialize(), BlpFileRegisterFileSystem(), and FileIoOpen().