Rework the crash reporting in BL3-1 to use less stack
This patch reworks the crash reporting mechanism to further
optimise the stack and code size. The reporting makes use
of assembly console functions to avoid calling C Runtime
to report the CPU state. The crash buffer requirement is
reduced to 64 bytes with this implementation. The crash
buffer is now part of per-cpu data which makes retrieving
the crash buffer trivial.

Also now panic() will use crash reporting if
invoked from BL3-1.

Fixes ARM-software/tf-issues#199

Change-Id: I79d27a4524583d723483165dc40801f45e627da5
1 parent bc92012 commit 626ed510f179c905a699f4663ee933c10892b4c3
@Soby Mathew Soby Mathew authored on 25 Jun 2014
Showing 11 changed files
View
Makefile
View
bl31/aarch64/bl31_entrypoint.S
View
bl31/aarch64/crash_reporting.S
View
bl31/aarch64/runtime_exceptions.S
View
bl31/cpu_data_array.c
View
common/aarch64/assert.S 100644 → 0
View
common/aarch64/debug.S 0 → 100644
View
common/debug.c 100644 → 0
View
include/bl31/cpu_data.h
View
include/common/debug.h
View
plat/fvp/include/plat_macros.S