]> begriffs open source - freertos/commit
Update ARM_CRx_No_GIC port (#1101)
authorRahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Mon, 22 Jul 2024 15:35:17 +0000 (21:05 +0530)
committerGitHub <noreply@github.com>
Mon, 22 Jul 2024 15:35:17 +0000 (21:05 +0530)
commit5588ae68c8c78e5903e3ed030998238534606b5c
tree9eef756fb1ece1232e0a966daa8d75cb1a2e6a8d
parent0452603a943e13d27e7117f7112c4dd000748705
Update ARM_CRx_No_GIC port (#1101)

This PR makes the following improvements to the ARM_CRx_No_GIC port-

1. Remove inline assembly and move all the assembly code to the portASM.S
    file.

2. Add support for configUSE_TASK_FPU_SUPPORT -
   - When configUSE_TASK_FPU_SUPPORT is defined to 1, tasks are created
      without floating point context. Tasks that want to use floating point, need
      to call portTASK_USES_FLOATING_POINT(). This is the current behavior.
   - When configUSE_TASK_FPU_SUPPORT is defined to 2, each task is created
      with a floating point context.
  If left undefined, configUSE_TASK_FPU_SUPPORT defaults to 1 for backward compatibility.

3. The application writer can now implement vApplicationSVCHandler to handle the
    SVC calls raised within the application. SVC 0 is used for the yield kernel operation
    and the application can use all the SVC calls other than 0.

Signed-off-by: kar-rahul-aws <karahulx@amazon.com>
portable/GCC/ARM_CRx_No_GIC/port.c
portable/GCC/ARM_CRx_No_GIC/portASM.S
portable/GCC/ARM_CRx_No_GIC/portmacro.h