diff options
author | Soby Mathew <soby.mathew@arm.com> | 2014-08-14 13:36:41 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-08-20 19:14:31 +0100 |
commit | d3f70af6e09d669da9c7d7890b7af5a0cdc4b3a5 (patch) | |
tree | 30c78c0c34a461ddc00ec1d1828ea5c53abbeb8d /include/lib/cpus/aarch64/cpu_macros.S | |
parent | add403514d0f792b9df3c81006cd9a9395b213f6 (diff) |
Add CPU specific crash reporting handlers
This patch adds handlers for dumping Cortex-A57 and Cortex-A53 specific register
state to the CPU specific operations framework. The contents of CPUECTLR_EL1 are
dumped currently.
Change-Id: I63d3dbfc4ac52fef5e25a8cf6b937c6f0975c8ab
Diffstat (limited to 'include/lib/cpus/aarch64/cpu_macros.S')
-rw-r--r-- | include/lib/cpus/aarch64/cpu_macros.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/cpu_macros.S b/include/lib/cpus/aarch64/cpu_macros.S index abe8973f..65fb82d6 100644 --- a/include/lib/cpus/aarch64/cpu_macros.S +++ b/include/lib/cpus/aarch64/cpu_macros.S @@ -50,6 +50,10 @@ CPU_PWR_DWN_CORE: /* cpu_ops core_pwr_dwn */ CPU_PWR_DWN_CLUSTER: /* cpu_ops cluster_pwr_dwn */ .space 8 #endif +#if (IMAGE_BL31 && CRASH_REPORTING) +CPU_REG_DUMP: /* cpu specific register dump for crash reporting */ + .space 8 +#endif CPU_OPS_SIZE = . /* @@ -72,4 +76,7 @@ CPU_OPS_SIZE = . .quad \_name\()_core_pwr_dwn .quad \_name\()_cluster_pwr_dwn #endif +#if (IMAGE_BL31 && CRASH_REPORTING) + .quad \_name\()_cpu_reg_dump +#endif .endm |