To follow UEFI spec, update the code to make correct check to support multiple _ADR fields.

Signed-off-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13538 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
li-elvin 2012-07-18 06:21:08 +00:00
parent 0f8b02980e
commit c31b316c00
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ BiosVideoDriverBindingSupported (
//
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;
}
}