diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-10-08 18:52:06 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-10-08 18:52:06 +0000 |
commit | 5ab77c6630317f0ab2da1892e6d36a4b83e06a2f (patch) | |
tree | 45c2228bb2b746e78ebc4c0cb75bd715429d3f99 /MdePkg | |
parent | 2afeabd1a9cee51745f51b7b51d02f19c0a36429 (diff) | |
download | edk2-platforms-5ab77c6630317f0ab2da1892e6d36a4b83e06a2f.tar.xz |
ArmPkg/AArch64Mmu: move page table traversal code to separate function
Move the page table traversal and splitting logic to a separate function
UpdateRegionMapping() and refactor it slightly so we can reuse it later to
implement non-executable regions, for the stack. This primarly involves
adding a value/mask pair to the function prototype that allows us to flip
arbitrary bits on each block entry as the page tables are traversed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18586 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions