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
6cdd55d1
Commit
6cdd55d1
authored
Mar 19, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Mar 19, 2020
Browse files
Merge "el3_entrypoint_common: avoid overwriting arg3" into integration
parents
f097fb70
30f31005
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/arch/aarch32/el3_common_macros.S
View file @
6cdd55d1
/*
/*
*
Copyright
(
c
)
2016
-
20
19
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2016
-
20
20
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
*/
...
@@ -329,6 +329,11 @@
...
@@ -329,6 +329,11 @@
bl
inv_dcache_range
bl
inv_dcache_range
#endif
#endif
/
*
*
zeromem
uses
r12
whereas
it
is
used
to
save
previous
BL
arg3
,
*
save
it
in
r7
*/
mov
r7
,
r12
ldr
r0
,
=
__BSS_START__
ldr
r0
,
=
__BSS_START__
ldr
r1
,
=
__BSS_SIZE__
ldr
r1
,
=
__BSS_SIZE__
bl
zeromem
bl
zeromem
...
@@ -339,6 +344,9 @@
...
@@ -339,6 +344,9 @@
bl
zeromem
bl
zeromem
#endif
#endif
/
*
Restore
r12
*/
mov
r12
,
r7
#if defined(IMAGE_BL1) || (defined(IMAGE_BL2) && BL2_AT_EL3 && BL2_IN_XIP_MEM)
#if defined(IMAGE_BL1) || (defined(IMAGE_BL2) && BL2_AT_EL3 && BL2_IN_XIP_MEM)
/
*
-----------------------------------------------------
/
*
-----------------------------------------------------
*
Copy
data
from
ROM
to
RAM
.
*
Copy
data
from
ROM
to
RAM
.
...
...
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