Re: [Qemu-devel] [Bug 1428657] Re: qemu-system-arm does not ignore the lowest bit of pc when returning from interrrupt

2015-03-13 Thread Anders Esbensen
I've tested the patch against the FreeRTOS example. An the patch seems to make the example run. The FreeRTOS sample now crash for other reasons. But I consider the issue resolved. /Anders On 03/12/2015 02:45 PM, Peter Maydell wrote: Proposed patch: http://patchwork.ozlabs.org/patch/449400/

[Qemu-devel] [Bug 1428657] Re: qemu-system-arm does not ignore the lowest bit of pc when returning from interrrupt

2015-03-08 Thread Anders Esbensen
Yes the situation I'm describing is the bx 0xfffx case. I see that the article I'm referring to, actually only describes the behaviour of branches and in ISR vector. Searching a bit more I see this: Cortex™-M3 Technical Reference Manual Revision: r1p1 Home Programmer’s Model Registers

[Qemu-devel] [Bug 1428657] [NEW] qemu-system-arm does not ignore the lowest bit of pc when returning from interrrupt

2015-03-05 Thread Anders Esbensen
Public bug reported: This was observed in qemu v2.1.3, running a sample app from FreeRTOS(FreeRTOSV7.5.2/FreeRTOS/Demo/CORTEX_LM3S_Eclipse/RTOSDemo) In the sample code compiled with arm-none-eabi-gcc , version 4.8.2 (4.8.2-14ubuntu1+6) . qemu seems to be executing the wrong instrunction