Merge "fix(xlat): fix bug on VERBOSE trace" into integration

This commit is contained in:
Madhukar Pappireddy 2021-12-06 19:00:38 +01:00 committed by TrustedFirmware Code Review
commit 8b0c6612f1
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <inttypes.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
@ -199,7 +200,7 @@ static void xlat_tables_print_internal(xlat_ctx_t *ctx, uintptr_t table_base_va,
(uint64_t *)addr_inner, (uint64_t *)addr_inner,
XLAT_TABLE_ENTRIES, level + 1U); XLAT_TABLE_ENTRIES, level + 1U);
} else { } else {
printf("%sVA:0x%lx PA:0x%llx size:0x%zx ", printf("%sVA:0x%lx PA:0x%" PRIx64 " size:0x%zx ",
level_spacers[level], table_idx_va, level_spacers[level], table_idx_va,
(uint64_t)(desc & TABLE_ADDR_MASK), (uint64_t)(desc & TABLE_ADDR_MASK),
level_size); level_size);