From 9f0b86b7f979199111b1aaa8565322c2b71b6700 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 13 Nov 2008 08:04:46 +0000 Subject: Add DevicePathLib reference, for these macros have been moved to DevicePathLib Change the reference of EfiIsDevicePathEnd() to IsDevicePathEnd() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6493 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c | 6 ++++-- UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c | 4 +++- UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'UnixPkg') diff --git a/UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c b/UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c index 840b0da2f1..79f6be6ae5 100644 --- a/UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c +++ b/UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c @@ -35,7 +35,9 @@ Revision History #include #include #include -#include +#include +#include + #include "FwBlockService.h" ESAL_FWB_GLOBAL *mFvbModuleGlobal; @@ -1488,7 +1490,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/UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c b/UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c index 6670359099..19935b22f0 100644 --- a/UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c +++ b/UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c @@ -36,7 +36,9 @@ Abstract: #include #include #include -#include +#include +#include + #include #include diff --git a/UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf b/UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf index 52cc62e50d..d79cf67614 100644 --- a/UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf +++ b/UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf @@ -53,7 +53,8 @@ DxeServicesTableLib BaseLib UefiDriverEntryPoint - UefiLib + UefiLib + DevicePathLib [Guids] -- cgit v1.2.3