diff options
-rw-r--r-- | UnixPkg/FvbServicesRuntimeDxe/FWBlockService.c | 6 | ||||
-rw-r--r-- | UnixPkg/FvbServicesRuntimeDxe/FvbInfo.c | 4 | ||||
-rw-r--r-- | UnixPkg/FvbServicesRuntimeDxe/UnixFwh.inf | 3 |
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]
|