More on bug #513.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7266 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
1e928debb3
commit
9349fd22d3
|
@ -136,7 +136,9 @@ void _port_irq_epilogue(void) {
|
|||
|
||||
/* Setting up a fake XPSR register value.*/
|
||||
ctxp->xpsr = (regarm_t)0x01000000;
|
||||
#if CORTEX_USE_FPU
|
||||
ctxp->fpscr = (regarm_t)FPU->FPDSCR;
|
||||
#endif
|
||||
|
||||
/* Writing back the modified PSP value.*/
|
||||
__set_PSP((uint32_t)ctxp);
|
||||
|
|
Loading…
Reference in New Issue