Re: Exception return

2021-12-16 Thread Peter Maydell
On Thu, 16 Dec 2021 at 20:07, abhijeet inamdar wrote: > > If I won't make that change it gives me immediate error as follows: > > Taking exception 18 [v7M INVSTATE UsageFault] > ...BusFault with BFSR.STKERR > ...taking pending nonsecure exception 3 > qemu: fatal: Lockup: can't take terminal derive

Re: Exception return

2021-12-16 Thread abhijeet inamdar
38d R01= R02=7004938c R03= >> > > R04=7005e410 R05=10020000 R06=e000eda0 R07= >> > > R08=0010 R09=1003f8e0 R10=e000ed94 R11= >> > > R12= R13=1003dbe0 R14=fff9 R15=7004e794 >> > > XPSR=0103 --

Re: Exception return

2021-12-16 Thread abhijeet inamdar
: 0x7f4faa471100 [/7004e794/0x312000c1] Hal_MemFault > > > R00=7004938d R01= R02=7004938c R03= > > > R04=7005e410 R05=1002 R06=e000eda0 R07= > > > R08=0010 R09=1003f8e0 R10=e000ed94 R11= > > > R12=ffff R13=1003dbe

Re: Exception return

2021-12-16 Thread Peter Maydell
4=7005e410 R05=1002 R06=e000eda0 R07= > > R08=0010 R09=1003f8e0 R10=e000ed94 R11= > > R12= R13=1003dbe0 R14=fff9 R15=7004e794 > > XPSR=0103 T handler > > Taking exception 8 [QEMU v7M exception exit] > > Exception return: magi

Re: Exception return

2021-12-16 Thread Philippe Mathieu-Daudé
e0 R14=fff9 R15=7004e794 > XPSR=0103 T handler > Taking exception 8 [QEMU v7M exception exit] > Exception return: magic PC fff9 previous exception 3 > M profile return from interrupt with misaligned PC is UNPREDICTABLE on v7M > ...successful exception return

Re: Exception return

2021-12-16 Thread abhijeet inamdar
ed94 R11= > R12= R13=1003dbe0 R14=fff9 R15=7004e794 > XPSR=0103 T handler > Taking exception 8 [QEMU v7M exception exit] > Exception return: magic PC fff9 previous exception 3 > M profile return from interrupt with misaligned PC is UNPREDICTABL

Exception return

2021-12-16 Thread abhijeet inamdar
= R02=7004938c R03= R04=7005e410 R05=1002 R06=e000eda0 R07= R08=0010 R09=1003f8e0 R10=e000ed94 R11= R12= R13=1003dbe0 R14=fff9 R15=7004e794 XPSR=0103 T handler Taking exception 8 [QEMU v7M exception exit] Exception return: magic PC fff9