Merge "fix(xlat): set MAX_PHYS_ADDR to total mapped physical region" into integration

This commit is contained in:
Olivier Deprez 2023-11-08 16:35:18 +01:00 committed by TrustedFirmware Code Review
commit d910b37039

View file

@ -200,7 +200,7 @@ int xlat_make_tables_readonly(void)
* region. Therefore, in this case we have to assume that the whole address * region. Therefore, in this case we have to assume that the whole address
* space size might be mapped. * space size might be mapped.
*/ */
#ifdef PLAT_XLAT_TABLES_DYNAMIC #if PLAT_XLAT_TABLES_DYNAMIC
#define MAX_PHYS_ADDR tf_xlat_ctx.pa_max_address #define MAX_PHYS_ADDR tf_xlat_ctx.pa_max_address
#else #else
#define MAX_PHYS_ADDR tf_xlat_ctx.max_pa #define MAX_PHYS_ADDR tf_xlat_ctx.max_pa