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>
This commit is contained in:
York Sun
2016-06-24 16:46:22 -07:00
parent f733d46620
commit cd4b0c5fea
14 changed files with 86 additions and 53 deletions

View File

@@ -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;
};