1. 20 Nov, 2018 1 commit
    • Damien George's avatar
      leon: Make sparc_install_ta_3_window_flush_isr always available. · de6f590c
      Damien George authored
      The header sparcisr.h is part of the ABI and may be included by code which
      does not define RTEMS_4_8_EDISOFT yet uses 4.8 Edisoft.  In such cases the
      definition of sparc_install_ta_3_window_flush_isr will be inconsistent.  So
      just make this function always available, and provide the correct
      definition in the .c file (which must have RTEMS_4_8_EDISOFT defined if
      that toolchain is used).
      de6f590c
  2. 27 Nov, 2017 1 commit
    • Damien George's avatar
      leon: Provide custom window-flush ISR and function to install it. · e9a2849e
      Damien George authored
      This adds the standard window-flush ISR to Edisoft RTEMS 4.8 builds,
      allowing the custom SPARC setjmp/longjmp implementation to use "ta 3" to
      instigate a window flush.  For non-Edisoft builds "ta 3" can be used
      without any special additions because it already exists.  For Edisoft
      builds the function sparc_install_ta_3_window_flush_isr() must be called
      before any MicroPython functions are called, in order to install the custom
      handler.
      
      With this patch the implementation of sparc_window_flush_trap_handler
      matches the standard implementation.
      e9a2849e