Sunil Hegde commented on a discussion on bsps/sparc/shared/gnatcommon.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120820

 >          rtems_interrupt_catch (__gnat_interrupt_handler, trap, 
 > &previous_isr);
 >      }
 >        else if ((trap != 5 && trap != 6) && ((trap < 0x70) || (trap > 0x83)))
 > -    set_vector (__gnat_exception_handler, SPARC_SYNCHRONOUS_TRAP (trap), 1);
 > +  rtems_interrupt_catch (__gnat_exception_handler, SPARC_SYNCHRONOUS_TRAP 
 > (trap), &previous_isr);
 > +  
 > +  if (SPARC_IS_INTERRUPT_TRAP(SPARC_SYNCHRONOUS_TRAP (trap))) 
 > +  {
 > +    uint32_t source = SPARC_INTERRUPT_TRAP_TO_SOURCE(SPARC_SYNCHRONOUS_TRAP 
 > (trap));
 > +    ERC32_Clear_interrupt(source);
 > +    ERC32_Unmask_interrupt(source);
 > +  }

ok i tried making a new file for the said helper function, it builds without 
warnings or errors while compiling and this is the test result
[test.txt](/uploads/cc22e468660bcf525653d7197f77493a/test.txt)
i guess one test failing because of my computer's hardware

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120820
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to