]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/FirmwareVolume/GuidedSectionExtraction/Crc32SectionExtract/Dxe/Crc32SectionExtract.h
Clean up the following module msa files, they are edkmodule package ftwlit, Crc32Sect...
[mirror_edk2.git] / EdkModulePkg / Universal / FirmwareVolume / GuidedSectionExtraction / Crc32SectionExtract / Dxe / Crc32SectionExtract.h
index 8e32d6d7bb991f0e416fe61b85e0185dc7272de7..979c41de94a9da7f7745af91eb5b1ccb9dc53284 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -16,8 +16,7 @@ Module Name:
 Abstract:\r
 \r
   Header file for Crc32SectionExtract.c\r
-  Please refer to Tiano File Image Format specification \r
-  FV spec 0.3.6\r
+  Please refer to the Framewokr Firmware Volume Specification 0.9.\r
 \r
 --*/\r
 \r
@@ -34,6 +33,7 @@ typedef struct {
 //\r
 STATIC\r
 EFI_STATUS\r
+EFIAPI\r
 Crc32ExtractSection (\r
   IN  EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL  *This,\r
   IN  VOID                                    *InputSection,\r
@@ -62,4 +62,33 @@ Returns:
 --*/\r
 ;\r
 \r
+EFI_STATUS\r
+EFIAPI\r
+InitializeCrc32GuidedSectionExtractionProtocol (\r
+  IN EFI_HANDLE                   ImageHandle,\r
+  IN EFI_SYSTEM_TABLE             *SystemTable\r
+  )\r
+/*++\r
+\r
+Routine Description: \r
+\r
+  Entry point of the CRC32 GUIDed section extraction protocol. \r
+  Creates and initializes an instance of the GUIDed section \r
+  extraction protocol with CRC32 GUID.\r
+\r
+Arguments:  \r
+\r
+  ImageHandle   EFI_HANDLE: A handle for the image that is initializing \r
+                this driver\r
+  SystemTable   EFI_SYSTEM_TABLE: A pointer to the EFI system table        \r
+\r
+Returns:  \r
+\r
+  EFI_SUCCESS:          Driver initialized successfully\r
+  EFI_LOAD_ERROR:       Failed to Initialize or has been loaded \r
+  EFI_OUT_OF_RESOURCES: Could not allocate needed resources\r
+\r
+--*/\r
+;\r
+\r
 #endif\r