From 83105cfa49b8659cd952ea63ada84d5db770b66f Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Thu, 1 Jun 2023 15:39:50 +0300 Subject: [PATCH] sched/assert: Store table for all registers instead of buffer This way the registers can be read easily --- sched/misc/assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/misc/assert.c b/sched/misc/assert.c index 54c3be3f84..60cb14dc34 100644 --- a/sched/misc/assert.c +++ b/sched/misc/assert.c @@ -72,7 +72,7 @@ * Private Data ****************************************************************************/ -static uint8_t g_last_regs[XCPTCONTEXT_SIZE] aligned_data(16); +static uintptr_t g_last_regs[XCPTCONTEXT_REGS] aligned_data(16); #ifdef CONFIG_BOARD_COREDUMP static struct lib_syslogstream_s g_syslogstream;