diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-10-16 16:36:08 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-10-30 14:50:33 +0000 |
commit | 0e0ae47da6bdd2852e601a4a8f92fea93037cd7e (patch) | |
tree | 4f463883cc3783e65b866d1046139d7f4524d7b4 /BaseTools | |
parent | 8cadcaa13d882816052ad4dec77faddd44a1c108 (diff) | |
download | edk2-0e0ae47da6bdd2852e601a4a8f92fea93037cd7e.tar.gz edk2-0e0ae47da6bdd2852e601a4a8f92fea93037cd7e.tar.bz2 edk2-0e0ae47da6bdd2852e601a4a8f92fea93037cd7e.zip |
MdeModulePkg/AcpiTableDxe: use pool allocations when possible
On AArch64 systems, page based allocations for memory types that are
relevant to the OS are rounded up to 64 KB multiples. This wastes
some space in the ACPI table memory allocator, since it uses page
based allocations in order to be able to place the ACPI tables low
in memory.
Since the latter requirement does not exist on AArch64, switch to pool
allocations for all ACPI tables except the root tables if the active
allocation policy permits them to be anywhere in memory. The root
tables will be handled in a subsequent patch.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions