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

Difference between SWI and SVC

Hi Experts,

In RTX RTOS I could find some functions based on SVC and SWI handlers. What do they actually mean for ?

Where it is actually used ?

Parents
  • They're the same thing, SWI is the older name and stood for software interrupt.

    SVC stands for supervisor call and that's what it is for. It is there so user programs can call a system routine like open a file or read data. Those routines need extra privilege and SVC switches to a more privileged mode where such things can be done.

Reply
  • They're the same thing, SWI is the older name and stood for software interrupt.

    SVC stands for supervisor call and that's what it is for. It is there so user programs can call a system routine like open a file or read data. Those routines need extra privilege and SVC switches to a more privileged mode where such things can be done.

Children