mirror of https://github.com/acidanthera/audk.git
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6460 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
008698ab3d
commit
8e1ac15ab8
|
@ -1751,7 +1751,7 @@ Returns:
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
} else if (EfiIsDevicePathEnd (TempFwbDevicePath)) {
|
} else if (IsDevicePathEnd (TempFwbDevicePath)) {
|
||||||
//
|
//
|
||||||
// Device allready exists, so reinstall the FVB protocol
|
// Device allready exists, so reinstall the FVB protocol
|
||||||
//
|
//
|
||||||
|
|
|
@ -598,8 +598,8 @@ Returns:
|
||||||
//
|
//
|
||||||
// Get the next device path
|
// Get the next device path
|
||||||
//
|
//
|
||||||
CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);
|
CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);
|
||||||
if (EfiIsDevicePathEnd (CurrentDevicePath)) {
|
if (IsDevicePathEnd (CurrentDevicePath)) {
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue