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
95982ffc
Commit
95982ffc
authored
5 years ago
by
Soby Mathew
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix MTE support from causing unused variable warnings" into integration
parents
17b0bb6c
019b03a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/el3_runtime/aarch64/context_mgmt.c
+2
-2
lib/el3_runtime/aarch64/context_mgmt.c
with
2 additions
and
2 deletions
+2
-2
lib/el3_runtime/aarch64/context_mgmt.c
View file @
95982ffc
...
...
@@ -142,11 +142,11 @@ void cm_setup_context(cpu_context_t *ctx, const entry_point_info_t *ep)
* world, and only for the secure world when CTX_INCLUDE_MTE_REGS is
* set.
*/
unsigned
int
mte
=
get_armv8_5_mte_support
();
#if CTX_INCLUDE_MTE_REGS
assert
(
mte
==
MTE_IMPLEMENTED_ELX
);
assert
(
get_armv8_5_mte_support
()
==
MTE_IMPLEMENTED_ELX
);
scr_el3
|=
SCR_ATA_BIT
;
#else
unsigned
int
mte
=
get_armv8_5_mte_support
();
if
(
mte
==
MTE_IMPLEMENTED_EL0
)
{
/*
* Can enable MTE across both worlds as no MTE registers are
...
...
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