diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-11 15:50:13 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-11 15:50:13 +0000 |
commit | 8e1ac15ab89d289a42bd687a91b94d1c4284d3f1 (patch) | |
tree | 7037c7f86339afd72c2506fa258ed6ad117525a6 /DuetPkg | |
parent | 008698ab3df1bd965fb2af26ee20b15dbb09ea99 (diff) | |
download | edk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.tar.gz edk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.tar.bz2 edk2-8e1ac15ab89d289a42bd687a91b94d1c4284d3f1.zip |
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
Diffstat (limited to 'DuetPkg')
-rw-r--r-- | DuetPkg/FvbRuntimeService/FWBlockService.c | 2 | ||||
-rw-r--r-- | DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/FvbRuntimeService/FWBlockService.c b/DuetPkg/FvbRuntimeService/FWBlockService.c index faca5ea422..6926a43dcf 100644 --- a/DuetPkg/FvbRuntimeService/FWBlockService.c +++ b/DuetPkg/FvbRuntimeService/FWBlockService.c @@ -1751,7 +1751,7 @@ Returns: NULL
);
ASSERT_EFI_ERROR (Status);
- } else if (EfiIsDevicePathEnd (TempFwbDevicePath)) {
+ } else if (IsDevicePathEnd (TempFwbDevicePath)) {
//
// Device allready exists, so reinstall the FVB protocol
//
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c index a33ce38af7..83ab7de0f6 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c @@ -598,8 +598,8 @@ Returns: //
// Get the next device path
//
- CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);
- if (EfiIsDevicePathEnd (CurrentDevicePath)) {
+ CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);
+ if (IsDevicePathEnd (CurrentDevicePath)) {
return EFI_SUCCESS;
}
|