Home
last modified time | relevance | path

Searched refs:GuidSectionHeader (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/
DGenCRC32Section.c97 Crc32Header.GuidSectionHeader.CommonHeader.Type = EFI_SECTION_GUID_DEFINED; in SignSectionWithCrc32()
98 Crc32Header.GuidSectionHeader.CommonHeader.Size[0] = (UINT8) (TotalSize & 0xff); in SignSectionWithCrc32()
99 Crc32Header.GuidSectionHeader.CommonHeader.Size[1] = (UINT8) ((TotalSize & 0xff00) >> 8); in SignSectionWithCrc32()
100 Crc32Header.GuidSectionHeader.CommonHeader.Size[2] = (UINT8) ((TotalSize & 0xff0000) >> 16); in SignSectionWithCrc32()
101 …memcpy (&(Crc32Header.GuidSectionHeader.SectionDefinitionGuid), &gEfiCrc32SectionGuid, sizeof (EFI… in SignSectionWithCrc32()
102 Crc32Header.GuidSectionHeader.Attributes = EFI_GUIDED_SECTION_AUTH_STATUS_VALID; in SignSectionWithCrc32()
103 Crc32Header.GuidSectionHeader.DataOffset = CRC32_SECTION_HEADER_SIZE; in SignSectionWithCrc32()
DGenCRC32Section.h36 EFI_GUID_DEFINED_SECTION GuidSectionHeader; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c84 EFI_GUID_DEFINED_SECTION GuidSectionHeader; member
89 EFI_GUID_DEFINED_SECTION2 GuidSectionHeader; member
928 Crc32GuidSect2->GuidSectionHeader.CommonHeader.Type = EFI_SECTION_GUID_DEFINED; in GenSectionGuidDefinedSection()
929 Crc32GuidSect2->GuidSectionHeader.CommonHeader.Size[0] = (UINT8) 0xff; in GenSectionGuidDefinedSection()
930 Crc32GuidSect2->GuidSectionHeader.CommonHeader.Size[1] = (UINT8) 0xff; in GenSectionGuidDefinedSection()
931 Crc32GuidSect2->GuidSectionHeader.CommonHeader.Size[2] = (UINT8) 0xff; in GenSectionGuidDefinedSection()
932 Crc32GuidSect2->GuidSectionHeader.CommonHeader.ExtendedSize = TotalLength; in GenSectionGuidDefinedSection()
933 …memcpy (&(Crc32GuidSect2->GuidSectionHeader.SectionDefinitionGuid), &mEfiCrc32SectionGuid, sizeof … in GenSectionGuidDefinedSection()
934 Crc32GuidSect2->GuidSectionHeader.Attributes = EFI_GUIDED_SECTION_AUTH_STATUS_VALID; in GenSectionGuidDefinedSection()
935 Crc32GuidSect2->GuidSectionHeader.DataOffset = sizeof (CRC32_SECTION_HEADER2); in GenSectionGuidDefinedSection()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
DGenSection.h35 EFI_GUID_DEFINED_SECTION GuidSectionHeader; member
DGenSection.c649 Crc32GuidSect.GuidSectionHeader.CommonHeader.Type = (EFI_SECTION_TYPE) SectionType; in GenSectionGuidDefinedSection()
650 Crc32GuidSect.GuidSectionHeader.CommonHeader.Size[0] = (UINT8) (TotalLength & 0xff); in GenSectionGuidDefinedSection()
651 Crc32GuidSect.GuidSectionHeader.CommonHeader.Size[1] = (UINT8) ((TotalLength & 0xff00) >> 8); in GenSectionGuidDefinedSection()
652 … Crc32GuidSect.GuidSectionHeader.CommonHeader.Size[2] = (UINT8) ((TotalLength & 0xff0000) >> 16); in GenSectionGuidDefinedSection()
653 …memcpy (&(Crc32GuidSect.GuidSectionHeader.SectionDefinitionGuid), &gEfiCrc32SectionGuid, sizeof (E… in GenSectionGuidDefinedSection()
654 Crc32GuidSect.GuidSectionHeader.Attributes = EFI_GUIDED_SECTION_AUTH_STATUS_VALID; in GenSectionGuidDefinedSection()
655 Crc32GuidSect.GuidSectionHeader.DataOffset = CRC32_SECTION_HEADER_SIZE; in GenSectionGuidDefinedSection()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
DGenFfsFile.c537 EFI_GUID_DEFINED_SECTION GuidSectionHeader; in GenSimpleGuidSection() local
549 GuidSectionHeader.CommonHeader.Type = EFI_SECTION_GUID_DEFINED; in GenSimpleGuidSection()
550 GuidSectionHeader.CommonHeader.Size[0] = (UINT8) (TotalSize & 0xff); in GenSimpleGuidSection()
551 GuidSectionHeader.CommonHeader.Size[1] = (UINT8) ((TotalSize & 0xff00) >> 8); in GenSimpleGuidSection()
552 GuidSectionHeader.CommonHeader.Size[2] = (UINT8) ((TotalSize & 0xff0000) >> 16); in GenSimpleGuidSection()
553 memcpy (&(GuidSectionHeader.SectionDefinitionGuid), &SignGuid, sizeof (EFI_GUID)); in GenSimpleGuidSection()
554 GuidSectionHeader.Attributes = GuidedSectionAttributes; in GenSimpleGuidSection()
555 GuidSectionHeader.DataOffset = sizeof (EFI_GUID_DEFINED_SECTION); in GenSimpleGuidSection()
563 memcpy (FileBuffer, &GuidSectionHeader, sizeof (EFI_GUID_DEFINED_SECTION)); in GenSimpleGuidSection()