/*++\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
Implements GUIDed section extraction protocol interface with \r
a specific GUID: CRC32.\r
\r
- Please refer to the 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
);\r
if (EFI_ERROR (Status)) {\r
if (Crc32GuidedSep != NULL) {\r
- gBS->FreePool (Crc32GuidedSep);\r
+ FreePool (Crc32GuidedSep);\r
}\r
\r
return Status;\r
Crc32GuidedSep\r
);\r
if (EFI_ERROR (Status)) {\r
- gBS->FreePool (Crc32GuidedSep);\r
+ FreePool (Crc32GuidedSep);\r
return EFI_LOAD_ERROR;\r
}\r
\r
Image = (UINT8 *) InputSection + (UINT32) (GuidedSectionHeader->DataOffset);\r
*OutputSize = GetSectionLength ((EFI_COMMON_SECTION_HEADER *) InputSection) - (UINT32) GuidedSectionHeader->DataOffset;\r
\r
- Status = gBS->AllocatePool (EfiBootServicesData, *OutputSize, OutputBuffer);\r
- if (EFI_ERROR (Status)) {\r
+ *OutputBuffer = AllocatePool (*OutputSize);\r
+ if (*OutputBuffer == NULL) {\r
return EFI_OUT_OF_RESOURCES;\r
}\r
//\r