Revision: 14829
          http://sourceforge.net/p/edk2/code/14829
Author:   ydong10
Date:     2013-11-08 02:23:27 +0000 (Fri, 08 Nov 2013)
Log Message:
-----------
Not update the imageId for EXT1,2,4 type.

Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c

Modified: trunk/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c    2013-11-07 
07:38:05 UTC (rev 14828)
+++ trunk/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c    2013-11-08 
02:23:27 UTC (rev 14829)
@@ -2,7 +2,7 @@
 Implementation for EFI_HII_IMAGE_PROTOCOL.
 
 
-Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD 
License
 which accompanies this distribution.  The full text of the license may be 
found at
@@ -81,7 +81,6 @@
     case EFI_HII_IIBT_EXT1:
       Length8 = *(ImageBlock + sizeof (EFI_HII_IMAGE_BLOCK) + sizeof (UINT8));
       ImageBlock += Length8;
-      ImageIdCurrent++;
       break;
     case EFI_HII_IIBT_EXT2:
       CopyMem (
@@ -90,7 +89,6 @@
         sizeof (UINT16)
         );
       ImageBlock += Length16;
-      ImageIdCurrent++;
       break;
     case EFI_HII_IIBT_EXT4:
       CopyMem (
@@ -99,7 +97,6 @@
         sizeof (UINT32)
         );
       ImageBlock += Length32;
-      ImageIdCurrent++;
       break;
 
     case EFI_HII_IIBT_IMAGE_1BIT:

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to