Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c282 EFI_FREEFORM_SUBTYPE_GUID_SECTION *SectHeader; in GetSectionContents() local
388SectHeader = (EFI_FREEFORM_SUBTYPE_GUID_SECTION *) (FileBuffer + Size); in GetSectionContents()
389 SectHeader->CommonHeader.Size[0] = (UINT8) (Offset & 0xff); in GetSectionContents()
390 SectHeader->CommonHeader.Size[1] = (UINT8) ((Offset & 0xff00) >> 8); in GetSectionContents()
391 SectHeader->CommonHeader.Size[2] = (UINT8) ((Offset & 0xff0000) >> 16); in GetSectionContents()
403 SectHeader->CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID; in GetSectionContents()
404 SectHeader->SubTypeGuid = mEfiFfsSectionAlignmentPaddingGuid; in GetSectionContents()
406 SectHeader->CommonHeader.Type = EFI_SECTION_RAW; in GetSectionContents()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c430 EFI_COMMON_SECTION_HEADER *SectHeader; in GetSectionContents() local
540 SectHeader = (EFI_COMMON_SECTION_HEADER *) (FileBuffer + Size); in GetSectionContents()
541 SectHeader->Type = EFI_SECTION_RAW; in GetSectionContents()
542 SectHeader->Size[0] = (UINT8) (Offset & 0xff); in GetSectionContents()
543 SectHeader->Size[1] = (UINT8) ((Offset & 0xff00) >> 8); in GetSectionContents()
544 SectHeader->Size[2] = (UINT8) ((Offset & 0xff0000) >> 16); in GetSectionContents()