Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf64Convert.c118 STATIC UINT32 mHiiRsrcOffset; variable
431 mHiiRsrcOffset = mCoffOffset; in ScanSections64()
445 mHiiRsrcOffset = mCoffOffset; in ScanSections64()
449 SetHiiResourceHeader ((UINT8*) mEhdr + shdr->sh_offset, mHiiRsrcOffset); in ScanSections64()
532 if ((mHiiRsrcOffset - mDataOffset) > 0) { in ScanSections64()
533 CreateSectionHeader (".data", mDataOffset, mHiiRsrcOffset - mDataOffset, in ScanSections64()
542 if ((mRelocOffset - mHiiRsrcOffset) > 0) { in ScanSections64()
543 CreateSectionHeader (".rsrc", mHiiRsrcOffset, mRelocOffset - mHiiRsrcOffset, in ScanSections64()
547 …ionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_RESOURCE].Size = mRelocOffset - mHiiRsrcOffset; in ScanSections64()
548 …s.OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress = mHiiRsrcOffset; in ScanSections64()
DElf32Convert.c117 STATIC UINT32 mHiiRsrcOffset; variable
438 mHiiRsrcOffset = mCoffOffset; in ScanSections32()
452 mHiiRsrcOffset = mCoffOffset; in ScanSections32()
456 SetHiiResourceHeader ((UINT8*) mEhdr + shdr->sh_offset, mHiiRsrcOffset); in ScanSections32()
536 if ((mHiiRsrcOffset - mDataOffset) > 0) { in ScanSections32()
537 CreateSectionHeader (".data", mDataOffset, mHiiRsrcOffset - mDataOffset, in ScanSections32()
546 if ((mRelocOffset - mHiiRsrcOffset) > 0) { in ScanSections32()
547 CreateSectionHeader (".rsrc", mHiiRsrcOffset, mRelocOffset - mHiiRsrcOffset, in ScanSections32()
551 …ionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_RESOURCE].Size = mRelocOffset - mHiiRsrcOffset; in ScanSections32()
552 …2.OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAddress = mHiiRsrcOffset; in ScanSections32()