3 Copyright (c) 2006, 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
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.
18 Header file for Crc32SectionExtract.c
19 Please refer to Tiano File Image Format specification
24 #ifndef _CRC32_GUIDED_SECTION_EXTRACTION_H
25 #define _CRC32_GUIDED_SECTION_EXTRACTION_H
28 EFI_GUID_DEFINED_SECTION GuidedSectionHeader
;
30 } CRC32_SECTION_HEADER
;
33 // Function prototype declarations
39 IN EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL
*This
,
40 IN VOID
*InputSection
,
41 OUT VOID
**OutputBuffer
,
42 OUT UINTN
*OutputSize
,
43 OUT UINT32
*AuthenticationStatus
49 TODO: Add function description
53 This - TODO: add argument description
54 InputSection - TODO: add argument description
55 OutputBuffer - TODO: add argument description
56 OutputSize - TODO: add argument description
57 AuthenticationStatus - TODO: add argument description
61 TODO: add return values
68 InitializeCrc32GuidedSectionExtractionProtocol (
69 IN EFI_HANDLE ImageHandle
,
70 IN EFI_SYSTEM_TABLE
*SystemTable
76 Entry point of the CRC32 GUIDed section extraction protocol.
77 Creates and initializes an instance of the GUIDed section
78 extraction protocol with CRC32 GUID.
82 ImageHandle EFI_HANDLE: A handle for the image that is initializing
84 SystemTable EFI_SYSTEM_TABLE: A pointer to the EFI system table
88 EFI_SUCCESS: Driver initialized successfully
89 EFI_LOAD_ERROR: Failed to Initialize or has been loaded
90 EFI_OUT_OF_RESOURCES: Could not allocate needed resources