Lines Matching refs:Section
159 EFI_COMMON_SECTION_HEADER *Section; in FindFfsSectionInstance() local
176 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindFfsSectionInstance()
178 Size = SECTION_SIZE (Section); in FindFfsSectionInstance()
179 if (Size < sizeof (*Section)) { in FindFfsSectionInstance()
191 if (Section->Type == SectionType) { in FindFfsSectionInstance()
193 *FoundSection = Section; in FindFfsSectionInstance()
329 EFI_GUID_DEFINED_SECTION *Section; in DecompressMemFvs() local
348 (EFI_COMMON_SECTION_HEADER**) &Section in DecompressMemFvs()
356 Section, in DecompressMemFvs()
377 Section, in DecompressMemFvs()
467 EFI_COMMON_SECTION_HEADER *Section; in FindPeiCoreImageBaseInFv() local
473 &Section in FindPeiCoreImageBaseInFv()
480 &Section in FindPeiCoreImageBaseInFv()
488 *PeiCoreImageBase = (EFI_PHYSICAL_ADDRESS)(UINTN)(Section + 1); in FindPeiCoreImageBaseInFv()
595 EFI_COMMON_SECTION_HEADER *Section; in FindImageBase() local
637 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress; in FindImageBase()
639 Size = *(UINT32*) Section->Size & 0xffffff; in FindImageBase()
640 if (Size < sizeof (*Section)) { in FindImageBase()
652 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) { in FindImageBase()
654 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) (Section + 1); in FindImageBase()