Home
last modified time | relevance | path

Searched refs:CurrentPe32Section (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c3064 EFI_FILE_SECTION_POINTER CurrentPe32Section; in FfsRebase() local
3144 Status = GetSectionByType (FfsFile, EFI_SECTION_PE32, Index, &CurrentPe32Section); in FfsRebase()
3148 CurSecHdrSize = GetSectionHeaderLength(CurrentPe32Section.CommonHeader); in FfsRebase()
3154 ImageContext.Handle = (VOID *) ((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize); in FfsRebase()
3180 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSiz… in FfsRebase()
3257 …NewPe32BaseAddress = XipBase + (UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize - (UINTN)Ffs… in FfsRebase()
3272 …NewPe32BaseAddress = XipBase + (UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize - (UINTN)Ffs… in FfsRebase()
3331 (UINT8 *) CurrentPe32Section.Pe32Section + CurSecHdrSize + SectionHeader->PointerToRawData, in FfsRebase()
3408 Status = GetSectionByType (FfsFile, EFI_SECTION_TE, Index, &CurrentPe32Section); in FfsRebase()
3413 CurSecHdrSize = GetSectionHeaderLength(CurrentPe32Section.CommonHeader); in FfsRebase()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c1479 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()