Searched refs:CurrentPe32Section (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 3340 EFI_FILE_SECTION_POINTER CurrentPe32Section; in FfsRebase() local 3420 Status = GetSectionByType (FfsFile, EFI_SECTION_PE32, Index, &CurrentPe32Section); in FfsRebase() 3424 CurSecHdrSize = GetSectionHeaderLength(CurrentPe32Section.CommonHeader); in FfsRebase() 3430 ImageContext.Handle = (VOID *) ((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize); in FfsRebase() 3456 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSiz… in FfsRebase() 3534 …NewPe32BaseAddress = XipBase + (UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize - (UINTN)Ffs… in FfsRebase() 3549 …NewPe32BaseAddress = XipBase + (UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize - (UINTN)Ffs… in FfsRebase() 3608 (UINT8 *) CurrentPe32Section.Pe32Section + CurSecHdrSize + SectionHeader->PointerToRawData, in FfsRebase() 3685 Status = GetSectionByType (FfsFile, EFI_SECTION_TE, Index, &CurrentPe32Section); in FfsRebase() 3690 CurSecHdrSize = GetSectionHeaderLength(CurrentPe32Section.CommonHeader); in FfsRebase() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/ |
D | GenFvImageLib.c | 1479 EFI_FILE_SECTION_POINTER CurrentPe32Section; in RebaseFfsFile() local 1516 Status = GetSectionByType (FfsFile, EFI_SECTION_PE32, Index, &CurrentPe32Section); in RebaseFfsFile() 1523 …NewPe32BaseAddress = ((UINT32) BaseAddress) + ((UINTN) CurrentPe32Section.Pe32Section - (UINTN) Ff… in RebaseFfsFile() 1529 …ImageContext.Handle = (VOID *) ((UINTN) CurrentPe32Section.Pe32Section + sizeof (EFI_PE32_SECT… in RebaseFfsFile() 1541 Pe32FileSize = GetLength (CurrentPe32Section.Pe32Section->CommonHeader.Size); in RebaseFfsFile() 1586 memcpy (CurrentPe32Section.Pe32Section, (VOID *) MemoryImagePointerAligned, Pe32FileSize); in RebaseFfsFile()
|