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:
gdisirio 2014-09-13 08:34:56 +00:00
parent 1e928debb3
commit 9349fd22d3
1 changed files with 2 additions and 0 deletions

View File

@ -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);