diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-11-23 23:41:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 23:41:24 +0000 |
commit | 71f8a6a9b0cdfcc773542844e1fcb89ba93bcbf5 (patch) | |
tree | 19c1299ef5fc877d4982f14f881f49cfe35a05c2 /lib/xlat_tables | |
parent | 1c64838d4b0e061f22b1b31b8fd64ea4510e1ded (diff) | |
parent | 1d791530d0f3a4a02e285a38f35fecac4feec70c (diff) |
Merge pull request #1145 from etienne-lms/rfc-armv7-2
Support ARMv7 architectures
Diffstat (limited to 'lib/xlat_tables')
-rw-r--r-- | lib/xlat_tables/aarch32/xlat_tables.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/xlat_tables/aarch32/xlat_tables.c b/lib/xlat_tables/aarch32/xlat_tables.c index c7e34f20..720d4461 100644 --- a/lib/xlat_tables/aarch32/xlat_tables.c +++ b/lib/xlat_tables/aarch32/xlat_tables.c @@ -13,6 +13,10 @@ #include <xlat_tables.h> #include "../xlat_tables_private.h" +#if ARM_ARCH_MAJOR == 7 && !defined(ARMV7_SUPPORTS_LARGE_PAGE_ADDRESSING) +#error ARMv7 target does not support LPAE MMU descriptors +#endif + #define XLAT_TABLE_LEVEL_BASE \ GET_XLAT_TABLE_LEVEL_BASE(PLAT_VIRT_ADDR_SPACE_SIZE) |