arm/arm_assert.c Fix dumping of status from ISR
The status dump did not work if the first fault triggers before the first context switch (during nx_start()).
This commit is contained in:
parent
7ac2d3a5ac
commit
5c951d8c4a
@ -366,8 +366,7 @@ static void arm_dumpstate(void)
|
|||||||
|
|
||||||
if (CURRENT_REGS)
|
if (CURRENT_REGS)
|
||||||
{
|
{
|
||||||
memcpy(rtcb->xcp.regs,
|
rtcb->xcp.regs = (uint32_t *)CURRENT_REGS;
|
||||||
(uintptr_t *)CURRENT_REGS, XCPTCONTEXT_SIZE);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user