]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Need no zero pool for improving performance.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 22 Mar 2007 09:34:49 +0000 (09:34 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 22 Mar 2007 09:34:49 +0000 (09:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2500 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Core/Dxe/FwVol/FwVol.c

index d8137d79c60e7812ae23e07edd132ee6ec2d120c..2e92a8b92149578259bf83952ce5b6fe481bb179 100644 (file)
@@ -1,6 +1,9 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
+/**@file\r
+  Firmware File System driver that produce Firmware Volume protocol.\r
+  Layers on top of Firmware Block protocol to produce a file abstraction \r
+  of FV based files.\r
+  \r
+Copyright (c) 2006 - 2007 Intel Corporation. <BR>\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
@@ -9,17 +12,7 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
-Module Name:\r
-\r
-  FwVol.c\r
-\r
-Abstract:\r
-\r
-  Firmware File System driver that produce Firmware Volume protocol.\r
-  Layers on top of Firmware Block protocol to produce a file abstraction \r
-  of FV based files.\r
-\r
---*/\r
+**/\r
 \r
 #include <DxeMain.h>\r
 \r
@@ -228,7 +221,8 @@ Returns:
   // the header to check to make sure the volume is valid\r
   //\r
   Size = (UINTN)(FwVolHeader->FvLength - FwVolHeader->HeaderLength);\r
-  FvDevice->CachedFv = CoreAllocateZeroBootServicesPool (Size);\r
+  FvDevice->CachedFv = CoreAllocateBootServicesPool (Size);\r
+\r
   if (FvDevice->CachedFv == NULL) {\r
     return EFI_OUT_OF_RESOURCES;\r
   }\r