Re: [PATCH v2] ARMv7M: Fix exception handler for supporting FPU

2015-08-31 Thread Gedare Bloom
Please add "closes #2401." as a line in your commit message if you do'nt mind. On Mon, Aug 31, 2015 at 9:52 AM, Martin Galvan wrote: > By the way, I noticed there wasn't a ticket yet for this bug, so I > created one (#2401). You can view it here: > > https://devel.rtems.org/ticket/2401 >

Re: [PATCH v2] ARMv7M: Fix exception handler for supporting FPU

2015-08-31 Thread Martin Galvan
By the way, I noticed there wasn't a ticket yet for this bug, so I created one (#2401). You can view it here: https://devel.rtems.org/ticket/2401 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH v2] ARMv7M: Fix exception handler for supporting FPU

2015-08-28 Thread Martin Galvan
On exception entry, _ARMV7M_Exception_default stores the previous Stack Pointer in a CPU_Exception_frame. The SP can be MSP or PSP, depending on the mode in which the exception was taken. To know this we must check the value of LR. Right now the code checks whether it should store MSP or PSP by co