]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c
MdeModulePkg/Core: Support standalone MM in FV2 protocol GetNextFile().
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolRead.c
index 2861cbf676294fd3476b57a9c39d65d1a8aa0157..8dcbbeb5ee5aed264b8e2ab2aa2418381052677d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implements functions to read firmware file\r
 \r
-Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -143,9 +143,9 @@ FvGetNextFile (
     return EFI_ACCESS_DENIED;\r
   }\r
 \r
-  if (*FileType > EFI_FV_FILETYPE_SMM_CORE) {\r
+  if (*FileType > EFI_FV_FILETYPE_MM_CORE_STANDALONE) {\r
     //\r
-    // File type needs to be in 0 - 0x0D\r
+    // File type needs to be in 0 - 0x0F\r
     //\r
     return EFI_NOT_FOUND;\r
   }\r