summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLijuan Gao <lijuang@codeaurora.org>2021-07-19 13:48:10 +0800
committerjianzhou <jianzhou@codeaurora.org>2021-08-27 15:41:29 +0800
commitf049b8e32c50907108b9c3d20561dc9e617a4b37 (patch)
treecb85959c647213a44405e14dcc43cac3a51f9187
parent5c8e3c08d7002ef74d18a3ad42334b7a79c8b152 (diff)
MdeModulePkg: Fixed compile error after using optimized memory
Fixed the below compile error after using optimized memcpy: "Instance of library class [BaseMemoryLib] is not found" Change-Id: Ia99de8e7046f03926a50fa7726e4a7aff847f002
-rw-r--r--MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf2
-rw-r--r--MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf b/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
index 620763a737..2e4f70b6d4 100644
--- a/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
+++ b/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
@@ -36,7 +36,7 @@
BaseLib
DebugLib
UefiBootServicesTableLib
- BaseMemoryLib
+ BaseMemoryLibOptDxe
PcdLib
DevicePathLib
diff --git a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
index b52fc5686a..3b4c6e8bfc 100644
--- a/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
+++ b/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
@@ -35,7 +35,7 @@
[LibraryClasses]
PcdLib
ReportStatusCodeLib
- BaseMemoryLib
+ BaseMemoryLibOptDxe
BaseLib
DebugPrintErrorLevelLib