summaryrefslogtreecommitdiff
path: root/UnixPkg/FvbServicesRuntimeDxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-13 08:04:46 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-13 08:04:46 +0000
commit9f0b86b7f979199111b1aaa8565322c2b71b6700 (patch)
treefdb4f7963ff333787b7c05c27321bd5ca99b380a /UnixPkg/FvbServicesRuntimeDxe
parentf8c9de87bcca956887d68491515acdeeecf5a38d (diff)
downloadedk2-platforms-9f0b86b7f979199111b1aaa8565322c2b71b6700.tar.xz
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
Diffstat (limited to 'UnixPkg/FvbServicesRuntimeDxe')
-rw-r--r--UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c6
-rw-r--r--UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c4
-rw-r--r--UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf3
3 files changed, 9 insertions, 4 deletions
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 <Library/HobLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
-#include <Library/UefiBootServicesTableLib.h>
+#include <Library/UefiBootServicesTableLib.h>
+#include <Library/DevicePathLib.h>
+
#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 <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
-#include <Library/PcdLib.h>
+#include <Library/PcdLib.h>
+#include <Library/DevicePathLib.h>
+
#include <Guid/FirmwareFileSystem2.h>
#include <Guid/SystemNvDataGuid.h>
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]