mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
0f8b02980e
commit
c31b316c00
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user