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
cc40f7fe
Unverified
Commit
cc40f7fe
authored
Feb 08, 2018
by
davidcunado-arm
Committed by
GitHub
Feb 08, 2018
Browse files
Merge pull request #1254 from masahir0y/bl2-at-el3
Fix zero_normalmem() for BL2_AT_EL3
parents
5b75b4a7
79c7e728
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/aarch64/misc_helpers.S
View file @
cc40f7fe
...
@@ -198,7 +198,7 @@ func zeromem_dczva
...
@@ -198,7 +198,7 @@ func zeromem_dczva
*
Check
for
M
bit
(
MMU
enabled
)
of
the
current
SCTLR_EL
(
1
|
3
)
*
Check
for
M
bit
(
MMU
enabled
)
of
the
current
SCTLR_EL
(
1
|
3
)
*
register
value
and
panic
if
the
MMU
is
disabled
.
*
register
value
and
panic
if
the
MMU
is
disabled
.
*/
*/
#if defined(IMAGE_BL1) || defined(IMAGE_BL31)
#if defined(IMAGE_BL1) || defined(IMAGE_BL31)
|| (defined(IMAGE_BL2) && BL2_AT_EL3)
mrs
tmp1
,
sctlr_el3
mrs
tmp1
,
sctlr_el3
#else
#else
mrs
tmp1
,
sctlr_el1
mrs
tmp1
,
sctlr_el1
...
...
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