mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
feat(plat/rcar3): add process to back up X6 and X7 register's value
Because the x6 and x7 registers will be overwritten by the callee function, added the processing the register's value push to/pop from stack memory. Signed-off-by: Hideyuki Nitta <hideyuki.nitta.jf@hitachi.com> Signed-off-by: Toshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com> Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com> Change-Id: I5351a008d3b208a30a8bc8651b8d9b4d1a02a8e8
This commit is contained in:
parent
d10f87674e
commit
7d58aed3b0
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2015-2019, Renesas Electronics Corporation. All rights reserved.
|
||||
* Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -284,7 +284,11 @@ func plat_crash_console_putc
|
|||
str x3, [sp, #-16]!
|
||||
str x4, [sp, #-16]!
|
||||
str x5, [sp, #-16]!
|
||||
str x6, [sp, #-16]!
|
||||
str x7, [sp, #-16]!
|
||||
bl console_rcar_putc
|
||||
ldr x7, [sp], #16
|
||||
ldr x6, [sp], #16
|
||||
ldr x5, [sp], #16
|
||||
ldr x4, [sp], #16
|
||||
ldr x3, [sp], #16
|
||||
|
|
Loading…
Add table
Reference in a new issue