Fix the issues caused by EfiCompress.h was changed to Compress.h.
[mirror_edk2.git] / Tools / CCode / Source / GenCRC32Section / GenCRC32Section.h
1 /*++
2
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. 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 // External Files Referenced
25 //
26
27 /* Standard Headers */
28 #include <stdio.h>
29 #include <stdlib.h>
30 #include <string.h>
31 #include <assert.h>
32
33 /* MDE Headers */
34 #include <Common/UefiBaseTypes.h>
35 #include <Common/EfiImage.h>
36 #include <Common/FirmwareVolumeImageFormat.h>
37 #include <Common/FirmwareFileSystem.h>
38 #include <Common/FirmwareVolumeHeader.h>
39 #include <Protocol/GuidedSectionExtraction.h>
40
41 /* Tool Headers */
42 #include "CommonLib.h"
43 #include "Crc32.h"
44 #include "Compress.h"
45 #include "EfiUtilityMsgs.h"
46 #include "ParseInf.h"
47
48 //
49 // Module Coded to Tiano Coding Conventions
50 //
51 #ifndef _EFI_GEN_CRC32_SECTION_H
52 #define _EFI_GEN_CRC32_SECTION_H
53
54
55 typedef struct {
56 EFI_GUID_DEFINED_SECTION GuidSectionHeader;
57 UINT32 CRC32Checksum;
58 } CRC32_SECTION_HEADER;
59
60 #define EFI_SECTION_CRC32_GUID_DEFINED 0
61 #define CRC32_SECTION_HEADER_SIZE (sizeof (CRC32_SECTION_HEADER))
62
63 #endif