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
bbf9f129
Unverified
Commit
bbf9f129
authored
Jun 21, 2018
by
Dimitris Papastamos
Committed by
GitHub
Jun 21, 2018
Browse files
Merge pull request #1435 from antonio-nino-diaz-arm/an/xlat-fix
xlat_v2: Fix descriptor debug print
parents
01460492
7febd83e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/xlat_tables_v2/xlat_tables_internal.c
View file @
bbf9f129
...
...
@@ -1087,13 +1087,13 @@ static void xlat_desc_print(const xlat_ctx_t *ctx, uint64_t desc)
if
(
xlat_regime
==
EL3_REGIME
)
{
/* For EL3, the XN bit is all what matters */
tf_printf
(
"%s"
,
LOW
ER_ATTRS
(
XN
)
&
desc
?
xn_str
:
exec_str
);
tf_printf
(
"%s"
,
(
UPP
ER_ATTRS
(
XN
)
&
desc
)
?
xn_str
:
exec_str
);
}
else
{
/* For EL0 and EL1, we need to know who has which rights */
tf_printf
(
"%s"
,
LOW
ER_ATTRS
(
PXN
)
&
desc
?
xn_str
:
exec_str
);
tf_printf
(
"%s"
,
(
UPP
ER_ATTRS
(
PXN
)
&
desc
)
?
xn_str
:
exec_str
);
tf_printf
(
"%s"
,
priv_str
);
tf_printf
(
"%s"
,
LOW
ER_ATTRS
(
UXN
)
&
desc
?
xn_str
:
exec_str
);
tf_printf
(
"%s"
,
(
UPP
ER_ATTRS
(
UXN
)
&
desc
)
?
xn_str
:
exec_str
);
tf_printf
(
"%s"
,
user_str
);
}
...
...
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