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
885b7c85
Unverified
Commit
885b7c85
authored
Feb 16, 2018
by
davidcunado-arm
Committed by
GitHub
Feb 16, 2018
Browse files
Merge pull request #1267 from jeenu-arm/console-fix
ARM platforms: Fix console address for flush
parents
aedbc7b9
f2c83c1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/arm/common/aarch32/arm_helpers.S
View file @
885b7c85
/*
*
Copyright
(
c
)
2016
-
201
7
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2016
-
201
8
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -68,10 +68,10 @@ endfunc plat_crash_console_putc
*
Function
to
force
a
write
of
all
buffered
*
data
that
hasn
't been output.
*
Out
:
return
-
1
on
error
else
return
0
.
*
Clobber
list
:
r0
-
r1
*
Clobber
list
:
r0
*
---------------------------------------------
*/
func
plat_crash_console_flush
ldr
r
1
,
=
PLAT_ARM_CRASH_UART_BASE
ldr
r
0
,
=
PLAT_ARM_CRASH_UART_BASE
b
console_core_flush
endfunc
plat_crash_console_flush
plat/arm/common/aarch64/arm_helpers.S
View file @
885b7c85
/*
*
Copyright
(
c
)
2015
-
201
7
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
Copyright
(
c
)
2015
-
201
8
,
ARM
Limited
and
Contributors
.
All
rights
reserved
.
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
...
...
@@ -70,11 +70,11 @@ endfunc plat_crash_console_putc
*
Function
to
force
a
write
of
all
buffered
*
data
that
hasn
't been output.
*
Out
:
return
-
1
on
error
else
return
0
.
*
Clobber
list
:
r0
-
r1
*
Clobber
list
:
r0
*
---------------------------------------------
*/
func
plat_crash_console_flush
mov_imm
x
1
,
PLAT_ARM_CRASH_UART_BASE
mov_imm
x
0
,
PLAT_ARM_CRASH_UART_BASE
b
console_core_flush
endfunc
plat_crash_console_flush
...
...
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