| 1 |
/* |
| 2 |
* Copyright (c) 2022, Fujitsu Limited and Contributors. All rights reserved. |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: BSD-3-Clause |
| 5 |
*/ |
| 6 |
#include <arch.h> |
| 7 |
#include <asm_macros.S> |
| 8 |
#include <assert_macros.S> |
| 9 |
#include <a64fx.h> |
| 10 |
#include <cpu_macros.S> |
| 11 |
#include <plat_macros.S> |
| 12 |
|
| 13 |
func a64fx_core_pwr_dwn |
| 14 |
endfunc a64fx_core_pwr_dwn |
| 15 |
|
| 16 |
func a64fx_cluster_pwr_dwn |
| 17 |
endfunc a64fx_cluster_pwr_dwn |
| 18 |
|
| 19 |
/* --------------------------------------------- |
| 20 |
* This function provides cpu specific |
| 21 |
* register information for crash reporting. |
| 22 |
* It needs to return with x6 pointing to |
| 23 |
* a list of register names in ascii and |
| 24 |
* x8 - x15 having values of registers to be |
| 25 |
* reported. |
| 26 |
* --------------------------------------------- |
| 27 |
*/ |
| 28 |
.section .rodata.a64fx_regs, "aS" |
| 29 |
a64fx_regs: /* The ascii list of register names to be reported */ |
| 30 |
.asciz "" |
| 31 |
|
| 32 |
func a64fx_cpu_reg_dump |
| 33 |
adr x6, a64fx_regs |
| 34 |
ret |
| 35 |
endfunc a64fx_cpu_reg_dump |
| 36 |
|
| 37 |
declare_cpu_ops a64fx, A64FX_MIDR, CPU_NO_RESET_FUNC \ |
| 38 |
a64fx_core_pwr_dwn, \ |
| 39 |
a64fx_cluster_pwr_dwn |
| 40 |
|