Home
last modified time | relevance | path

Searched refs:LoadedImage (Results 1 – 25 of 49) 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/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/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()
591 … (EfiBootServicesData, GetDevicePathSize (FilePath), (VOID **)&DriverEntry->LoadedImage->FilePath); in SmmLoadImage()
599 CopyMem (DriverEntry->LoadedImage->FilePath, FilePath, GetDevicePathSize (FilePath)); in SmmLoadImage()
601 DriverEntry->LoadedImage->ImageBase = (VOID *)(UINTN)DriverEntry->ImageBuffer; in SmmLoadImage()
602 DriverEntry->LoadedImage->ImageSize = ImageContext.ImageSize; in SmmLoadImage()
[all …]
DMemoryAttributesTable.c1399 IN EFI_LOADED_IMAGE_PROTOCOL *LoadedImage in IsImageInsideSmram() argument
1405 if ((mFullSmramRanges[Index].PhysicalStart <= (UINTN)LoadedImage->ImageBase)&& in IsImageInsideSmram()
1406 …calStart + mFullSmramRanges[Index].PhysicalSize >= (UINTN)LoadedImage->ImageBase + LoadedImage->Im… in IsImageInsideSmram()
1425 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in SmmInstallImageRecord() local
1444 (VOID **)&LoadedImage in SmmInstallImageRecord()
1449 …DEBUG ((DEBUG_VERBOSE, "LoadedImage - 0x%x 0x%x ", LoadedImage->ImageBase, LoadedImage->ImageSize)… in SmmInstallImageRecord()
1452 PdbPointer = PeCoffLoaderGetPdbPointer (LoadedImage->ImageBase); in SmmInstallImageRecord()
1459 DriverEntry.ImageBuffer = (UINTN)LoadedImage->ImageBase; in SmmInstallImageRecord()
1460 DriverEntry.NumberOfPage = EFI_SIZE_TO_PAGES((UINTN)LoadedImage->ImageSize); in SmmInstallImageRecord()
/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.c41 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in GetDevicePathTextForHandle() local
51 (VOID**)&LoadedImage, in GetDevicePathTextForHandle()
58 LoadedImage->DeviceHandle, in GetDevicePathTextForHandle()
66 FinalPath = AppendDevicePath (ImageDevicePath, LoadedImage->FilePath); in GetDevicePathTextForHandle()
68 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/CorebootPayloadPkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c132 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in PlatformRegisterFvBootOption() local
135 Status = gBS->HandleProtocol (gImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); in PlatformRegisterFvBootOption()
140 DevicePathFromHandle (LoadedImage->DeviceHandle), in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadedImage/
DLoadedImage.c26 #include EFI_PPI_DEFINITION (LoadedImage)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/LoadedImage/
DLoadedImage.c26 #include EFI_PROTOCOL_DEFINITION (LoadedImage)
/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/
DEfiProtocolLib.inf128 LoadedImage/LoadedImage.h
129 LoadedImage/LoadedImage.c
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.c177 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in FvFilePath() local
185 (VOID **) &LoadedImage in FvFilePath()
190 DevicePathFromHandle (LoadedImage->DeviceHandle), in FvFilePath()
/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/ArmPkg/Library/PlatformBootManagerLib/
DPlatformBm.c341 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in PlatformRegisterFvBootOption() local
347 (VOID **) &LoadedImage in PlatformRegisterFvBootOption()
352 DevicePath = DevicePathFromHandle (LoadedImage->DeviceHandle); in PlatformRegisterFvBootOption()
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/
DAppSupport.c215 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in GetMyVol() local
221 (VOID **)&LoadedImage in GetMyVol()
226 LoadedImage->DeviceHandle, in GetMyVol()
/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/OpenPlatformPkg/Platforms/Hisilicon/Library/PlatformBootManagerLib/
DPlatformBm.c284 EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; in PlatformRegisterFvBootOption() local
290 (VOID **) &LoadedImage in PlatformRegisterFvBootOption()
295 DevicePath = DevicePathFromHandle (LoadedImage->DeviceHandle); in PlatformRegisterFvBootOption()

12