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
21525052
Commit
21525052
authored
7 years ago
by
davidcunado-arm
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1110 from masahir0y/xlat
Fix MAP_REGION for GCC 4.9
parents
92d0926a
03f55a58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/lib/xlat_tables/xlat_tables_v2.h
+2
-2
include/lib/xlat_tables/xlat_tables_v2.h
with
2 additions
and
2 deletions
+2
-2
include/lib/xlat_tables/xlat_tables_v2.h
View file @
21525052
...
...
@@ -23,12 +23,12 @@
/* Helper macro to define entries for mmap_region_t. It allows to
* re-map address mappings from 'pa' to 'va' for each region.
*/
#define MAP_REGION(_pa, _va, _sz, _attr)
((mmap_region_t){
\
#define MAP_REGION(_pa, _va, _sz, _attr)
{
\
.base_pa = (_pa), \
.base_va = (_va), \
.size = (_sz), \
.attr = (_attr), \
}
)
}
/*
* Shifts and masks to access fields of an mmap_attr_t
...
...
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