diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-03 15:11:34 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-06 11:29:28 +0100 |
commit | e1e7e0fb3759d520517249ef696c4b67f614b47a (patch) | |
tree | f002c0aa38f3116ac63661e516961c2896567eaf /BaseTools/Source/Python/Common/FdfParserLite.py | |
parent | 115d97539dc7603aa84fed58a8cca88102d7863c (diff) | |
download | edk2-e1e7e0fb3759d520517249ef696c4b67f614b47a.tar.gz edk2-e1e7e0fb3759d520517249ef696c4b67f614b47a.tar.bz2 edk2-e1e7e0fb3759d520517249ef696c4b67f614b47a.zip |
MdeModulePkg/PeiCore: honour minimal runtime allocation granularity
Architectures such as AArch64 may run the OS with 16 KB or 64 KB sized
pages, and for this reason, the UEFI spec mandates a minimal allocation
granularity of 64 KB for regions that may require different memory
attributes at OS runtime.
So make PeiCore's implementation of AllocatePages () take this into
account as well.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/FdfParserLite.py')
0 files changed, 0 insertions, 0 deletions