Searched refs:mCoffFile (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DElfConvert.c40 UINT8 *mCoffFile = NULL; variable
96 mCoffFile = realloc (
97 mCoffFile,
101 mCoffFile + mCoffOffset, 0,
105 mCoffBaseRel = (EFI_IMAGE_BASE_RELOCATION*)(mCoffFile + mCoffOffset);
128 Hdr = (EFI_IMAGE_SECTION_HEADER*)(mCoffFile + mTableOffset);
224 *FileBuffer = mCoffFile;
H A DElfConvert.h28 extern UINT8 *mCoffFile;
H A DElf64Convert.c392 mCoffFile = (UINT8 *)malloc(mCoffOffset);
393 memset(mCoffFile, 0, mCoffOffset);
398 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
402 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
521 memcpy(mCoffFile + mCoffSectionsOffset[Idx],
527 memset(mCoffFile + mCoffSectionsOffset[Idx], 0, (size_t) Shdr->sh_size);
572 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
691 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset);
728 mCoffFile = realloc(mCoffFile, mCoffOffse
[all...]
H A DElf32Convert.c399 mCoffFile = (UINT8 *)malloc(mCoffOffset);
400 memset(mCoffFile, 0, mCoffOffset);
405 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
409 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
529 memcpy(mCoffFile + mCoffSectionsOffset[Idx],
535 memset(mCoffFile + mCoffSectionsOffset[Idx], 0, Shdr->sh_size);
615 Targ = mCoffFile + SecOffset + (Rel->r_offset - SecShdr->sh_addr);
909 Targ = mCoffFile + mCoffSectionsOffset[ ELF32_R_SYM( Rel->r_info ) ] + Rel->r_offset - TargetSegment->p_vaddr;
933 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset);
971 mCoffFile
[all...]

Completed in 513 milliseconds