Searched refs:ImageBase (Results 1 - 25 of 47) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DLoadedImage.h73 VOID *ImageBase; ///< The base address at which the image was loaded. member in struct:__anon12208
H A DRuntime.h50 VOID *ImageBase; member in struct:_EFI_RUNTIME_IMAGE_ENTRY
52 /// Size in bytes of the image represented by ImageBase.
56 /// Information about the fix-ups that were performed on ImageBase when it was
61 /// The ImageHandle passed into ImageBase when it was loaded.
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/Protocol/
H A DLoadedImage.h75 VOID *ImageBase; ///< The base address at which the image was loaded. member in struct:__anon15653
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/RuntimeDxe/
H A DRuntime.c304 if (mMyImageBase != RuntimeImage->ImageBase) {
306 VirtImageBase = (EFI_PHYSICAL_ADDRESS) (UINTN) RuntimeImage->ImageBase;
311 (EFI_PHYSICAL_ADDRESS) (UINTN) RuntimeImage->ImageBase,
317 InvalidateInstructionCacheRange (RuntimeImage->ImageBase, (UINTN) RuntimeImage->ImageSize);
396 mMyImageBase = MyLoadedImage->ImageBase;
/vbox/src/VBox/VMM/VMMR3/
H A DPDMLdr.cpp142 Assert(pModule->ImageBase);
143 int rc2 = SUPR3FreeModule((void *)(uintptr_t)pModule->ImageBase);
145 pModule->ImageBase = 0;
193 * the ImageBase saving the current value in OldImageBase.
202 pCur->OldImageBase = pCur->ImageBase;
203 pCur->ImageBase = MMHyperR3ToRC(pUVM->pVM, pCur->pvBits);
215 int rc = RTLdrRelocate(pCur->hLdrMod, pCur->pvBits, pCur->ImageBase, pCur->OldImageBase,
408 int rc = RTLdrGetSymbolEx(pCur->hLdrMod, pCur->pvBits, pCur->ImageBase, UINT32_MAX, pszSymbol, pValue);
411 AssertMsg(*pValue - pCur->ImageBase < RTLdrSize(pCur->hLdrMod),
412 ("%RRv-%RRv %s %RRv\n", (RTRCPTR)pCur->ImageBase,
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/PciBusDxe/
H A DPciDriverOverride.c133 ImageContext.Handle = LoadedImage->ImageBase;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Protocol/
H A DEbcVmTest.h62 UINTN ImageBase; member in struct:__anon11079
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c322 ImageContext->ImageAddress = Hdr.Pe32->OptionalHeader.ImageBase;
327 ImageContext->ImageAddress = Hdr.Pe32Plus->OptionalHeader.ImageBase;
330 ImageContext->ImageAddress = (PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
661 Adjust = (UINT64)BaseAddress - Hdr.Pe32->OptionalHeader.ImageBase;
662 Hdr.Pe32->OptionalHeader.ImageBase = (UINT32)BaseAddress;
670 Adjust = (UINT64) BaseAddress - Hdr.Pe32Plus->OptionalHeader.ImageBase;
671 Hdr.Pe32Plus->OptionalHeader.ImageBase = (UINT64)BaseAddress;
701 Adjust = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->ImageBase);
702 Hdr.Te->ImageBase = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER));
1339 This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
1360 PeCoffLoaderRelocateImageForRuntime( IN PHYSICAL_ADDRESS ImageBase, IN PHYSICAL_ADDRESS VirtImageBase, IN UINTN ImageSize, IN VOID *RelocationData ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DPeCoffLib.h82 /// Set by PeCoffLoaderGetImageInfo() to the ImageBase in the PE/COFF header.
352 This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
362 @param ImageBase The base address of a PE/COFF image that has been loaded
374 IN PHYSICAL_ADDRESS ImageBase,
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c313 ImageContext->ImageAddress = (PHYSICAL_ADDRESS) OptionHeader.Optional32->ImageBase;
315 ImageContext->ImageAddress = (PHYSICAL_ADDRESS) OptionHeader.Optional64->ImageBase;
318 ImageContext->ImageAddress = (PHYSICAL_ADDRESS) (TeHdr->ImageBase + TeHdr->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
641 Adjust = (UINT64) BaseAddress - OptionHeader.Optional32->ImageBase;
642 OptionHeader.Optional32->ImageBase = (UINT32) BaseAddress;
665 Adjust = (UINT64) BaseAddress - OptionHeader.Optional64->ImageBase;
666 OptionHeader.Optional64->ImageBase = BaseAddress;
691 Adjust = (UINT64) (BaseAddress - TeHdr->ImageBase);
692 TeHdr->ImageBase = (UINT64) (BaseAddress);
1433 *BaseOfImage = (VOID *)(UINTN)(Hdr.Te->ImageBase
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c146 @param ImageBase The base addres the image will be loaded at.
155 IN EFI_PHYSICAL_ADDRESS ImageBase,
179 if ((Private->LoadModuleAtFixAddressTopAddress - EFI_PAGES_TO_SIZE(DxeCodePageNumber)) < (ImageBase + ImageSize) ||
180 (PeiCodeBase > ImageBase)) {
188 BaseOffsetPageNumber = EFI_SIZE_TO_PAGES((UINT32)(ImageBase - PeiCodeBase));
189 TopOffsetPageNumber = EFI_SIZE_TO_PAGES((UINT32)(ImageBase + ImageSize - PeiCodeBase));
283 // that doesn't point to code section in image header, as well as ImageBase field of image header. A notable thing is
284 // that for PEIM, the value in ImageBase field may not be equal to the value in PointerToRelocations & PointerToLineNumbers because
285 // for XIP PEIM, ImageBase field holds the image base address running on the Flash. And PointerToRelocations & PointerToLineNumbers
153 CheckAndMarkFixLoadingMemoryUsageBitMap( IN PEI_CORE_INSTANCE *Private, IN EFI_PHYSICAL_ADDRESS ImageBase, IN UINT32 ImageSize ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Image/
H A DImage.c54 NULL, // ImageBase
171 Image->Info.ImageBase = (VOID *)(UINTN)DxeCoreImageBaseAddress;
190 mDxeCoreImageMachineType = PeCoffLoaderGetMachineType (Image->Info.ImageBase);
265 @param ImageBase The base addres the image will be loaded at.
273 IN EFI_PHYSICAL_ADDRESS ImageBase,
307 if (gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress < ImageBase + ImageSize ||
308 DxeCodeBase > ImageBase) {
314 BaseOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES((UINT32)(ImageBase - DxeCodeBase));
315 TopOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES((UINT32)(ImageBase + ImageSize - DxeCodeBase));
398 // that doesn't point to code section in image header, as well as ImageBase fiel
272 CheckAndMarkFixLoadingMemoryUsageBitMap( IN EFI_PHYSICAL_ADDRESS ImageBase, IN UINTN ImageSize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c434 ImageContext->ImageAddress = Hdr.Pe32->OptionalHeader.ImageBase;
439 ImageContext->ImageAddress = Hdr.Pe32Plus->OptionalHeader.ImageBase;
442 ImageContext->ImageAddress = (PHYSICAL_ADDRESS)(Hdr.Te->ImageBase + Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
776 Adjust = (UINT64)BaseAddress - Hdr.Pe32->OptionalHeader.ImageBase;
778 Hdr.Pe32->OptionalHeader.ImageBase = (UINT32)BaseAddress;
787 Adjust = (UINT64) BaseAddress - Hdr.Pe32Plus->OptionalHeader.ImageBase;
789 Hdr.Pe32Plus->OptionalHeader.ImageBase = (UINT64)BaseAddress;
820 Adjust = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER) - Hdr.Te->ImageBase);
822 Hdr.Te->ImageBase = (UINT64) (BaseAddress - Hdr.Te->StrippedSize + sizeof (EFI_TE_IMAGE_HEADER));
1456 This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
1477 PeCoffLoaderRelocateImageForRuntime( IN PHYSICAL_ADDRESS ImageBase, IN PHYSICAL_ADDRESS VirtImageBase, IN UINTN ImageSize, IN VOID *RelocationData ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/
H A DIpfBootSupport.c196 LoadedImageBase = (EFI_PHYSICAL_ADDRESS) (UINTN) LoadedImage->ImageBase;
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ddk/
H A Dntddk.h133 PVOID ImageBase; member in struct:_IMAGE_INFO
/vbox/src/VBox/Devices/PC/ipxe/src/interface/efi/
H A Defi_init.c119 DBG ( "Image base address = %p\n", efi_loaded_image->ImageBase );
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDriver1CommandsLib/
H A DUnload.c98 PdbPointer = (CHAR8*)PeCoffLoaderGetPdbPointer(Image->ImageBase);
108 Image->ImageBase,
/vbox/src/VBox/Additions/common/testcase/
H A DtstPageFusion.cpp51 PVOID ImageBase; member in struct:_RTL_PROCESS_MODULE_INFORMATION
299 ModuleInfo.modBaseAddr = (BYTE *)pSystemModules->Modules[i].ImageBase;
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServicePageSharing.cpp67 PVOID ImageBase; member in struct:_RTL_PROCESS_MODULE_INFORMATION
404 PAVLPVNODECORE pRec = RTAvlPVGet(&pNewTree, pSystemModules->Modules[i].ImageBase);
407 pRec = RTAvlPVRemove(&g_pKnownModuleTree, pSystemModules->Modules[i].ImageBase);
456 pModule->Info.modBaseAddr = (BYTE *)pSystemModules->Modules[i].ImageBase;
459 pModule->Core.Key = pSystemModules->Modules[i].ImageBase;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DPeImage.h161 UINT32 ImageBase; member in struct:__anon11723
211 UINT64 ImageBase; member in struct:__anon11724
725 UINT64 ImageBase; ///< From original file header. member in struct:__anon11751
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/IndustryStandard/
H A DPeImage.h189 UINT32 ImageBase; member in struct:__anon10149
236 UINT64 ImageBase; member in struct:__anon10150
739 UINT64 ImageBase; // from original file header member in struct:__anon10179
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/IndustryStandard/
H A DPeImage.h163 UINT32 ImageBase; member in struct:__anon15524
213 UINT64 ImageBase; member in struct:__anon15525
727 UINT64 ImageBase; ///< From original file header. member in struct:__anon15552
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/
H A DDriverEntryPoint.c224 Status = SmmBase->Register (SmmBase, CompleteFilePath, LoadedImage->ImageBase, 0, &Handle, FALSE);
/vbox/src/VBox/VMM/testcase/
H A DtstVMM.cpp145 tstVMMLdrEnum(PVM pVM, const char *pszFilename, const char *pszName, RTUINTPTR ImageBase, size_t cbImage, argument
149 RTPrintf("tstVMM: %RTptr %s\n", ImageBase, pszName);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DDispatcher.c136 @param ImageBase The base addres the image will be loaded at.
144 IN EFI_PHYSICAL_ADDRESS ImageBase,
177 if (SmmCodeBase + SmmCodeSize < ImageBase + ImageSize || SmmCodeBase > ImageBase) {
183 BaseOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES((UINT32)(ImageBase - SmmCodeBase));
184 TopOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES((UINT32)(ImageBase + ImageSize - SmmCodeBase));
549 // Note: ImageBase is an SMRAM address that can not be accessed outside of SMRAM if SMRAM window is closed.
569 DriverEntry->LoadedImage->ImageBase = (VOID *)(UINTN)DriverEntry->ImageBuffer;
143 CheckAndMarkFixLoadingMemoryUsageBitMap( IN EFI_PHYSICAL_ADDRESS ImageBase, IN UINTN ImageSize ) argument

Completed in 108 milliseconds

12