]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/ArmVirt.dsc.inc
ArmVirtPkg: move all platforms to MdePkg/ BaseMemoryLib implementations
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 13 Sep 2016 15:36:23 +0000 (16:36 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 21 Sep 2016 07:44:06 +0000 (08:44 +0100)
commit3c3cf1cd731f5aa8fdc00392cbf7c5e36055bf18
tree638b8fa47634a4720f50bcb952b2433fe2138a8b
parent217b3ac093d2c1ae2ce066984a9c4302331c07c2
ArmVirtPkg: move all platforms to MdePkg/ BaseMemoryLib implementations

The BaseMemoryLibStm implementation under ArmPkg/ is being deprecated,
in favor of the generic versions under MdePkg, now that ARM and AARCH64
support has been added to both the generic C version (BaseMemoryLib) and
the accelerated version (BaseMemoryLibOptDxe). The latter uses unaligned
accesses and special cache maintenance instructions, and can therefore
not be used when the MMU is off.

So move to BaseMemoryLibOptDxe for the DXE phase and later, and to the
generic BaseMemoryLib before that.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/ArmVirt.dsc.inc