assert: add regs parameter to board_crashdump function

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
zhangyuan21
2023-06-08 16:39:09 +08:00
committed by Xiang Xiao
parent acddda812c
commit 6c38c44af2
7 changed files with 7 additions and 7 deletions
@@ -100,7 +100,7 @@ static void copy_reverse(stack_word_t *dest, stack_word_t *src, int size)
void board_crashdump(uintptr_t sp, struct tcb_s *tcb,
const char *filename, int lineno,
const char *msg)
const char *msg, FAR void *regs)
{
fullcontext_t *pdump;
@@ -381,7 +381,7 @@ int stm32_bbsram_int(void)
#if defined(CONFIG_STM32_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t sp, struct tcb_s *tcb,
const char *filename, int lineno,
const char *msg)
const char *msg, FAR void *regs)
{
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
int rv;
@@ -381,7 +381,7 @@ int stm32_bbsram_int(void)
#if defined(CONFIG_STM32F7_SAVE_CRASHDUMP)
void board_crashdump(uintptr_t sp, struct tcb_s *tcb,
const char *filename, int lineno,
const char *msg)
const char *msg, FAR void *regs)
{
fullcontext_t *pdump = (fullcontext_t *)&g_sdata;
int rv;