Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
235581cf
Commit
235581cf
authored
Aug 01, 2017
by
davidcunado-arm
Committed by
GitHub
Aug 01, 2017
Browse files
Merge pull request #1045 from sandrine-bailleux-arm/sb/xlat-lib-ctx
Fix sign of variable in xlat_tables_print()
parents
e43ae8e9
664e6931
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/xlat_tables_v2/xlat_tables_internal.c
View file @
235581cf
...
@@ -1123,7 +1123,7 @@ void xlat_tables_print(xlat_ctx_t *ctx)
...
@@ -1123,7 +1123,7 @@ void xlat_tables_print(xlat_ctx_t *ctx)
int
used_page_tables
;
int
used_page_tables
;
#if PLAT_XLAT_TABLES_DYNAMIC
#if PLAT_XLAT_TABLES_DYNAMIC
used_page_tables
=
0
;
used_page_tables
=
0
;
for
(
int
i
=
0
;
i
<
ctx
->
tables_num
;
++
i
)
{
for
(
unsigned
int
i
=
0
;
i
<
ctx
->
tables_num
;
++
i
)
{
if
(
ctx
->
tables_mapped_regions
[
i
]
!=
0
)
if
(
ctx
->
tables_mapped_regions
[
i
]
!=
0
)
++
used_page_tables
;
++
used_page_tables
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment