Skip to content
Snippets Groups Projects

Add new features for supporting OS based architecture

Closed Darryl Green requested to merge github/fork/vingu-linaro/add-new-features into master
  1. May 10, 2022
    • vingu-linaro's avatar
      fwk: Add stop sequence · 4df9b0b2
      vingu-linaro authored
      
      When the scp is running as an application or sub-system, there is a need to
      terminate the process gracefully. Let introduce the deinit and stop
      sequence to allow the modules and their elements to cleanup and release
      resources before terminating the process
      
      Add a new fwk_arch_deinit() to loop on modules and stop them.
      
      Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
      4df9b0b2
    • vingu-linaro's avatar
      fwk: Add support of OS atomic operation · c4d6309b
      vingu-linaro authored
      Update the interface of fwk_interrupt_global_{enable|disable} functions to
      save and restore the current interrupt state.
      
      Add a new framework interface to get current interrupt context state:
      - fwk_is_interrupt_context()
      
      No functional change expected to current arch.
      
      Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>new atomic
      c4d6309b
  2. May 06, 2022
    • vingu-linaro's avatar
      arch: Remove infinite loop from arch_init · f1c6fea2
      vingu-linaro authored
      
      Some architectures don't want to loop indefinitly in the same context of
      the initialization. Let architecture decides if it wants to stay in the
      initialization context or finish processing the events raised during
      init and return.
      
      No functional changes expected for current arch.
      
      fwk_process_event_queue() can then be called to process the pending events.
      
      Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
      f1c6fea2