On 2016/7/21 19:27, Ard Biesheuvel wrote:
On 20 July 2016 at 07:44, Michael Zimmermann <sigmaepsilo...@gmail.com> wrote:
Hi,

since commit '5db1cce ArmPkg ArmVirtPkg MdeModulePkg: switch to separate
ArmMmuLib' you need to add ArmMmuLib to your platform's dsc file:

ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf

Indeed. But in this particular case, the reporter is building
ArmPkg.dsc from the upstream, and so one would expect the series that
introduces ArmMmuLib to keep ArmPkg.dsc in sync as well.

My bad.

This should do the trick

diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc
index df5be6e..f4ca3e1 100644
--- a/ArmPkg/ArmPkg.dsc
+++ b/ArmPkg/ArmPkg.dsc
@@ -38,6 +38,7 @@
    RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG

  [LibraryClasses.common]
+  ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
    BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
    
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

I think that we also need to append ArmMmuLib in ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf. Since ArmConfigureMmu() is used in MemoryInitPeim.


Best Regards

Haojian

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to