Re: [Qemu-devel] [PATCH v2 05/26] armv7m: add armv7m_excp_running_prio()

2015-12-28 Thread Peter Maydell
On 27 December 2015 at 20:56, Michael Davidsaver wrote: > On 12/17/2015 09:36 AM, Peter Maydell wrote: >> On 3 December 2015 at 00:18, Michael Davidsaver >> wrote: >>> Implements v7m exception priority algorithm >>> using FAULTMASK, PRIMASK,

Re: [Qemu-devel] [PATCH v2 05/26] armv7m: add armv7m_excp_running_prio()

2015-12-27 Thread Michael Davidsaver
On 12/17/2015 09:36 AM, Peter Maydell wrote: > On 3 December 2015 at 00:18, Michael Davidsaver wrote: >> Implements v7m exception priority algorithm >> using FAULTMASK, PRIMASK, BASEPRI, and the highest >> priority active exception. >> >> The number returned is the current

Re: [Qemu-devel] [PATCH v2 05/26] armv7m: add armv7m_excp_running_prio()

2015-12-17 Thread Peter Maydell
On 3 December 2015 at 00:18, Michael Davidsaver wrote: > Implements v7m exception priority algorithm > using FAULTMASK, PRIMASK, BASEPRI, and the highest > priority active exception. > > The number returned is the current execution priority > which may be in the range

[Qemu-devel] [PATCH v2 05/26] armv7m: add armv7m_excp_running_prio()

2015-12-02 Thread Michael Davidsaver
Implements v7m exception priority algorithm using FAULTMASK, PRIMASK, BASEPRI, and the highest priority active exception. The number returned is the current execution priority which may be in the range [-2,0x7f] when an exception is active or 0x100 when no exception is active. ---