diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2019-03-29 12:59:35 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2019-03-29 12:59:35 +0000 |
commit | 54959b0c9989faccec05d420aee14ff865d60fab (patch) | |
tree | a73e3908a4a82b89ff2d31f5cb346411305dc751 /plat/arm/fvp | |
parent | 88e96a1d790ca47c500a254dea32426e41e4e369 (diff) |
xlat v2: Add unit tests
Add basic unit tests for the xlat tables library v2.
Change-Id: I814470d2aceec8a7d1da5190c7c5b355178b1a54
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/arm/fvp')
-rw-r--r-- | plat/arm/fvp/include/platform_def.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/plat/arm/fvp/include/platform_def.h b/plat/arm/fvp/include/platform_def.h index 19be6cb..c9d2fbb 100644 --- a/plat/arm/fvp/include/platform_def.h +++ b/plat/arm/fvp/include/platform_def.h @@ -1,10 +1,12 @@ /* - * Copyright (c) 2018, Arm Limited. All rights reserved. + * Copyright (c) 2018-2019, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> +#include <utils_def.h> + #include "../fvp_def.h" /******************************************************************************* @@ -174,11 +176,13 @@ /******************************************************************************* * Platform specific page table and MMU setup constants ******************************************************************************/ -#define PLAT_PHY_ADDR_SPACE_SIZE (1ull << 32) -#define PLAT_VIRT_ADDR_SPACE_SIZE (1ull << 32) +#define PLAT_PHY_ADDR_SPACE_SIZE (ULL(1) << 32) +#define PLAT_VIRT_ADDR_SPACE_SIZE (ULL(1) << 32) + #if IMAGE_TFTF -#define MAX_XLAT_TABLES 6 -#define MAX_MMAP_REGIONS 16 +/* For testing xlat tables lib v2 */ +#define MAX_XLAT_TABLES 20 +#define MAX_MMAP_REGIONS 50 #else #define MAX_XLAT_TABLES 5 #define MAX_MMAP_REGIONS 16 |