]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/FirmwareVolume/GuidedSectionExtraction/Crc32SectionExtract/Dxe/Crc32SectionExtract.h
Initial import.
[mirror_edk2.git] / EdkModulePkg / Universal / FirmwareVolume / GuidedSectionExtraction / Crc32SectionExtract / Dxe / Crc32SectionExtract.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 Crc32SectionExtract.h\r
15 \r
16Abstract:\r
17\r
18 Header file for Crc32SectionExtract.c\r
19 Please refer to Tiano File Image Format specification \r
20 FV spec 0.3.6\r
21\r
22--*/\r
23\r
24#ifndef _CRC32_GUIDED_SECTION_EXTRACTION_H\r
25#define _CRC32_GUIDED_SECTION_EXTRACTION_H\r
26\r
27typedef struct {\r
28 EFI_GUID_DEFINED_SECTION GuidedSectionHeader;\r
29 UINT32 CRC32Checksum;\r
30} CRC32_SECTION_HEADER;\r
31\r
32//\r
33// Function prototype declarations\r
34//\r
35STATIC\r
36EFI_STATUS\r
37Crc32ExtractSection (\r
38 IN EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This,\r
39 IN VOID *InputSection,\r
40 OUT VOID **OutputBuffer,\r
41 OUT UINTN *OutputSize,\r
42 OUT UINT32 *AuthenticationStatus\r
43 )\r
44/*++\r
45\r
46Routine Description:\r
47\r
48 TODO: Add function description\r
49\r
50Arguments:\r
51\r
52 This - TODO: add argument description\r
53 InputSection - TODO: add argument description\r
54 OutputBuffer - TODO: add argument description\r
55 OutputSize - TODO: add argument description\r
56 AuthenticationStatus - TODO: add argument description\r
57\r
58Returns:\r
59\r
60 TODO: add return values\r
61\r
62--*/\r
63;\r
64\r
65#endif\r