summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/armv8
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-06-24 16:46:22 -0700
committerYork Sun <york.sun@nxp.com>2016-07-15 09:01:43 -0700
commitcd4b0c5feaaa524b44889cde8f58d4b121df8fed (patch)
tree345898936af2911de6880f6313476ae6243376d1 /arch/arm/include/asm/armv8
parentf733d46620d0efb93091f147f81a4bf9588fad3f (diff)
armv8: mmu: Add support of non-identical mapping
Introduce virtual and physical addresses in the mapping table. This change have no impact on existing boards because they all use idential mapping. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/armv8')
-rw-r--r--arch/arm/include/asm/armv8/mmu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h
index b7b47068a3..aa0f3c42f6 100644
--- a/arch/arm/include/asm/armv8/mmu.h
+++ b/arch/arm/include/asm/armv8/mmu.h
@@ -135,7 +135,8 @@ static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr)
}
struct mm_region {
- u64 base;
+ u64 virt;
+ u64 phys;
u64 size;
u64 attrs;
};