aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-04-17 15:42:46 +0100
committerdanh-arm <dan.handley@arm.com>2015-04-17 15:42:46 +0100
commit6403a306664a9cca92f413500e5389cae77dd816 (patch)
tree62fdeb1202d340c3a4740e35d93e4b7b9062caed
parentda85170d9a7ed1ea97df8f647afce6c8ceabe33c (diff)
parent6fa11a5e99aac3eca9d1a02c99e09c5071a2e10c (diff)
Merge pull request #290 from soby-mathew/sm/AEM_crash_report_fix
Fix recursive crash prints on FVP AEM model
-rw-r--r--lib/cpus/aarch64/aem_generic.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/cpus/aarch64/aem_generic.S b/lib/cpus/aarch64/aem_generic.S
index ee53058..0ab5253 100644
--- a/lib/cpus/aarch64/aem_generic.S
+++ b/lib/cpus/aarch64/aem_generic.S
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2015, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -79,8 +79,12 @@ endfunc aem_generic_cluster_pwr_dwn
* reported.
* ---------------------------------------------
*/
+.section .rodata.aem_generic_regs, "aS"
+aem_generic_regs: /* The ascii list of register names to be reported */
+ .asciz "" /* no registers to report */
+
func aem_generic_cpu_reg_dump
- mov x6, #0 /* no registers to report */
+ adr x6, aem_generic_regs
ret
endfunc aem_generic_cpu_reg_dump