]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/GenCRC32Section/GenCRC32Section.h
1. Removed the unnecessary #include statements and include files
[mirror_edk2.git] / Tools / Source / TianoTools / 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 <Base.h>
35 #include <UefiBaseTypes.h>
36 #include <Common/EfiImage.h>
37 #include <Common/FirmwareVolumeImageFormat.h>
38 #include <Common/FirmwareFileSystem.h>
39 #include <Common/FirmwareVolumeHeader.h>
40 #include <Protocol/GuidedSectionExtraction.h>
41
42 /* Tool Headers */
43 #include <CommonLib.h>
44 #include <Crc32.h>
45 #include <EfiCompress.h>
46 #include <EfiUtilityMsgs.h>
47 #include <ParseInf.h>
48
49 //
50 // Module Coded to Tiano Coding Conventions
51 //
52 #ifndef _EFI_GEN_CRC32_SECTION_H
53 #define _EFI_GEN_CRC32_SECTION_H
54
55
56 typedef struct {
57 EFI_GUID_DEFINED_SECTION GuidSectionHeader;
58 UINT32 CRC32Checksum;
59 } CRC32_SECTION_HEADER;
60
61 #define EFI_SECTION_CRC32_GUID_DEFINED 0
62 #define CRC32_SECTION_HEADER_SIZE (sizeof (CRC32_SECTION_HEADER))
63
64 #endif