Searched defs:SectionHeader (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c228 EFI_IMAGE_SECTION_HEADER SectionHeader; local
272 &SectionHeader
280 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
290 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c75 EFI_IMAGE_SECTION_HEADER SectionHeader; local
324 &SectionHeader
330 if (SectionHeader.SizeOfRawData > 0) {
334 if ((UINT32) (~0) - SectionHeader.PointerToRawData < SectionHeader.SizeOfRawData) {
345 SectionHeader.PointerToRawData + SectionHeader.SizeOfRawData - 1,
405 EFI_IMAGE_SECTION_HEADER SectionHeader; local
527 &SectionHeader
534 if (DebugDirectoryEntryRva >= SectionHeader
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c286 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
300 SectionHeader = NULL;
511 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
512 if (SectionHeader == NULL) {
532 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
533 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
536 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
548 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
625 if (SectionHeader !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c277 EFI_IMAGE_SECTION_HEADER SectionHeader; local
405 &SectionHeader
412 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
413 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
415 DebugDirectoryEntryRva - SectionHeader.VirtualAddress + SectionHeader.PointerToRawData;
470 &SectionHeader
477 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
478 DebugDirectoryEntryRva < SectionHeader
1231 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Image/
H A DImage.c351 EFI_IMAGE_SECTION_HEADER SectionHeader; local
387 &SectionHeader
395 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
402 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DDispatcher.c219 EFI_IMAGE_SECTION_HEADER SectionHeader; local
254 &SectionHeader
262 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
269 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
H A DPiSmmIpl.c765 EFI_IMAGE_SECTION_HEADER SectionHeader; local
806 &SectionHeader
814 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
821 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/GenFds/
H A DGenFdsGlobalVariable.py69 SectionHeader = struct.Struct("3B 1B") variable in class:GenFdsGlobalVariable
378 GenFdsGlobalVariable.SectionHeader.pack_into(SectionData, 0, Len & 0xff, (Len >> 8) & 0xff, (Len >> 16) & 0xff, 0x15)
387 GenFdsGlobalVariable.SectionHeader.pack_into(SectionData, 0, Len & 0xff, (Len >> 8) & 0xff, (Len >> 16) & 0xff, 0x14)
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c288 EFI_IMAGE_SECTION_HEADER SectionHeader; local
408 &SectionHeader
416 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
417 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
419 DebugDirectoryEntryFileOffset = DebugDirectoryEntryRva - SectionHeader.VirtualAddress + SectionHeader.PointerToRawData;
471 &SectionHeader
478 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
479 DebugDirectoryEntryRva < SectionHeader
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
H A DSectionExtraction.c274 EFI_COMMON_SECTION_HEADER *SectionHeader; local
278 SectionHeader = (EFI_COMMON_SECTION_HEADER *)SectionStream;
281 if (IS_SECTION2 (SectionHeader)) {
282 SectionLength = SECTION2_SIZE (SectionHeader);
284 SectionLength = SECTION_SIZE (SectionHeader);
295 SectionHeader = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) SectionHeader + SectionLength);
300 NextSectionHeader = ALIGN_POINTER(SectionHeader, 4);
301 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader;
302 SectionHeader
675 EFI_COMMON_SECTION_HEADER *SectionHeader; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/SectionExtraction/
H A DCoreSectionExtraction.c265 EFI_COMMON_SECTION_HEADER *SectionHeader; local
269 SectionHeader = (EFI_COMMON_SECTION_HEADER *)SectionStream;
272 if (IS_SECTION2 (SectionHeader)) {
273 SectionLength = SECTION2_SIZE (SectionHeader);
275 SectionLength = SECTION_SIZE (SectionHeader);
286 SectionHeader = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) SectionHeader + SectionLength);
291 NextSectionHeader = ALIGN_POINTER(SectionHeader, 4);
292 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader;
293 SectionHeader
626 EFI_COMMON_SECTION_HEADER *SectionHeader; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c251 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
258 SectionHeader = NULL;
440 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * mNtHeader.Pe32->FileHeader.NumberOfSections);
441 if (SectionHeader == NULL) {
453 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
454 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof (EFI_IMAGE_SECTION_HEADER));
457 CopyMem (&SectionHeader[Pos], Section, sizeof (EFI_IMAGE_SECTION_HEADER));
469 Section = &SectionHeader[Index];
528 if (SectionHeader !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c721 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
786 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (
797 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) (TEImageHeader + 1);
826 for (; Index > 0; Index --, SectionHeader ++) {
827 if (stricmp ((CHAR8 *)SectionHeader->Name, ".text") == 0) {
828 TextVirtualAddress = SectionHeader->VirtualAddress;
829 } else if (stricmp ((CHAR8 *)SectionHeader->Name, ".data") == 0) {
830 DataVirtualAddress = SectionHeader->VirtualAddress;
831 } else if (stricmp ((CHAR8 *)SectionHeader->Name, ".sdata") == 0) {
832 DataVirtualAddress = SectionHeader
2810 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c551 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
580 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) &(PeHdr->Pe32.OptionalHeader) + PeHdr->Pe32.FileHeader.SizeOfOptionalHeader);
581 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
582 SectionSize = MAX (SectionHeader->Misc.VirtualSize, SectionHeader->SizeOfRawData);
585 FirstSectionOffset = MIN (FirstSectionOffset, SectionHeader->VirtualAddress);
586 XipLength = MAX (XipLength, SectionHeader->VirtualAddress + SectionSize);
587 if (SectionHeader->VirtualAddress != SectionHeader->PointerToRawData) {
591 if (SectionHeader
860 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
947 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
1097 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
2774 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
2931 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c978 EFI_IMAGE_SECTION_HEADER *SectionHeader; local
983 SectionHeader = NULL;
1107 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * mNtHeader.Pe32->FileHeader.NumberOfSections);
1108 ASSERT (SectionHeader != NULL);
1124 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
1125 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof (EFI_IMAGE_SECTION_HEADER));
1128 CopyMem (&SectionHeader[Pos], Section, sizeof (EFI_IMAGE_SECTION_HEADER));
1140 Section = &SectionHeader[Index];
1193 if (SectionHeader !
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DSal.h646 SAL_SEC_HEADER SectionHeader; member in struct:__anon11774
691 SAL_SEC_HEADER SectionHeader; member in struct:__anon11775
745 SAL_SEC_HEADER SectionHeader; member in struct:__anon11777
793 SAL_SEC_HEADER SectionHeader; member in struct:__anon11779
826 SAL_SEC_HEADER SectionHeader; member in struct:__anon11780
859 SAL_SEC_HEADER SectionHeader; member in struct:__anon11781
888 SAL_SEC_HEADER SectionHeader; member in struct:__anon11782

Completed in 88 milliseconds