From 6adbd5b4d255b15f1f2feb2e956a2fdd0683a2e2 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Mon, 19 Aug 2013 17:37:50 +0000 Subject: 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 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14567 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Include/Chipset/ArmV7Mmu.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ArmPkg/Include/Chipset') 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 -- cgit v1.2.3