diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-08-19 17:37:50 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-08-19 17:37:50 +0000 |
commit | 6adbd5b4d255b15f1f2feb2e956a2fdd0683a2e2 (patch) | |
tree | 64debd848538b693824ad2fdb1fa204b5b943b5e /ArmPkg/Include | |
parent | 09e31226c3eb9e2859aa184c5691085ac8225d9f (diff) | |
download | edk2-platforms-6adbd5b4d255b15f1f2feb2e956a2fdd0683a2e2.tar.xz |
ArmPkg/ArmLib: Added ConvertSectionAttributesToPageAttributes()
This helper function converts the section attributes into their page equivalents.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14567 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Include')
-rw-r--r-- | ArmPkg/Include/Chipset/ArmV7Mmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPkg/Include/Chipset/ArmV7Mmu.h b/ArmPkg/Include/Chipset/ArmV7Mmu.h index 2ddab76350..a3b3e35f10 100644 --- a/ArmPkg/Include/Chipset/ArmV7Mmu.h +++ b/ArmPkg/Include/Chipset/ArmV7Mmu.h @@ -222,4 +222,10 @@ TT_DESCRIPTOR_PAGE_AP_RW_RW | \
TT_DESCRIPTOR_PAGE_CACHE_POLICY_NON_CACHEABLE)
+UINT32
+ConvertSectionAttributesToPageAttributes (
+ IN UINT32 SectionAttributes,
+ IN BOOLEAN IsLargePage
+ );
+
#endif
|