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
a5ac37e7
Commit
a5ac37e7
authored
5 years ago
by
Paul Beesley
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Move assembly newline function into common debug code" into integration
parents
3441952f
53d7e003
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bl31/aarch64/crash_reporting.S
+2
-10
bl31/aarch64/crash_reporting.S
common/aarch64/debug.S
+10
-0
common/aarch64/debug.S
with
12 additions
and
10 deletions
+12
-10
bl31/aarch64/crash_reporting.S
View file @
a5ac37e7
...
...
@@ -61,14 +61,6 @@ excpt_msg:
intr_excpt_msg
:
.
asciz
"Unhandled Interrupt Exception in EL3.\nx30"
/
*
*
Helper
function
to
print
newline
to
console
.
*/
func
print_newline
mov
x0
,
'\n'
b
plat_crash_console_putc
endfunc
print_newline
/
*
*
Helper
function
to
print
from
crash
buf
.
*
The
print
loop
is
controlled
by
the
buf
size
and
...
...
@@ -101,7 +93,7 @@ test_size_list:
bl
print_alignment
ldr
x4
,
[
x7
],
#
REGSZ
bl
asm_print_hex
bl
print_newline
bl
asm_
print_newline
b
test_size_list
exit_size_print
:
mov
x30
,
sp
...
...
@@ -253,7 +245,7 @@ func do_crash_reporting
/
*
report
x30
first
from
the
crash
buf
*/
ldr
x4
,
[
x0
,
#
REGSZ
*
7
]
bl
asm_print_hex
bl
print_newline
bl
asm_
print_newline
/
*
Load
the
crash
buf
address
*/
mrs
x0
,
tpidr_el3
/
*
Now
mov
x7
into
crash
buf
*/
...
...
This diff is collapsed.
Click to expand it.
common/aarch64/debug.S
View file @
a5ac37e7
...
...
@@ -11,6 +11,7 @@
.
globl
asm_print_str
.
globl
asm_print_hex
.
globl
asm_print_hex_bits
.
globl
asm_print_newline
.
globl
asm_assert
.
globl
do_panic
...
...
@@ -130,6 +131,15 @@ asm_print_hex_bits:
ret
x3
endfunc
asm_print_hex
/*
*
Helper
function
to
print
newline
to
console
*
Clobber
:
x0
*/
func
asm_print_newline
mov
x0
,
'\n'
b
plat_crash_console_putc
endfunc
asm_print_newline
/**********************************************************
*
*
The
common
implementation
of
do_panic
for
all
BL
stages
***********************************************************/
...
...
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