riscv/xtensa: corrent dumpstate xcp size
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
a14ed02571
commit
634d337394
@ -320,7 +320,7 @@ static void riscv_dumpstate(void)
|
||||
if (CURRENT_REGS)
|
||||
{
|
||||
memcpy(rtcb->xcp.regs,
|
||||
(uintptr_t *)CURRENT_REGS, XCPTCONTEXT_REGS);
|
||||
(uintptr_t *)CURRENT_REGS, XCPTCONTEXT_SIZE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -288,7 +288,7 @@ void xtensa_dumpstate(void)
|
||||
if (CURRENT_REGS)
|
||||
{
|
||||
memcpy(rtcb->xcp.regs,
|
||||
(uintptr_t *)CURRENT_REGS, XCPTCONTEXT_REGS);
|
||||
(uintptr_t *)CURRENT_REGS, XCPTCONTEXT_SIZE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user