[Qemu-devel] [Bug 657006] Re: arm v7M - svc insn doesn't trigger PendSV handler

2011-03-07 Thread jb
Issue "solved". In freeRtos, for the first "context switch" (launch the first task), the register pc is written with an adress with le bit0 equal to 1 (thumb). If I change this and set bit0 to 0 (new_pc = task_to_start_pointer & 0xfffe), it is working well. I do not know yet (i will try next w

[Qemu-devel] [Bug 657006] Re: arm - svc instruction

2010-10-08 Thread jb
I made a mistake, there are 2 irq : 11 and 15 and best_irq = 11 after svc call So it should launch vPortSVCHandler but it does not. -- arm - svc instruction https://bugs.launchpad.net/bugs/657006 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

[Qemu-devel] [Bug 657006] [NEW] arm - svc instruction

2010-10-08 Thread jb
Public bug reported: The svc instruction doesn't work as expected. -> qemu 0.13.0 rc1 (git) Test : demo with freeRTOS (for example FreeRTOS-6.0.5/Demo/CORTEX_LM3S811_GCC) with the card lm3s811evb. If we start the scheduler, it will call that function (__attribute__ (( naked ))) : void vPortSta