HomeSort by relevance Sort by last modified time
    Searched refs:mCoffFile (Results 1 - 4 of 4) sorted by null

  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
ElfConvert.c 42 UINT8 *mCoffFile = NULL;
98 mCoffFile = realloc (
99 mCoffFile,
102 if (mCoffFile == NULL) {
105 assert (mCoffFile != NULL);
107 mCoffFile + mCoffOffset, 0,
111 mCoffBaseRel = (EFI_IMAGE_BASE_RELOCATION*)(mCoffFile + mCoffOffset);
134 Hdr = (EFI_IMAGE_SECTION_HEADER*)(mCoffFile + mTableOffset);
230 *FileBuffer = mCoffFile;
ElfConvert.h 29 extern UINT8 *mCoffFile;
Elf64Convert.c 524 mCoffFile = (UINT8 *)malloc(mCoffOffset);
525 if (mCoffFile == NULL) {
528 assert (mCoffFile != NULL);
529 memset(mCoffFile, 0, mCoffOffset);
534 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
538 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
661 memcpy(mCoffFile + mCoffSectionsOffset[Idx],
667 memset(mCoffFile + mCoffSectionsOffset[Idx], 0, (size_t) Shdr->sh_size);
774 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
872 Offset -= (UINTN)(Targ - mCoffFile) & 0xfff;
    [all...]
Elf32Convert.c 532 mCoffFile = (UINT8 *)malloc(mCoffOffset);
533 if (mCoffFile == NULL) {
536 assert (mCoffFile != NULL);
537 memset(mCoffFile, 0, mCoffOffset);
542 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
546 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
666 memcpy(mCoffFile + mCoffSectionsOffset[Idx],
672 memset(mCoffFile + mCoffSectionsOffset[Idx], 0, Shdr->sh_size);
761 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
    [all...]

Completed in 230 milliseconds