SVC Functions in RTX (Arm Compiler v6)

Hi guys,

I've recently adopted the Arm Compiler version 6. I'm using the RTX OS and I need to write some SVC functions as described in the following link:

https://www.keil.com/pack/doc/CMSIS_Dev/RTOS2/html/theory_of_operation.html#CMSIS_RTOS_svcFunctions

In the Arm Compiler v5 it was easier to write a SVC function wrapper as compared to the 6 version.

I'm very little experience in assembler language, is there an application note to understand how to write a SVC function wrapper starting from a SVC Handler (c function) ?

Thanks for your help,

Flavio

Parents
  • Are you saying that you need to write new routines for the SVC 0 entry point, i.e. ADD 'system calls' to the RTX kernel itself? Or do you just want to add new C routines to fire on e.g. SVC 1, SVC 2 calls? I have done both, and can share appropriate code as necessary. I do use GCC though, not the ARM compiler.

    Stuart

Reply
  • Are you saying that you need to write new routines for the SVC 0 entry point, i.e. ADD 'system calls' to the RTX kernel itself? Or do you just want to add new C routines to fire on e.g. SVC 1, SVC 2 calls? I have done both, and can share appropriate code as necessary. I do use GCC though, not the ARM compiler.

    Stuart

Children