arch: arm64: Dump registers content on fatal error

Extend the ESF structure and dump the most important registers in the
error exception handler.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2020-01-20 16:14:17 +01:00 committed by Anas Nashif
commit 3aef85458d
7 changed files with 52 additions and 15 deletions

View file

@ -26,10 +26,7 @@ extern "C" {
struct __esf {
struct __basic_sf {
u64_t x0;
u64_t x1;
u64_t x2;
u64_t x3;
u64_t regs[20];
} basic;
};