Rework the crash reporting in BL3-1 to use less stack
authorSoby Mathew <soby.mathew@arm.com>
Wed, 25 Jun 2014 09:07:40 +0000 (10:07 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Mon, 28 Jul 2014 10:03:20 +0000 (11:03 +0100)
commit626ed510f179c905a699f4663ee933c10892b4c3
treea9328fb3d8a00b2f065be0e91ba225e46968247a
parentbc9201289c9ae4ccfc6b11048431d47eba547a44
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
Makefile
bl31/aarch64/bl31_entrypoint.S
bl31/aarch64/crash_reporting.S
bl31/aarch64/runtime_exceptions.S
bl31/cpu_data_array.c
common/aarch64/assert.S [deleted file]
common/aarch64/debug.S [new file with mode: 0644]
common/debug.c [deleted file]
include/bl31/cpu_data.h
include/common/debug.h
plat/fvp/include/plat_macros.S