Revision: 13538
          http://edk2.svn.sourceforge.net/edk2/?rev=13538&view=rev
Author:   li-elvin
Date:     2012-07-18 06:21:08 +0000 (Wed, 18 Jul 2012)
Log Message:
-----------
To follow UEFI spec, update the code to make correct check to support multiple 
_ADR fields.

Signed-off-by: Li Elvin <[email protected]>
Reviewed-by: Ruiyu Ni <[email protected]>

Modified Paths:
--------------
    trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c

Modified: trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
===================================================================
--- trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c       
2012-07-17 09:25:26 UTC (rev 13537)
+++ trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c       
2012-07-18 06:21:08 UTC (rev 13538)
@@ -198,7 +198,7 @@
         //
         if (Node->DevPath.Type != ACPI_DEVICE_PATH ||
             Node->DevPath.SubType != ACPI_ADR_DP ||
-            DevicePathNodeLength(&Node->DevPath) != 
sizeof(ACPI_ADR_DEVICE_PATH)) {
+            DevicePathNodeLength(&Node->DevPath) < 
sizeof(ACPI_ADR_DEVICE_PATH)) {
           Status = EFI_UNSUPPORTED;
         }
       }

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to