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
937f6698
Commit
937f6698
authored
Oct 21, 2019
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Oct 21, 2019
Browse files
Merge "xlat_table_v2: Fix enable WARMBOOT_ENABLE_DCACHE_EARLY config" into integration
parents
942bb52e
0e7a0540
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/xlat_tables_v2/xlat_tables_utils.c
View file @
937f6698
...
...
@@ -551,7 +551,7 @@ int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
* before writing the new descriptor.
*/
*
entry
=
INVALID_DESC
;
#if !
(
HW_ASSISTED_COHERENCY
|| WARMBOOT_ENABLE_DCACHE_EARLY)
#if !HW_ASSISTED_COHERENCY
dccvac
((
uintptr_t
)
entry
);
#endif
/* Invalidate any cached copy of this mapping in the TLBs. */
...
...
@@ -562,7 +562,7 @@ int xlat_change_mem_attributes_ctx(const xlat_ctx_t *ctx, uintptr_t base_va,
/* Write new descriptor */
*
entry
=
xlat_desc
(
ctx
,
new_attr
,
addr_pa
,
level
);
#if !
(
HW_ASSISTED_COHERENCY
|| WARMBOOT_ENABLE_DCACHE_EARLY)
#if !HW_ASSISTED_COHERENCY
dccvac
((
uintptr_t
)
entry
);
#endif
base_va
+=
PAGE_SIZE
;
...
...
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