This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is SVC pendable on cortex-m?

Hey.

I read ARMv7-M Arch manual.

SHCSR register have SVCALLPENDED bit.

So that, It seem SVC is pendable.

But, 'Priority escalation' is written,

When the group priority of a pending synchronous fault or supervisor call is lower than or equal to the
currently executing priority, inhibiting normal preemption. This applies to all synchronous exceptions, both
faults and SVCalls.

This seem SVC is not pendable.

Is SVC pendable? If true, how behaver?

Parents
  • SVC can become pended in the case SVC instruction is executed, and during exception entry to SVC handler, another interrupt at higher priority arrived and therefore the late arrival interrupt is serviced first. During servicing of the higher priority interrupt, the SVC is pended.

    regards,

    Joseph

Reply
  • SVC can become pended in the case SVC instruction is executed, and during exception entry to SVC handler, another interrupt at higher priority arrived and therefore the late arrival interrupt is serviced first. During servicing of the higher priority interrupt, the SVC is pended.

    regards,

    Joseph

Children