audk/ArmPkg/Library/ArmMmuLib
Ard Biesheuvel aa961dea1e ArmPkg/ArmMmuLib: Revert "use a pool allocation for the root table"
This reverts commit d32702d2c2.

Using a pool allocation for the root translation table seemed like
a good idea at the time, but as it turns out, such allocations are
handled in a way that makes them unsuitable for this purpose: they
are backed by HOBs that don't remain in the same place during the
various PI phase changes, which means the address programmed into
the TTBR register is no longer valid, and may refer to memory that
is reported as available to the OS.

So switch back to using a page based allocation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-01-20 17:50:40 +00:00
..
AArch64 ArmPkg/ArmMmuLib: Revert "use a pool allocation for the root table" 2017-01-20 17:50:40 +00:00
Arm ArmPkg: introduce base ArmMmuLib implementation 2016-07-07 14:33:47 +02:00
ArmMmuBaseLib.inf ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size 2016-09-13 13:43:34 +01:00
ArmMmuPeiLib.inf ArmPkg/ArmMmuLib: base page table VA size on GCD memory map size 2016-09-13 13:43:34 +01:00