Revision: 14437
          http://sourceforge.net/p/edk2/code/14437
Author:   oliviermartin
Date:     2013-06-21 10:01:27 +0000 (Fri, 21 Jun 2013)
Log Message:
-----------
ArmPlatformPkg/Bds: Make ".EFI" files recognizable as EFI applications

Currently, only ".efi" files are recognized as valid ARM UEFI
applications by BDS. This patch also makes ".EFI" files recognised.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <[email protected]>
Signed-off-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPlatformPkg/Bds/BdsHelper.c

Modified: trunk/edk2/ArmPlatformPkg/Bds/BdsHelper.c
===================================================================
--- trunk/edk2/ArmPlatformPkg/Bds/BdsHelper.c   2013-06-19 18:27:55 UTC (rev 
14436)
+++ trunk/edk2/ArmPlatformPkg/Bds/BdsHelper.c   2013-06-21 10:01:27 UTC (rev 
14437)
@@ -205,7 +205,8 @@
   IN CHAR16* FilePath
   )
 {
-  return (StrCmp (FilePath + (StrSize(FilePath)/sizeof(CHAR16)) - 5, L".efi") 
== 0);
+  return (StrCmp (FilePath + (StrSize (FilePath) / sizeof (CHAR16)) - 5, 
L".EFI") == 0) ||
+         (StrCmp (FilePath + (StrSize (FilePath) / sizeof (CHAR16)) - 5, 
L".efi") == 0);
 }
 
 // Return the last non end-type Device Path Node from a Device Path

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to