Menu

#18 Shouldn’t inhibit interrupts in interrupt-handling PO

closed
None
2016-06-21
2016-05-04
No

System.Tasking.Protected_Objects.Lock says

  if FreeRTOS.Tasks.In_ISR then
     null;
  elsif Object.Ceiling in System.Interrupt_Priority then
     FreeRTOS.Tasks.Disable_Interrupts;
  else

but the correct call to prevent interactions with interrupts would be FreeRTOS.Tasks.Enter_Critical_Region. This raises BASEPRI to configMAX_SYSCALL_INTERRUPT_PRIORITY and locks out all FreeRTOS functionality, while allowing interrupts at higher (numerically lower on Cortex) priority to proceed.

Discussion

  • Simon Wright

    Simon Wright - 2016-05-13
    • assigned_to: Simon Wright
     
  • Simon Wright

    Simon Wright - 2016-05-13
    • status: open --> pending
     
  • Simon Wright

    Simon Wright - 2016-05-13

    Fixed in [a8d301].

     

    Related

    Commit: [a8d301]

  • Simon Wright

    Simon Wright - 2016-06-21
    • status: pending --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.