Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
3d3619c6
Unverified
Commit
3d3619c6
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1617 from antonio-nino-diaz-arm/an/bugfix
xlat: Fix checks in mmap_add() and mmap_add_ctx()
parents
5634a493
a5fa5658
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/xlat_tables/xlat_tables_common.c
+1
-1
lib/xlat_tables/xlat_tables_common.c
lib/xlat_tables_v2/xlat_tables_core.c
+1
-1
lib/xlat_tables_v2/xlat_tables_core.c
with
2 additions
and
2 deletions
+2
-2
lib/xlat_tables/xlat_tables_common.c
View file @
3d3619c6
...
...
@@ -176,7 +176,7 @@ void mmap_add(const mmap_region_t *mm)
{
const
mmap_region_t
*
mm_cursor
=
mm
;
while
(
mm_cursor
->
attr
!=
0U
)
{
while
((
mm_cursor
->
size
!=
0U
)
||
(
mm_cursor
->
attr
!=
0U
)
)
{
mmap_add_region
(
mm_cursor
->
base_pa
,
mm_cursor
->
base_va
,
mm_cursor
->
size
,
mm_cursor
->
attr
);
mm_cursor
++
;
...
...
This diff is collapsed.
Click to expand it.
lib/xlat_tables_v2/xlat_tables_core.c
View file @
3d3619c6
...
...
@@ -815,7 +815,7 @@ void mmap_add_ctx(xlat_ctx_t *ctx, const mmap_region_t *mm)
{
const
mmap_region_t
*
mm_cursor
=
mm
;
while
(
mm_cursor
->
attr
!=
0U
)
{
while
(
mm_cursor
->
granularity
!=
0U
)
{
mmap_add_region_ctx
(
ctx
,
mm_cursor
);
mm_cursor
++
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help