diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-08-28 15:44:47 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-31 15:41:33 -0700 |
commit | f3de461a35b4668f16e6a75ef1211208615155a3 (patch) | |
tree | 07127dc7c470403338d6617fcf74be528132a409 /include/panic.h | |
parent | f898c4b4a74efa0b1235461fdb8a6744aba6d7c8 (diff) | |
download | chrome-ec-f3de461a35b4668f16e6a75ef1211208615155a3.tar.gz |
Place panic data and stack at end of RAM
This is in preparation for saving panic data across reboots for later
retrieval.
BUG=chrome-os-partner:7466
TEST='crash divzero' or 'crash unaligned'; should print dump and reboot
BRANCH=all
Change-Id: I997d160b00d03759eb9c69b53ab0f7a5ae144183
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/31951
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/panic.h')
-rw-r--r-- | include/panic.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/panic.h b/include/panic.h index d22a0e11be..ecf6eb0232 100644 --- a/include/panic.h +++ b/include/panic.h @@ -76,16 +76,6 @@ void panic_assert_fail(const char *msg, const char *func, const char *fname, void panic(const char *msg); /** - * Report a panic to the panic reporting device - * - * This is exported only to permit use from assembler. - * - * @param msg Panic message - * @param lregs Registers from the exception: psp, ipsr, lr, r4-r11 - */ -void report_panic(const char *msg, uint32_t *lregs); - -/** * Enable/disable bus fault handler * * @param ignored Non-zero if ignoring bus fault |