]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
Correct typo in word in DxeCore.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolRead.c
index fbf6d0a1ba53a7492c01f80249ceafec0371672e..0b53af27d1fd8902b7caea6c8fed7891a43feaa4 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Implements functions to read firmware file\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+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
 http://opensource.org/licenses/bsd-license.php\r
@@ -13,10 +13,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 **/\r
 \r
 #include "DxeMain.h"\r
+#include "FwVolDriver.h"\r
 \r
-/*++\r
-\r
-Required Alignment    Alignment Value in FFS       Alignment Value in\r
+/**\r
+Required Alignment             Alignment Value in FFS         Alignment Value in\r
 (bytes)                        Attributes Field               Firmware Volume Interfaces\r
 1                                    0                                     0\r
 2                                    0                                     1\r
@@ -29,9 +29,7 @@ Required Alignment    Alignment Value in FFS       Alignment Value in
 4 KB                                 5                                     12\r
 32 KB                                6                                     15\r
 64 KB                                7                                     16\r
-\r
---*/\r
-\r
+**/\r
 UINT8 mFvAttributes[] = {0, 4, 7, 9, 10, 12, 15, 16};\r
 \r
 \r
@@ -137,9 +135,9 @@ FvGetNextFile (
     return EFI_ACCESS_DENIED;\r
   }\r
 \r
-  if (*FileType > EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE) {\r
+  if (*FileType > EFI_FV_FILETYPE_SMM_CORE) {\r
     //\r
-    // File type needs to be in 0 - 0x0B\r
+    // File type needs to be in 0 - 0x0D\r
     //\r
     return EFI_NOT_FOUND;\r
   }\r
@@ -327,7 +325,7 @@ FvReadFile (
 \r
   if (Buffer == NULL) {\r
     //\r
-    // If Buffer is NULL, we only want to get the information colected so far\r
+    // If Buffer is NULL, we only want to get the information collected so far\r
     //\r
     return EFI_SUCCESS;\r
   }\r