]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/GenCRC32Section.h
763a11cb76c1a1890b435dd79c8c4c82630b5d32
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / GenCRC32Section / GenCRC32Section.h
1 /*++
2
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 GenCRC32Section.h
15
16 Abstract:
17
18 Header file for GenFfsFile. Mainly defines the header of section
19 header for CRC32 GUID defined sections. Share with GenSection.c
20
21 --*/
22
23 //
24 // Module Coded to Tiano Coding Conventions
25 //
26 #ifndef _EFI_GEN_CRC32_SECTION_H
27 #define _EFI_GEN_CRC32_SECTION_H
28
29 //
30 // External Files Referenced
31 //
32 #include "TianoCommon.h"
33 #include "EfiImageFormat.h"
34
35 typedef struct {
36 EFI_GUID_DEFINED_SECTION GuidSectionHeader;
37 UINT32 CRC32Checksum;
38 } CRC32_SECTION_HEADER;
39
40 #define EFI_SECTION_CRC32_GUID_DEFINED 0
41 #define CRC32_SECTION_HEADER_SIZE (sizeof (CRC32_SECTION_HEADER))
42
43 #endif