Re: [Qemu-devel] GNU ARM Eclipse QEMU: Use BASEPRI to disable interrupts on Cortex-M

2016-07-25 Thread Peter Maydell
On 25 July 2016 at 13:37, Liviu Ionescu wrote: > If someone is planing to properly implement BASEPRI in QEMU, > my patches can be used as a starting point. > (https://github.com/gnuarmeclipse/qemu/issues/21) I have a feeling this is addressed by Michael Davidsaver's NVIC

[Qemu-devel] GNU ARM Eclipse QEMU: Use BASEPRI to disable interrupts on Cortex-M

2016-07-25 Thread Liviu Ionescu
Most of the development of my µOS++ / CMSIS++ RTOS was done on GNU ARM Eclipse QEMU and/or as a 64-bits user process on macOS. However, on QEMU, initially I encountered some strange behaviour when configuring the critical sections to use BASEPRI; when using DI/EI everything was fine. These