summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-11 15:42:40 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-11 15:42:40 +0000
commit1232b21473646661a4ac1ae4b7bf5113d4613e83 (patch)
treed941add025ac902858b1aa8cf38ffaa055baa41b /MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
parente5dab01618850f8c8be029336ad93dcd1680865f (diff)
downloadedk2-platforms-1232b21473646661a4ac1ae4b7bf5113d4613e83.tar.xz
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@6456 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c')
-rw-r--r--MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
index 21bfb8a7c2..b746c68bf5 100644
--- a/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
+++ b/MdeModulePkg/Library/DxePlatDriOverLib/PlatDriOverLib.c
@@ -1590,9 +1590,9 @@ UpdateFvFileDevicePath (
//
TempDevicePath = *DevicePath;
LastDeviceNode = TempDevicePath;
- while (!EfiIsDevicePathEnd (TempDevicePath)) {
- LastDeviceNode = TempDevicePath;
- TempDevicePath = EfiNextDevicePathNode (TempDevicePath);
+ while (!IsDevicePathEnd (TempDevicePath)) {
+ LastDeviceNode = TempDevicePath;
+ TempDevicePath = NextDevicePathNode (TempDevicePath);
}
GuidPoint = EfiGetNameGuidFromFwVolDevicePathNode ((MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) LastDeviceNode);
if (GuidPoint == NULL) {
@@ -1618,7 +1618,7 @@ UpdateFvFileDevicePath (
//
TempDevicePath = *DevicePath;
HasFvNode = FALSE;
- while (!EfiIsDevicePathEnd (TempDevicePath)) {
+ while (!IsDevicePathEnd (TempDevicePath)) {
//
// Use old Device Path
//
@@ -1627,7 +1627,7 @@ UpdateFvFileDevicePath (
HasFvNode = TRUE;
break;
}
- TempDevicePath = EfiNextDevicePathNode (TempDevicePath);
+ TempDevicePath = NextDevicePathNode (TempDevicePath);
}
if (!HasFvNode) {