SVC_Handler()

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

SVC_Handler()

Post by steved »

Should SVC_Handler() (on F767) be called in "normal" use? It's being accessed regularly in my system. The PM suggests that it requires an explicit call, but haven't managed to find any so far.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: SVC_Handler()

Post by Giovanni »

Hi,

It is used in the IRQ exit sequence for MSP unstacking, see the ARMCMx port.

On the ARMv7-M port it is possible to use it also for system calls, it is leveraged by sandboxes.

Giovanni
Post Reply