Home
last modified time | relevance | path

Searched refs:LoadedImage (Results 1 – 25 of 45) sorted by relevance

12

/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/
DDriverEntryPoint.c165 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in _ModuleEntryPoint() local
202 (VOID*)&LoadedImage in _ModuleEntryPoint()
209 LoadedImage->DeviceHandle, in _ModuleEntryPoint()
218 CompleteFilePath = SmmAppendDevicePath (ImageDevicePath, LoadedImage->FilePath); in _ModuleEntryPoint()
224 … Status = SmmBase->Register (SmmBase, CompleteFilePath, LoadedImage->ImageBase, 0, &Handle, FALSE); in _ModuleEntryPoint()
233 (VOID **)&LoadedImage in _ModuleEntryPoint()
236 LoadedImage->Unload = _DriverUnloadHandler; in _ModuleEntryPoint()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDriverEntryPoint/
DDriverEntryPoint.c101 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in _ModuleEntryPoint() local
124 (VOID **)&LoadedImage in _ModuleEntryPoint()
127 LoadedImage->Unload = _DriverUnloadHandler; in _ModuleEntryPoint()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciDriverOverride.c112 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in AddDriver() local
116 …us = gBS->HandleProtocol (DriverImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); in AddDriver()
133 ImageContext.Handle = LoadedImage->ImageBase; in AddDriver()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/
DIpfBootSupport.c182 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in RelocateImageUnder4GIfNeeded() local
192 (VOID *) &LoadedImage in RelocateImageUnder4GIfNeeded()
196 LoadedImageBase = (EFI_PHYSICAL_ADDRESS) (UINTN) LoadedImage->ImageBase; in RelocateImageUnder4GIfNeeded()
198 NumberOfPages = (UINTN) (DivU64x32(LoadedImage->ImageSize, EFI_PAGE_SIZE) + 1); in RelocateImageUnder4GIfNeeded()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DDispatcher.c564 …Pool (EfiBootServicesData, sizeof (EFI_LOADED_IMAGE_PROTOCOL), (VOID **)&DriverEntry->LoadedImage); in SmmLoadImage()
573 ZeroMem (DriverEntry->LoadedImage, sizeof (EFI_LOADED_IMAGE_PROTOCOL)); in SmmLoadImage()
578 DriverEntry->LoadedImage->Revision = EFI_LOADED_IMAGE_PROTOCOL_REVISION; in SmmLoadImage()
579 DriverEntry->LoadedImage->ParentHandle = gSmmCorePrivate->SmmIplImageHandle; in SmmLoadImage()
580 DriverEntry->LoadedImage->SystemTable = gST; in SmmLoadImage()
581 DriverEntry->LoadedImage->DeviceHandle = DeviceHandle; in SmmLoadImage()
586 … (EfiBootServicesData, GetDevicePathSize (FilePath), (VOID **)&DriverEntry->LoadedImage->FilePath); in SmmLoadImage()
594 CopyMem (DriverEntry->LoadedImage->FilePath, FilePath, GetDevicePathSize (FilePath)); in SmmLoadImage()
596 DriverEntry->LoadedImage->ImageBase = (VOID *)(UINTN)DriverEntry->ImageBuffer; in SmmLoadImage()
597 DriverEntry->LoadedImage->ImageSize = ImageContext.ImageSize; in SmmLoadImage()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciDriverOverride.c138 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in AddDriver() local
142 …us = gBS->HandleProtocol (DriverImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); in AddDriver()
160 ImageContext.Handle = LoadedImage->ImageBase; in AddDriver()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DGetImage.c26 #include EFI_PROTOCOL_CONSUMER (LoadedImage)
124 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in GetImageEx() local
143 (VOID **) &LoadedImage in GetImageEx()
149 LoadedImage->DeviceHandle, in GetImageEx()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DGetImage.c26 #include EFI_PROTOCOL_CONSUMER (LoadedImage)
124 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in GetImageEx() local
143 (VOID **) &LoadedImage in GetImageEx()
149 LoadedImage->DeviceHandle, in GetImageEx()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/EntryPoints/
DEdkIIGlueSmmDriverEntryPoint.c316 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in _ModuleEntryPoint() local
341 (VOID*)&LoadedImage in _ModuleEntryPoint()
368 LoadedImage->DeviceHandle, in _ModuleEntryPoint()
377 CompleteFilePath = SmmAppendDevicePath (ImageDevicePath, LoadedImage->FilePath); in _ModuleEntryPoint()
399 (VOID **)&LoadedImage in _ModuleEntryPoint()
402 LoadedImage->Unload = _DriverUnloadHandler; in _ModuleEntryPoint()
DEdkIIGlueDxeDriverEntryPoint.c620 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in _ModuleEntryPoint() local
625 (VOID **)&LoadedImage in _ModuleEntryPoint()
628 LoadedImage->Unload = _DriverUnloadHandler; in _ModuleEntryPoint()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DDrivers.c42 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in GetDevicePathTextForHandle() local
52 (VOID**)&LoadedImage, in GetDevicePathTextForHandle()
59 LoadedImage->DeviceHandle, in GetDevicePathTextForHandle()
67 FinalPath = AppendDevicePath (ImageDevicePath, LoadedImage->FilePath); in GetDevicePathTextForHandle()
69 LoadedImage->DeviceHandle, in GetDevicePathTextForHandle()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/
DEdkFrameworkPpiLib.inf107 LoadedImage/LoadedImage.h
108 LoadedImage/LoadedImage.c
/device/linaro/bootloader/edk2/ArmPkg/Application/LinuxLoader/
DLinuxLoaderEfiApp.c160 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in ProcessAppCommandLine() local
179 (VOID**)&LoadedImage in ProcessAppCommandLine()
186 Walker = (CHAR16*)LoadedImage->LoadOptions; in ProcessAppCommandLine()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/EblCmdLib/
DEblCmdLib.c168 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in ImageHandleToPdbFileName() local
172 Status = gBS->HandleProtocol (Handle, &gEfiLoadedImageProtocolGuid, (VOID **)&LoadedImage); in ImageHandleToPdbFileName()
177 Pdb = PeCoffLoaderGetPdbPointer (LoadedImage->ImageBase); in ImageHandleToPdbFileName()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/EblCmdLib/
DEblCmdLib.c168 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in ImageHandleToPdbFileName() local
172 Status = gBS->HandleProtocol (Handle, &gEfiLoadedImageProtocolGuid, (VOID **)&LoadedImage); in ImageHandleToPdbFileName()
177 Pdb = PeCoffLoaderGetPdbPointer (LoadedImage->ImageBase); in ImageHandleToPdbFileName()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/BiosIdLib/
DBiosIdLib.c131 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage;
147 (VOID **) &LoadedImage
153 LoadedImage->DeviceHandle,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/LoadedImage/
DLoadedImage.c26 #include EFI_PROTOCOL_DEFINITION (LoadedImage)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadedImage/
DLoadedImage.c26 #include EFI_PPI_DEFINITION (LoadedImage)
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c109 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in PlatformRegisterFvBootOption() local
112 Status = gBS->HandleProtocol (gImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); in PlatformRegisterFvBootOption()
117 DevicePathFromHandle (LoadedImage->DeviceHandle), in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/
DEfiProtocolLib.inf128 LoadedImage/LoadedImage.h
129 LoadedImage/LoadedImage.c
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Guid/DebugImageInfoTable/
DDebugImageInfoTable.h26 #include EFI_PROTOCOL_DEFINITION (LoadedImage)
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DDebugImageInfo.c170 IN EFI_LOADED_IMAGE_PROTOCOL *LoadedImage, in CoreNewDebugImageInfoEntry() argument
238 Table[Index].NormalImage->LoadedImageProtocolInstance = LoadedImage; in CoreNewDebugImageInfoEntry()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/
DEblCmdLib.c176 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in ImageHandleToPdbFileName() local
180 Status = gBS->HandleProtocol (Handle, &gEfiLoadedImageProtocolGuid, (VOID **)&LoadedImage); in ImageHandleToPdbFileName()
185 Pdb = PeCoffLoaderGetPdbPointer (LoadedImage->ImageBase); in ImageHandleToPdbFileName()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellParametersProtocol.c305 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in CreatePopulateInstallShellParametersProtocol() local
311 LoadedImage = NULL; in CreatePopulateInstallShellParametersProtocol()
351 (VOID **) &LoadedImage, in CreatePopulateInstallShellParametersProtocol()
362 FullCommandLine = AllocateZeroPool(Size + LoadedImage->LoadOptionsSize); in CreatePopulateInstallShellParametersProtocol()
374 if (Size == 0 && LoadedImage->LoadOptionsSize != 0) { in CreatePopulateInstallShellParametersProtocol()
379 Size = LoadedImage->LoadOptionsSize + sizeof(FullCommandLine[0]); in CreatePopulateInstallShellParametersProtocol()
383 CopyMem (FullCommandLine, LoadedImage->LoadOptions, LoadedImage->LoadOptionsSize); in CreatePopulateInstallShellParametersProtocol()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiHandleParsingLib/
DUefiHandleParsingLib.c170 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in LoadedImageProtocolDumpInformation() local
191 (VOID**)&LoadedImage, in LoadedImageProtocolDumpInformation()
202 DataType = ConvertMemoryType(LoadedImage->ImageDataType); in LoadedImageProtocolDumpInformation()
203 CodeType = ConvertMemoryType(LoadedImage->ImageCodeType); in LoadedImageProtocolDumpInformation()
208 LoadedImage->Revision, in LoadedImageProtocolDumpInformation()
209 LoadedImage->ParentHandle, in LoadedImageProtocolDumpInformation()
210 LoadedImage->SystemTable, in LoadedImageProtocolDumpInformation()
211 LoadedImage->DeviceHandle, in LoadedImageProtocolDumpInformation()
212 LoadedImage->FilePath, in LoadedImageProtocolDumpInformation()
213 LoadedImage->LoadOptionsSize, in LoadedImageProtocolDumpInformation()
[all …]

12