]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Nov 2008 15:50:13 +0000 (15:50 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Nov 2008 15:50:13 +0000 (15:50 +0000)
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

DuetPkg/FvbRuntimeService/FWBlockService.c
DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c

index faca5ea4227cfd1d8eea9bb0dfdfe76c83e4d3cc..6926a43dcff314a2f697e6aa8faf5880eac9d525 100644 (file)
@@ -1751,7 +1751,7 @@ Returns:
                       NULL\r
                       );\r
       ASSERT_EFI_ERROR (Status);\r
-    } else if (EfiIsDevicePathEnd (TempFwbDevicePath)) {\r
+    } else if (IsDevicePathEnd (TempFwbDevicePath)) {\r
       //\r
       // Device allready exists, so reinstall the FVB protocol\r
       //\r
index a33ce38af7d78680b0909f79baef936551b70166..83ab7de0f608363a2cdb7b4b014c76f8259876e7 100644 (file)
@@ -598,8 +598,8 @@ Returns:
       //\r
       // Get the next device path\r
       //\r
-      CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);\r
-      if (EfiIsDevicePathEnd (CurrentDevicePath)) {\r
+      CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);\r
+      if (IsDevicePathEnd (CurrentDevicePath)) {\r
         return EFI_SUCCESS;\r
       }\r
   \r